Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8c6ca58d authored by hhakim's avatar hhakim
Browse files

Fix GPU2 MatBSR::setZeros, the def is a template specialization not a template function.

parent 64c24abb
No related branches found
No related tags found
No related merge requests found
...@@ -172,8 +172,8 @@ namespace Faust ...@@ -172,8 +172,8 @@ namespace Faust
return bsr_funcs->norm_frob(gpu_mat); return bsr_funcs->norm_frob(gpu_mat);
} }
template<typename FPP> template<>
void MatBSR<FPP, GPU2>::setZeros() void MatBSR<@FAUST_SCALAR_FOR_GM@, GPU2>::setZeros()
{ {
auto bsr_funcs = GPUModHandler::get_singleton()->bsr_funcs((@FAUST_SCALAR_FOR_GM@)(0)); auto bsr_funcs = GPUModHandler::get_singleton()->bsr_funcs((@FAUST_SCALAR_FOR_GM@)(0));
bsr_funcs->set_zeros(gpu_mat); bsr_funcs->set_zeros(gpu_mat);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment