Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 43b0df43 authored by hhakim's avatar hhakim
Browse files

Remove TransformHelperButterfly<FPP, GPU2> use in cpu to gpu Faust cloning of...

Remove TransformHelperButterfly<FPP, GPU2> use in cpu to gpu Faust cloning of python wrapper cpp code.
parent 4c4f3eda
Branches
No related tags found
No related merge requests found
...@@ -13,13 +13,8 @@ FaustCoreCpp<FPP, Cpu>* clone_gpu2cpu(FaustCoreCpp<FPP, GPU2>* gpu_t) ...@@ -13,13 +13,8 @@ FaustCoreCpp<FPP, Cpu>* clone_gpu2cpu(FaustCoreCpp<FPP, GPU2>* gpu_t)
template<typename FPP> template<typename FPP>
FaustCoreCpp<FPP, GPU2>* clone_cpu2gpu(FaustCoreCpp<FPP, Cpu>* cpu_t) FaustCoreCpp<FPP, GPU2>* clone_cpu2gpu(FaustCoreCpp<FPP, Cpu>* cpu_t)
{ {
Faust::TransformHelper<FPP, GPU2> *th; auto th = new Faust::TransformHelper<FPP,GPU2>(*cpu_t->transform);
if(cpu_t->transform->containsOnlyButterflyPerm()) FaustCoreCpp<FPP, GPU2>* core = new FaustCoreCpp<FPP, GPU2>(th);
th = new Faust::TransformHelperButterfly<FPP, GPU2>(*cpu_t->transform); return core;
else
th = new Faust::TransformHelper<FPP,GPU2>(*cpu_t->transform);
FaustCoreCpp<FPP, GPU2>* core = new FaustCoreCpp<FPP, GPU2>(th);
return core;
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment