clBLAS
2.11
|
Functions | |
clblasStatus | clblasSgemm (clblasOrder order, clblasTranspose transA, clblasTranspose transB, size_t M, size_t N, size_t K, cl_float alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, cl_float beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
Matrix-matrix product of general rectangular matrices with float elements. Extended version. More... | |
clblasStatus | clblasDgemm (clblasOrder order, clblasTranspose transA, clblasTranspose transB, size_t M, size_t N, size_t K, cl_double alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, cl_double beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
Matrix-matrix product of general rectangular matrices with double elements. Extended version. More... | |
clblasStatus | clblasCgemm (clblasOrder order, clblasTranspose transA, clblasTranspose transB, size_t M, size_t N, size_t K, FloatComplex alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, FloatComplex beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
Matrix-matrix product of general rectangular matrices with float complex elements. Extended version. More... | |
clblasStatus | clblasZgemm (clblasOrder order, clblasTranspose transA, clblasTranspose transB, size_t M, size_t N, size_t K, DoubleComplex alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, DoubleComplex beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
Matrix-matrix product of general rectangular matrices with double complex elements. Exteneded version. More... | |
clblasStatus clblasCgemm | ( | clblasOrder | order, |
clblasTranspose | transA, | ||
clblasTranspose | transB, | ||
size_t | M, | ||
size_t | N, | ||
size_t | K, | ||
FloatComplex | alpha, | ||
const cl_mem | A, | ||
size_t | offA, | ||
size_t | lda, | ||
const cl_mem | B, | ||
size_t | offB, | ||
size_t | ldb, | ||
FloatComplex | beta, | ||
cl_mem | C, | ||
size_t | offC, | ||
size_t | ldc, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
Matrix-matrix product of general rectangular matrices with float complex elements. Extended version.
Matrix-matrix products:
[in] | order | Row/column order. |
[in] | transA | How matrix A is to be transposed. |
[in] | transB | How matrix B is to be transposed. |
[in] | M | Number of rows in matrix A. |
[in] | N | Number of columns in matrix B. |
[in] | K | Number of columns in matrix A and rows in matrix B. |
[in] | alpha | The factor of matrix A. |
[in] | A | Buffer object storing matrix A. |
[in] | offA | Offset of the first element of the matrix A in the buffer object. Counted in elements. |
[in] | lda | Leading dimension of matrix A. For detailed description, see clblasSgemm(). |
[in] | B | Buffer object storing matrix B. |
[in] | offB | Offset of the first element of the matrix B in the buffer object. Counted in elements. |
[in] | ldb | Leading dimension of matrix B. For detailed description, see clblasSgemm(). |
[in] | beta | The factor of matrix C. |
[out] | C | Buffer object storing matrix C. |
[in] | offC | Offset of the first element of the matrix C in the buffer object. Counted in elements. |
[in] | ldc | Leading dimension of matrix C. For detailed description, see clblasSgemm(). |
[in] | numCommandQueues | Number of OpenCL command queues in which the task is to be performed. |
[in] | commandQueues | OpenCL command queues. |
[in] | numEventsInWaitList | Number of events in the event wait list. |
[in] | eventWaitList | Event wait list. |
[in] | events | Event objects per each command queue that identify a particular kernel execution instance. |
clblasStatus clblasDgemm | ( | clblasOrder | order, |
clblasTranspose | transA, | ||
clblasTranspose | transB, | ||
size_t | M, | ||
size_t | N, | ||
size_t | K, | ||
cl_double | alpha, | ||
const cl_mem | A, | ||
size_t | offA, | ||
size_t | lda, | ||
const cl_mem | B, | ||
size_t | offB, | ||
size_t | ldb, | ||
cl_double | beta, | ||
cl_mem | C, | ||
size_t | offC, | ||
size_t | ldc, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
Matrix-matrix product of general rectangular matrices with double elements. Extended version.
Matrix-matrix products:
[in] | order | Row/column order. |
[in] | transA | How matrix A is to be transposed. |
[in] | transB | How matrix B is to be transposed. |
[in] | M | Number of rows in matrix A. |
[in] | N | Number of columns in matrix B. |
[in] | K | Number of columns in matrix A and rows in matrix B. |
[in] | alpha | The factor of matrix A. |
[in] | A | Buffer object storing matrix A. |
[in] | offA | Offset of the first element of the matrix A in the buffer object. Counted in elements. |
[in] | lda | Leading dimension of matrix A. For detailed description, see clblasSgemm(). |
[in] | B | Buffer object storing matrix B. |
[in] | offB | Offset of the first element of the matrix B in the buffer object. Counted in elements. |
[in] | ldb | Leading dimension of matrix B. For detailed description, see clblasSgemm(). |
[in] | beta | The factor of matrix C. |
[out] | C | Buffer object storing matrix C. |
[in] | offC | Offset of the first element of the matrix C in the buffer object. Counted in elements. |
[in] | ldc | Leading dimension of matrix C. For detailed description, see clblasSgemm(). |
[in] | numCommandQueues | Number of OpenCL command queues in which the task is to be performed. |
[in] | commandQueues | OpenCL command queues. |
[in] | numEventsInWaitList | Number of events in the event wait list. |
[in] | eventWaitList | Event wait list. |
[in] | events | Event objects per each command queue that identify a particular kernel execution instance. |
clblasStatus clblasSgemm | ( | clblasOrder | order, |
clblasTranspose | transA, | ||
clblasTranspose | transB, | ||
size_t | M, | ||
size_t | N, | ||
size_t | K, | ||
cl_float | alpha, | ||
const cl_mem | A, | ||
size_t | offA, | ||
size_t | lda, | ||
const cl_mem | B, | ||
size_t | offB, | ||
size_t | ldb, | ||
cl_float | beta, | ||
cl_mem | C, | ||
size_t | offC, | ||
size_t | ldc, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
Matrix-matrix product of general rectangular matrices with float elements. Extended version.
Matrix-matrix products:
[in] | order | Row/column order. |
[in] | transA | How matrix A is to be transposed. |
[in] | transB | How matrix B is to be transposed. |
[in] | M | Number of rows in matrix A. |
[in] | N | Number of columns in matrix B. |
[in] | K | Number of columns in matrix A and rows in matrix B. |
[in] | alpha | The factor of matrix A. |
[in] | A | Buffer object storing matrix A. |
[in] | offA | Offset of the first element of the matrix A in the buffer object. Counted in elements. |
[in] | lda | Leading dimension of matrix A. It cannot be less than K when the order parameter is set to clblasRowMajor, or less than M when the parameter is set to clblasColumnMajor. |
[in] | B | Buffer object storing matrix B. |
[in] | offB | Offset of the first element of the matrix B in the buffer object. Counted in elements. |
[in] | ldb | Leading dimension of matrix B. It cannot be less than N when the order parameter is set to clblasRowMajor, or less than K when it is set to clblasColumnMajor. |
[in] | beta | The factor of matrix C. |
[out] | C | Buffer object storing matrix C. |
[in] | offC | Offset of the first element of the matrix C in the buffer object. Counted in elements. |
[in] | ldc | Leading dimension of matrix C. It cannot be less than N when the order parameter is set to clblasRowMajor, or less than M when it is set to clblasColumnMajorOrder. |
[in] | numCommandQueues | Number of OpenCL command queues in which the task is to be performed. |
[in] | commandQueues | OpenCL command queues. |
[in] | numEventsInWaitList | Number of events in the event wait list. |
[in] | eventWaitList | Event wait list. |
[in] | events | Event objects per each command queue that identify a particular kernel execution instance. |
clblasStatus clblasZgemm | ( | clblasOrder | order, |
clblasTranspose | transA, | ||
clblasTranspose | transB, | ||
size_t | M, | ||
size_t | N, | ||
size_t | K, | ||
DoubleComplex | alpha, | ||
const cl_mem | A, | ||
size_t | offA, | ||
size_t | lda, | ||
const cl_mem | B, | ||
size_t | offB, | ||
size_t | ldb, | ||
DoubleComplex | beta, | ||
cl_mem | C, | ||
size_t | offC, | ||
size_t | ldc, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
Matrix-matrix product of general rectangular matrices with double complex elements. Exteneded version.
Matrix-matrix products:
[in] | order | Row/column order. |
[in] | transA | How matrix A is to be transposed. |
[in] | transB | How matrix B is to be transposed. |
[in] | M | Number of rows in matrix A. |
[in] | N | Number of columns in matrix B. |
[in] | K | Number of columns in matrix A and rows in matrix B. |
[in] | alpha | The factor of matrix A. |
[in] | A | Buffer object storing matrix A. |
[in] | offA | Offset of the first element of the matrix A in the buffer object. Counted in elements. |
[in] | lda | Leading dimension of matrix A. For detailed description, see clblasSgemm(). |
[in] | B | Buffer object storing matrix B. |
[in] | offB | Offset of the first element of the matrix B in the buffer object. Counted in elements. |
[in] | ldb | Leading dimension of matrix B. For detailed description, see clblasSgemm(). |
[in] | beta | The factor of matrix C. |
[out] | C | Buffer object storing matrix C. |
[in] | offC | Offset of the first element of the matrix C in the buffer object. Counted in elements. |
[in] | ldc | Leading dimension of matrix C. For detailed description, see clblasSgemm(). |
[in] | numCommandQueues | Number of OpenCL command queues in which the task is to be performed. |
[in] | commandQueues | OpenCL command queues. |
[in] | numEventsInWaitList | Number of events in the event wait list. |
[in] | eventWaitList | Event wait list. |
[in] | events | Event objects per each command queue that identify a particular kernel execution instance. |