template<> void xSpMSpM<float>::xSpMSpM_Function(bool flush) { clsparseStatus status = clsparseScsrSpGemm(&csrMtx, &csrMtx, &csrMtxC, control); if (flush) clFinish(queue); }// end of single precision function
clsparseStatus generateSpGemmResult_long(clsparseCsrMatrix& sparseMatC) { using SPER = CSRSparseEnvironment; using CLSE = ClSparseEnvironment; if (typeid(T) == typeid(float)) { return clsparseScsrSpGemm(&SPER::csrSMatrixA, &SPER::csrSMatrixB, &sparseMatC, CLSE::control); } /* else if (typeid(T) == typeid(double)) { return clsparseDcsrSpGemm(SPER::csrSMatrix, SPER::csrSMatrix, sparseMatC, CLSE::control); }*/ return clsparseSuccess; }// end