Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6e42f0d2 authored by hhakim's avatar hhakim
Browse files

Fix issue #177.

parent e3eb227f
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ int main(int argc, char* argv[])
if(meth == 1)
{
cout << "use impl1" << endl;
Faust::palm4msa<FPP,Cpu>(data, constraints, facts, lambda, sc, is_update_way_R2L, use_csr, compute_2norm_on_array, norm2_threshold, norm2_max_iter, false, FAUST_PRECISION, on_gpu);
Faust::palm4msa<FPP,Cpu>(data, constraints, facts, lambda, sc, is_update_way_R2L, use_csr, compute_2norm_on_array, norm2_threshold, norm2_max_iter, false, FAUST_PRECISION, on_gpu, true);
}
else if(meth == 2)
{
......
......@@ -11,7 +11,8 @@ void Faust::palm4msa(const Faust::MatDense<FPP,DEVICE>& A,
const Real<FPP> norm2_threshold,
const unsigned int norm2_max_iter,
const bool constant_step_size, const Real<FPP> step_size,
const bool on_gpu /*=false*/)
const bool on_gpu /*=false*/,
const bool is_verbose/*=false*/)
{
if(constraints.size() == 0)
throw out_of_range("No constraint passed to palm4msa.");
......
#ifndef __FAUST_PROD_OPT__
#define __FAUST_PROD_OPT__
#include <vector>
#include "faust_MatDense.h"
#ifdef __APPLE__
#ifdef _MUL_OMP_
#include "omp.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment