hipblasgetmatrixasync Interface Reference

hipblasgetmatrixasync Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasgetmatrixasync Interface Reference
hipfort_hipblas::hipblasgetmatrixasync Interface Reference

Asynchronously copy matrix from device to host. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasgetmatrixasync_ (rows, cols, elemsize, ap, lda, bp, ldb, stream)
 

Detailed Description

Asynchronously copy matrix from device to host.

hipblasGetMatrixAsync copies a matrix from device memory to pinned host memory asynchronously. Memory on the host must be allocated with hipHostMalloc or the transfer will be synchronous.

Parameters
[in]rows- [int] number of rows in matrices.
[in]cols- [int] number of columns in matrices.
[in]elemSize- [int] number of bytes per element in the matrix.
[in]AP- pointer to matrix on the GPU.
[in]lda- [int] specifies the leading dimension of A. lda >= rows.
[out]BP- pointer to matrix on the host.
[in]ldb- [int] specifies the leading dimension of B. ldb >= rows.
[in]stream- specifies the stream into which this transfer request is queued.

Member Function/Subroutine Documentation

◆ hipblasgetmatrixasync_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasgetmatrixasync::hipblasgetmatrixasync_ ( integer(c_int), value  rows,
integer(c_int), value  cols,
integer(c_int), value  elemsize,
type(c_ptr), value  ap,
integer(c_int), value  lda,
type(c_ptr), value  bp,
integer(c_int), value  ldb,
type(c_ptr), value  stream 
)

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