Intel® oneAPI Math Kernel Library Developer Reference - C

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

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.

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804

This notice covers the following instruction sets: SSE2, SSE4.2, AVX2, AVX-512.