bsrgemm(*bsrA,bsrB->to_dense(),C,alpha,beta,typeA,typeB);// TODO: consider also converting bsrB to MatDense, depending on the weight
elseif(bsrB&&dsA)
bsrgemm(*dsA,*bsrB,C,alpha,beta,typeA,typeB);
elseif(bsrB&&spA)
bsrgemm(MatDense<FPP,GPU2>(*spA),*bsrB,C,alpha,beta,typeA,typeB);// TODO: consider also converting bsrB to MatDense, depending on the weight // to test
else
throwstd::runtime_error("Unsupported matrix type in faust_linear_algebra_gpu gemm_gen");
}
}
template<typenameFPP>
template<typenameFPP>
...
@@ -141,7 +164,7 @@ namespace Faust
...
@@ -141,7 +164,7 @@ namespace Faust
// transpose / adjoint the product to rely on other signature of bsrgemm (MatSparse B as lhs matrix -- i.e. A)
// transpose / adjoint the product to rely on other signature of bsrgemm (MatSparse B as lhs matrix -- i.e. A)