rocblas_set_workspace Interface Reference

rocblas_set_workspace Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_set_workspace Interface Reference
hipfort_rocblas::rocblas_set_workspace Interface Reference

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_set_workspace_ (handle, addr, mySize)
 

Detailed Description

Sets the device workspace for the handle to use.

Any previously allocated device memory managed by the handle is freed.

Returns rocblas_status_invalid_handle if handle is nullptr; rocblas_status_success otherwise

Parameters
[in]handlerocblas handle
[in]addraddress of workspace memory
[in]sizesize of workspace memory

Member Function/Subroutine Documentation

◆ rocblas_set_workspace_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_set_workspace::rocblas_set_workspace_ ( type(c_ptr), value  handle,
type(c_ptr), value  addr,
integer(c_size_t), value  mySize 
)

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