Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3d736c93 authored by hhakim's avatar hhakim
Browse files

Enable DYNPROG Faust product (Faust.toarray()) for GPU.

parent 9376f0a7
Branches
Tags
No related merge requests found
......@@ -188,7 +188,16 @@ namespace Faust
{
this->eval_sliced_Transform();
this->eval_fancy_idx_Transform();
return this->transform->get_product(this->isTransposed2char(), this->is_conjugate);
if(this->mul_order_opt_mode == DYNPROG)
{
std::vector<Faust::MatGeneric<FPP,GPU2>*> data = this->transform->data;
if(this->is_transposed)
std::reverse(data.begin(), data.end());
auto P = std::move(dynprog_multiply(data, this->isTransposed2char()));
return P;
}
else
return this->transform->get_product(this->isTransposed2char(), this->is_conjugate);
}
template<typename FPP>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment