Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

mkl_graph_vector_destroy

Deallocates all memory allocated internally for a graph vector.

Syntax

mkl_graph_status_t mkl_graph_vector_destroy (mkl_graph_vector_t *v);

Include Files

  • mkl_graph.h

Description

The mkl_graph_vector_destroy routine deallocates all memory allocated internally for a graph vector and destroys all internal data (for example, optimized data created during execution of graph operations involving v) associated with it. Memory that you allocate remains untouched.

NOTE:

To avoid memory leaks, always call mkl_graph_vector_destroy for every vector which was created by mkl_graph_vector_create.

Input Parameters

v

A graph vector to be destroyed.

Return Values

The function returns a value indicating whether the operation was successful or not and why. Refer to Graph API Glossary for a list of possible options.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201