rocsparse_set_mat_index_base Interface Reference

rocsparse_set_mat_index_base Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_set_mat_index_base Interface Reference
hipfort_rocsparse::rocsparse_set_mat_index_base Interface Reference

Specify the index base of a matrix descriptor. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_set_mat_index_base_ (descr, base)
 

Detailed Description

Specify the index base of a matrix descriptor.

rocsparse_set_mat_index_base sets the index base of a matrix descriptor. Valid options are rocsparse_index_base_zero or rocsparse_index_base_one.

Parameters
[in,out]descrthe matrix descriptor.
[in]baserocsparse_index_base_zero or rocsparse_index_base_one.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_pointerdescr pointer is invalid.
rocsparse_status_invalid_valuebase is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_set_mat_index_base_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_set_mat_index_base::rocsparse_set_mat_index_base_ ( type(c_ptr), value  descr,
integer(kind(rocsparse_index_base_zero)), value  base 
)

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