rocsparse_set_pointer_mode Interface Reference#
hipfort_rocsparse::rocsparse_set_pointer_mode Interface Reference
Specify pointer mode. More...
Public Member Functions | |
integer(kind(rocsparse_status_success)) function | rocsparse_set_pointer_mode_ (handle, pointer_mode) |
Detailed Description
Specify pointer mode.
rocsparse_set_pointer_mode
specifies the pointer mode to be used by the rocSPARSE library context and all subsequent function calls. By default, all values are passed by reference on the host. Valid pointer modes are rocsparse_pointer_mode_host
or rocsparse_pointer_mode_device
.
- Parameters
-
[in] handle the handle to the rocSPARSE library context. [in] pointer_mode the pointer mode to be used by the rocSPARSE library context.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_handle handle
is invalid.
Member Function/Subroutine Documentation
◆ rocsparse_set_pointer_mode_()
integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_set_pointer_mode::rocsparse_set_pointer_mode_ | ( | type(c_ptr), value | handle, |
integer(kind(rocsparse_pointer_mode_host)), value | pointer_mode | ||
) |
The documentation for this interface was generated from the following file: