Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/31/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_create

Creates an empty graph descriptor.

Syntax

mkl_graph_status_t mkl_graph_descriptor_create (mkl_graph_descriptor_t *desc);

Include Files
  • mkl_graph.h

Description

The mkl_graph_descriptor_create routine creates an empty graph descriptor. By setting fields of the graph descriptor via mkl_graph_descriptor_set_field and passing this descriptor as an argument to a graph operation, one can modify the behavior of the operation.

NOTE:

A graph descriptor must be created by calling mkl_graph_descriptor_create prior to any usage in other graph routines.

Output Parameters
desc

An empty graph descriptor.

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