Intel® oneAPI Math Kernel Library Developer Reference - C
Deallocates all memory allocated internally for a graph matrix.
mkl_graph_status_t mkl_graph_matrix_destroy (mkl_graph_matrix_t *A);
mkl_graph.h
The mkl_graph_matrix_destroy routine deallocates all memory allocated internally for a graph matrix and destroys all internal data (for example, optimized data created by mkl_graph_optimize_mxv or graph operations which involve the matrix) associated with it. Memory that you allocate remains untouched.
To avoid memory leaks, always call mkl_graph_matrix_destroy for every matrix which was created by mkl_graph_matrix_create.
A graph matrix to be destroyed.
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 |