MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / toBlasTranspose

Function toBlasTranspose

src/backend/oneapi/blas.cpp:36–43  ·  view source on GitHub ↗

Converts an af_mat_prop options to a transpose type for mkl

Source from the content-addressed store, hash-verified

34
35// Converts an af_mat_prop options to a transpose type for mkl
36static oneapi::mkl::transpose toBlasTranspose(af_mat_prop opt) {
37 switch (opt) {
38 case AF_MAT_NONE: return oneapi::mkl::transpose::nontrans;
39 case AF_MAT_TRANS: return oneapi::mkl::transpose::trans;
40 case AF_MAT_CTRANS: return oneapi::mkl::transpose::conjtrans;
41 default: AF_ERROR("INVALID af_mat_prop", AF_ERR_ARG);
42 }
43}
44
45template<typename T>
46static void gemvDispatch(sycl::queue queue, oneapi::mkl::transpose lOpts,

Callers 1

gemmFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected