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_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

  • mkl_graph.h

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