72 int dmlsa_mic(
const int m,
const int n,
const int k,
const double *A,
double *W,
double *H,
const int uType,
const int nIter)
76 #ifdef With_MICOffload 77 #pragma offload target(mic:0) \ 80 inout(W:length(m*k)) \ 81 inout(H:length(k*n)) \ 88 error =
dmlsa_cpu(m, n, k, A, W, H, uType, nIter);
90 #ifdef With_MICOffload 111 int smlsa_mic(
const int m,
const int n,
const int k,
const float *A,
float *W,
float *H,
const int uType,
const int nIter)
115 #ifdef With_MICOffload 116 #pragma offload target(mic:0) \ 119 inout(W:length(m*k)) \ 120 inout(H:length(k*n)) \ 127 error =
smlsa_cpu(m, n, k, A, W, H, uType, nIter);
129 #ifdef With_MICOffload int dmlsa_cpu(const int m, const int n, const int k, const double *A, double *W, double *H, const int uType, const int nIter)
dmlsa_cpu performs NNMF using betadivergence when beta=2 using double precision
Header file for using the mlsa algorithm with MIC/MIC.
int smlsa_cpu(const int m, const int n, const int k, const float *A, float *W, float *H, const int uType, const int nIter)
smlsa_cpu performs NNMF using betadivergence when beta=2 using simple precision
int smlsa_mic(const int m, const int n, const int k, const float *A, float *W, float *H, const int uType, const int nIter)
smlsa_mic performs NNMF using betadivergence when beta=2 using simple precision
int dmlsa_mic(const int m, const int n, const int k, const double *A, double *W, double *H, const int uType, const int nIter)
dmlsa_mic performs NNMF using betadivergence when beta=2 using double precision