Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 036efa6c authored by hhakim's avatar hhakim
Browse files

Enable openmp in solveDTO.

parent e00599f4
No related branches found
No related tags found
No related merge requests found
...@@ -286,13 +286,13 @@ namespace Faust ...@@ -286,13 +286,13 @@ namespace Faust
} }
} }
// #pragma omp parallel for // Tested but non-efficient because of solveDTO calls are already parallelized #pragma omp parallel for
// for(int i=0;i<noncec.size();i++) for(int i=0;i<noncec.size();i++)
// {
// Faust::MatDense<FPP, Cpu> submat, bestx, besty;
// auto ce = noncec[i];
for(auto ce: noncec)
{ {
Faust::MatDense<FPP, Cpu> submat, bestx, besty;
auto ce = noncec[i];
// for(auto ce: noncec)
// {
auto r = (*ce)[0]; auto r = (*ce)[0];
auto RP = s1.col_nonzero_inds(r); auto RP = s1.col_nonzero_inds(r);
auto CP = s2.row_nonzero_inds(r); auto CP = s2.row_nonzero_inds(r);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment