rocsparse_spmat_get_index_base Interface Reference

rocsparse_spmat_get_index_base Interface Reference#

hipFORT API Reference: hipfort_rocsparse::rocsparse_spmat_get_index_base Interface Reference
hipfort_rocsparse::rocsparse_spmat_get_index_base Interface Reference

Get the sparse matrix index base from the sparse matrix descriptor. More...

Public Member Functions

integer(c_int) function rocsparse_spmat_get_index_base_ (descr, idx_base)
 
integer(kind(rocsparse_status_success)) function rocsparse_spmat_get_index_base_typed (descr, idx_base)
 

Detailed Description

Get the sparse matrix index base from the sparse matrix descriptor.

Parameters
[in]descr- the pointer to the sparse matrix descriptor.
[out]idx_base- rocsparse_index_base_zero or rocsparse_index_base_one.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_pointerif descr is invalid.
rocsparse_status_invalid_valueif idx_base is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_spmat_get_index_base_()

integer(c_int) function hipfort_rocsparse::rocsparse_spmat_get_index_base::rocsparse_spmat_get_index_base_ ( type(c_ptr), value  descr,
type(c_ptr), value  idx_base 
)

◆ rocsparse_spmat_get_index_base_typed()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_spmat_get_index_base::rocsparse_spmat_get_index_base_typed ( type(c_ptr), value  descr,
integer(kind(rocsparse_index_base_zero)), target  idx_base 
)

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