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

hipsparsesetpointermode Interface Reference

hipsparsesetpointermode Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsesetpointermode Interface Reference
hipfort_hipsparse::hipsparsesetpointermode Interface Reference

Specify pointer mode. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsesetpointermode_ (handle, mode)
 

Detailed Description

Specify pointer mode.

hipsparseSetPointerMode specifies the pointer mode to be used by the hipSPARSE library context and all subsequent function calls. By default, all values are passed by reference on the host. Valid pointer modes are HIPSPARSE_POINTER_MODE_HOST or HIPSPARSE_POINTER_MODE_DEVICE.

Member Function/Subroutine Documentation

◆ hipsparsesetpointermode_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsesetpointermode::hipsparsesetpointermode_ ( type(c_ptr), value  handle,
integer(kind(hipsparse_pointer_mode_host)), value  mode 
)

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