Intel® oneAPI Math Kernel Library Developer Reference - C
Exports dense representation of a graph vector.
mkl_graph_status_t mkl_graph_vector_get_dense (mkl_graph_vector_t v, int64_t *dim, void **values, mkl_graph_type_t *values_type);
mkl_graph.h
The mkl_graph_vector_get_dense exports the dense representation of a graph vector (an array which stores all elements of the vector). All arguments except the graph vector v are optional and will not be used if they are passed as NULL pointers.
The routine mkl_graph_vector_get_dense does not change the ownership of the data.
If only information about the number of elements in a dense vector is needed, mkl_graph_vector_get_property can be used instead of mkl_graph_vector_get_dense.
A graph vector from which data are retrieved.
Number of elements in the dense representation of the vector v. Ignored if NULL is passed.
A pointer to an array which contains values for all elements in the vector v. The type of the array elements can be deduced from values_type.
Ignored if NULL.
Type of the elements of the values array. Refer to Graph API Glossary for a list of possible options. Ignored if NULL is passed.
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 |