rocsparse_dnmat_get Interface Reference

rocsparse_dnmat_get Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_dnmat_get Interface Reference
hipfort_rocsparse::rocsparse_dnmat_get Interface Reference

Get the fields of the dense matrix descriptor. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_dnmat_get_ (descr, rows, cols, ld, values, data_type, order)
 

Detailed Description

Get the fields of the dense matrix descriptor.

Parameters
[in]descr- the pointer to the dense matrix descriptor.
[out]rows- number of rows in the dense matrix.
[out]cols- number of columns in the dense matrix.
[out]ld- leading dimension of the dense matrix.
[out]values- non-zero values in the dense matrix. Must be an array of length ld*rows if order=rocsparse_order_column or ld*cols if order=rocsparse_order_row.
[out]data_type- rocsparse_datatype_f32_r, rocsparse_datatype_f64_r, rocsparse_datatype_f32_c, or rocsparse_datatype_f64_c.
[out]order- rocsparse_order_row or rocsparse_order_column.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_pointerif descr or values is invalid.
rocsparse_status_invalid_sizeif rows, cols, or ld is invalid.
rocsparse_status_invalid_valueif data_type or order is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_dnmat_get_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_dnmat_get::rocsparse_dnmat_get_ ( type(c_ptr), value  descr,
integer(c_int64_t)  rows,
integer(c_int64_t)  cols,
type(c_ptr), value  ld,
type(c_ptr)  values,
type(c_ptr), value  data_type,
type(c_ptr), value  order 
)

The documentation for this interface was generated from the following file: