|
My Project
|
|
AFAPI array matmul(const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
Matrix multiply of two arrays.
AFAPI af_err af_matmul(af_array *out, const af_array lhs, const af_array rhs, const af_mat_prop optLhs, const af_mat_prop optRhs)
Matrix multiply of two af_array.
#define AFAPI
Definition: defines.h:30
AFAPI af_err af_transpose(af_array *out, af_array in, const bool conjugate)
Transposes a matrix.
Definition: algorithm.h:13
AFAPI array matmulTN(const array &lhs, const array &rhs)
Matrix multiply of two arrays.
af_mat_prop
Definition: defines.h:303
AFAPI array matmulNT(const array &lhs, const array &rhs)
Matrix multiply of two arrays.
void * af_array
Definition: defines.h:221
AFAPI array dot(const array &lhs, const array &rhs, const matProp optLhs=AF_MAT_NONE, const matProp optRhs=AF_MAT_NONE)
Dot Product.
AFAPI array matmulTT(const array &lhs, const array &rhs)
Matrix multiply of two arrays.
static af::array array(af::dim4 idims, cl_mem buf, af::dtype type, bool retain=false)
Create an af::array object from an OpenCL cl_mem buffer.
Definition: opencl.h:328
Default.
Definition: defines.h:304
af_mat_prop matProp
Definition: defines.h:410
AFAPI af_err af_dot(af_array *out, const af_array lhs, const af_array rhs, const af_mat_prop optLhs, const af_mat_prop optRhs)
Scalar dot product between two vectors.
af_err
Definition: defines.h:62
AFAPI array transpose(const array &in, const bool conjugate=false)
Transposes a matrix.
AFAPI af_err af_transpose_inplace(af_array in, const bool conjugate)
Transposes a matrix in-place.
AFAPI void transposeInPlace(array &in, const bool conjugate=false)
Transposes a matrix in-place.