rocblas_set_device_memory_size Interface Reference#
hipfort_rocblas::rocblas_set_device_memory_size Interface Reference
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocblas_set_device_memory_size_ (handle, mySize) |
Detailed Description
Changes the size of allocated device memory at runtime.
Any previously allocated device memory managed by the handle is freed.
If size > 0 sets the device memory size to the specified size (in bytes) If size == 0 frees the memory allocated so far, and lets rocBLAS manage device memory in the future, expanding it when necessary Returns rocblas_status_invalid_handle if handle is nullptr; rocblas_status_invalid_pointer if size is nullptr; rocblas_status_success otherwise
- Parameters
-
[in] handle rocblas handle [in] size size of allocated device memory
Member Function/Subroutine Documentation
◆ rocblas_set_device_memory_size_()
integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_set_device_memory_size::rocblas_set_device_memory_size_ | ( | type(c_ptr), value | handle, |
integer(c_size_t), value | mySize | ||
) |
The documentation for this interface was generated from the following file: