hipblassetworkspace Interface Reference

hipblassetworkspace Interface Reference#

hipFORT API Reference: hipfort_hipblas::hipblassetworkspace Interface Reference
hipfort_hipblas::hipblassetworkspace Interface Reference

Set hipblas workspace to user-owned device buffer. More...

Public Member Functions

integer(c_int) function hipblassetworkspace_ (handle, workspace, workspacesizeinbytes)
 

Detailed Description

Set hipblas workspace to user-owned device buffer.

With the rocBLAS backend, a non-null workspace with a nonzero size is used as-is and is never resized. A call that needs more, such as trsmBatched with a large batchCount, returns HIPBLAS_STATUS_ALLOC_FAILED. Passing nullptr or a size of 0 returns the handle to rocBLAS-managed memory, which grows as needed.

Member Function/Subroutine Documentation

◆ hipblassetworkspace_()

integer(c_int) function hipfort_hipblas::hipblassetworkspace::hipblassetworkspace_ ( type(c_ptr), value  handle,
type(c_ptr), value  workspace,
integer(c_size_t), value  workspacesizeinbytes 
)

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