clBLAS
2.11
|
Functions | |
clblasStatus | clblasSnrm2 (size_t N, cl_mem NRM2, size_t offNRM2, const cl_mem X, size_t offx, int incx, cl_mem scratchBuff, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
computes the euclidean norm of vector containing float elements More... | |
clblasStatus | clblasDnrm2 (size_t N, cl_mem NRM2, size_t offNRM2, const cl_mem X, size_t offx, int incx, cl_mem scratchBuff, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
computes the euclidean norm of vector containing double elements More... | |
clblasStatus | clblasScnrm2 (size_t N, cl_mem NRM2, size_t offNRM2, const cl_mem X, size_t offx, int incx, cl_mem scratchBuff, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
computes the euclidean norm of vector containing float-complex elements More... | |
clblasStatus | clblasDznrm2 (size_t N, cl_mem NRM2, size_t offNRM2, const cl_mem X, size_t offx, int incx, cl_mem scratchBuff, cl_uint numCommandQueues, cl_command_queue *commandQueues, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *events) |
computes the euclidean norm of vector containing double-complex elements More... | |
clblasStatus clblasDnrm2 | ( | size_t | N, |
cl_mem | NRM2, | ||
size_t | offNRM2, | ||
const cl_mem | X, | ||
size_t | offx, | ||
int | incx, | ||
cl_mem | scratchBuff, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
computes the euclidean norm of vector containing double elements
NRM2 = sqrt( X' * X )
[in] | N | Number of elements in vector X. |
[out] | NRM2 | Buffer object that will contain the NRM2 value |
[in] | offNRM2 | Offset to NRM2 value in NRM2 buffer object. Counted in elements. |
[in] | X | Buffer object storing vector X. |
[in] | offx | Offset of first element of vector X in buffer object. Counted in elements. |
[in] | incx | Increment for the elements of X. Must not be zero. |
[in] | scratchBuff | Temporary cl_mem scratch buffer object that can hold minimum of (2*N) elements |
[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 clblasDznrm2 | ( | size_t | N, |
cl_mem | NRM2, | ||
size_t | offNRM2, | ||
const cl_mem | X, | ||
size_t | offx, | ||
int | incx, | ||
cl_mem | scratchBuff, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
computes the euclidean norm of vector containing double-complex elements
NRM2 = sqrt( X**H * X )
[in] | N | Number of elements in vector X. |
[out] | NRM2 | Buffer object that will contain the NRM2 value. Note that the answer of Dznrm2 is a real value. |
[in] | offNRM2 | Offset to NRM2 value in NRM2 buffer object. Counted in elements. |
[in] | X | Buffer object storing vector X. |
[in] | offx | Offset of first element of vector X in buffer object. Counted in elements. |
[in] | incx | Increment for the elements of X. Must not be zero. |
[in] | scratchBuff | Temporary cl_mem scratch buffer object that can hold minimum of (2*N) elements |
[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 clblasScnrm2 | ( | size_t | N, |
cl_mem | NRM2, | ||
size_t | offNRM2, | ||
const cl_mem | X, | ||
size_t | offx, | ||
int | incx, | ||
cl_mem | scratchBuff, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
computes the euclidean norm of vector containing float-complex elements
NRM2 = sqrt( X**H * X )
[in] | N | Number of elements in vector X. |
[out] | NRM2 | Buffer object that will contain the NRM2 value. Note that the answer of Scnrm2 is a real value. |
[in] | offNRM2 | Offset to NRM2 value in NRM2 buffer object. Counted in elements. |
[in] | X | Buffer object storing vector X. |
[in] | offx | Offset of first element of vector X in buffer object. Counted in elements. |
[in] | incx | Increment for the elements of X. Must not be zero. |
[in] | scratchBuff | Temporary cl_mem scratch buffer object that can hold minimum of (2*N) elements |
[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 clblasSnrm2 | ( | size_t | N, |
cl_mem | NRM2, | ||
size_t | offNRM2, | ||
const cl_mem | X, | ||
size_t | offx, | ||
int | incx, | ||
cl_mem | scratchBuff, | ||
cl_uint | numCommandQueues, | ||
cl_command_queue * | commandQueues, | ||
cl_uint | numEventsInWaitList, | ||
const cl_event * | eventWaitList, | ||
cl_event * | events | ||
) |
computes the euclidean norm of vector containing float elements
NRM2 = sqrt( X' * X )
[in] | N | Number of elements in vector X. |
[out] | NRM2 | Buffer object that will contain the NRM2 value |
[in] | offNRM2 | Offset to NRM2 value in NRM2 buffer object. Counted in elements. |
[in] | X | Buffer object storing vector X. |
[in] | offx | Offset of first element of vector X in buffer object. Counted in elements. |
[in] | incx | Increment for the elements of X. Must not be zero. |
[in] | scratchBuff | Temporary cl_mem scratch buffer object that can hold minimum of (2*N) elements |
[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. |