Intel® oneAPI Math Kernel Library Developer Reference - C

mkl_graph_descriptor_destroy

Deallocates memory allocated for a graph descriptor.

Syntax

mkl_graph_status_t mkl_graph_descriptor_destroy (mkl_graph_descriptor_t *desc);

Include Files

Description

The mkl_graph_descriptor_destroy routine deallocates memory allocated for a descriptor object.

Note

To avoid memory leaks, always call mkl_graph_descriptor_destroy for every descriptor which was created by mkl_graph_descriptor_create.

Input Parameters

desc

A graph descriptor 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