rocsparse_set_mat_diag_type Interface Reference

rocsparse_set_mat_diag_type Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_set_mat_diag_type Interface Reference
hipfort_rocsparse::rocsparse_set_mat_diag_type Interface Reference

Specify the matrix diagonal type of a matrix descriptor. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_set_mat_diag_type_ (descr, diag_type)
 

Detailed Description

Specify the matrix diagonal type of a matrix descriptor.

rocsparse_set_mat_diag_type sets the matrix diagonal type of a matrix descriptor. Valid diagonal types are rocsparse_diag_type_unit or rocsparse_diag_type_non_unit.

Parameters
[in,out]descrthe matrix descriptor.
[in]diag_typerocsparse_diag_type_unit or rocsparse_diag_type_non_unit.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_pointerdescr pointer is invalid.
rocsparse_status_invalid_valuediag_type is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_set_mat_diag_type_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_set_mat_diag_type::rocsparse_set_mat_diag_type_ ( type(c_ptr), value  descr,
integer(kind(rocsparse_diag_type_non_unit)), value  diag_type 
)

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