Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 06054e03 authored by hhakim's avatar hhakim
Browse files

Fix TransformHelper<FPP,GPU2>::fourierFaustOpt.

Avoid using optButterflyFaust with is not yet implemented on GPU.
parent 2625bf18
Branches
Tags
No related merge requests found
......@@ -1013,10 +1013,12 @@ namespace Faust
template<typename FPP>
TransformHelper<FPP,GPU2>* TransformHelper<FPP,GPU2>::fourierFaustOpt(unsigned int n, const bool norma/*=true*/)
{
auto F = TransformHelper<FPP,GPU2>::fourierFaust(n, norma);
auto Fo = TransformHelper<FPP,GPU2>::optButterflyFaust(F);
delete F;
return Fo;
// uncomment this code when TransformHelperButterfly will be replaced (as on CPU) and optButterflyFaust/optFaust implemented on GPU
// auto F = TransformHelper<FPP,GPU2>::fourierFaust(n, norma);
// auto Fo = TransformHelper<FPP,GPU2>::optButterflyFaust(F);
// delete F;
// return Fo;
return TransformHelperButterfly<FPP, GPU2>::fourierFaust(n, norma);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment