This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

rocsparse_get_version Interface Reference

rocsparse_get_version Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_get_version Interface Reference
hipfort_rocsparse::rocsparse_get_version Interface Reference

Get rocSPARSE version. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_get_version_ (handle, version)
 

Detailed Description

Get rocSPARSE version.

rocsparse_get_version gets the rocSPARSE library version number.

  • patch = version % 100
  • minor = version 100 % 1000
  • major = version 100000
Parameters
[in]handlethe handle to the rocSPARSE library context.
[out]versionthe version number of the rocSPARSE library.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_handlehandle is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_get_version_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_get_version::rocsparse_get_version_ ( type(c_ptr), value  handle,
type(c_ptr), value  version 
)

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