hipblasisaminstridedbatched Interface Reference

hipblasisaminstridedbatched Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblasisaminstridedbatched Interface Reference
hipfort_hipblas::hipblasisaminstridedbatched Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblasisaminstridedbatched_ (handle, n, x, incx, stridex, batchcount, myresult)
 
integer(kind(hipblas_status_success)) function hipblasisaminstridedbatched_rank_0 (handle, n, x, incx, stridex, batchcount, myresult)
 
integer(kind(hipblas_status_success)) function hipblasisaminstridedbatched_rank_1 (handle, n, x, incx, stridex, batchcount, myresult)
 

Detailed Description

BLAS Level 1 API.

The aminStridedBatched functions find the first index of the element of minimum magnitude of each vector x_i in a batch, for i = 1, ..., batchCount.

  • Supported precisions in rocBLAS : s, d, c, and z.
  • Supported precisions in cuBLAS : No support.
Parameters
[in]handle- [hipblasHandle_t] handle to the hipBLAS library context queue.
[in]n- [int] number of elements in each vector x_i.
[in]x- device pointer to the first vector x_1.
[in]incx- [int] specifies the increment for the elements of each x_i. incx must be > 0.
[in]stridex- [hipblasStride] specifies the pointer increment between one x_i and the next x_(i + 1).
[in]batchCount- [int] number of instances in the batch.
[out]myResultdevice or host pointer to array for storing contiguous batchCount results. Return value is 0 if n <= 0, incx<=0.

Member Function/Subroutine Documentation

◆ hipblasisaminstridedbatched_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasisaminstridedbatched::hipblasisaminstridedbatched_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  x,
integer(c_int), value  incx,
integer(c_int64_t), value  stridex,
integer(c_int), value  batchcount,
type(c_ptr), value  myresult 
)

◆ hipblasisaminstridedbatched_rank_0()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasisaminstridedbatched::hipblasisaminstridedbatched_rank_0 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount,
type(c_ptr)  myresult 
)

◆ hipblasisaminstridedbatched_rank_1()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblasisaminstridedbatched::hipblasisaminstridedbatched_rank_1 ( type(c_ptr)  handle,
integer(c_int)  n,
real(c_float), dimension(:), target  x,
integer(c_int)  incx,
integer(c_int64_t)  stridex,
integer(c_int)  batchcount,
type(c_ptr)  myresult 
)

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