hipblashdot Interface Reference

hipblashdot Interface Reference#

HIPFORT API Reference: hipfort_hipblas::hipblashdot Interface Reference
hipfort_hipblas::hipblashdot Interface Reference

BLAS Level 1 API. More...

Public Member Functions

integer(kind(hipblas_status_success)) function hipblashdot_ (handle, n, x, incx, y, incy, myresult)
 

Detailed Description

BLAS Level 1 API.

The dot(u) functions performs the dot product of vectors x and y.

result = x * y;

The dotc functions performs the dot product of the conjugate of complex vector x and complex vector y.

result = conjugate (x) * y;
  • Supported precisions in rocBLAS : h, bf, s, d, c, and z.
  • Supported precisions in cuBLAS : s, d, c, and z.
Parameters
[in]handle- [hipblasHandle_t] handle to the hipBLAS library context queue.
[in]n- [int] the number of elements in x and y.
[in]x- device pointer storing vector x.
[in]incx- [int] specifies the increment for the elements of y.
[in]y- device pointer storing vector y.
[in]incy- [int] specifies the increment for the elements of y.
[in,out]myResultdevice pointer or host pointer to store the dot product. Return value is 0.0 if n <= 0.

Member Function/Subroutine Documentation

◆ hipblashdot_()

integer(kind(hipblas_status_success)) function hipfort_hipblas::hipblashdot::hipblashdot_ ( type(c_ptr), value  handle,
integer(c_int), value  n,
type(c_ptr), value  x,
integer(c_int), value  incx,
type(c_ptr), value  y,
integer(c_int), value  incy,
type(c_ptr), value  myresult 
)

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