Mentions légales du service

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

Display used parameters in HierarchicalFactFGFT ctor if verbosity enabled.

parent 00fe9028
Branches
No related tags found
No related merge requests found
...@@ -18,6 +18,11 @@ namespace Faust ...@@ -18,6 +18,11 @@ namespace Faust
//TODO: move def. code in .hpp //TODO: move def. code in .hpp
HierarchicalFactFGFT(const MatDense<FPP,DEVICE>& U, const MatDense<FPP,DEVICE>& Lap, const ParamsFGFT<FPP,DEVICE,FPP2>& params, BlasHandle<DEVICE> cublasHandle, SpBlasHandle<DEVICE> cusparseHandle): HierarchicalFact<FPP, DEVICE, FPP2>(U, params, cublasHandle, cusparseHandle) HierarchicalFactFGFT(const MatDense<FPP,DEVICE>& U, const MatDense<FPP,DEVICE>& Lap, const ParamsFGFT<FPP,DEVICE,FPP2>& params, BlasHandle<DEVICE> cublasHandle, SpBlasHandle<DEVICE> cusparseHandle): HierarchicalFact<FPP, DEVICE, FPP2>(U, params, cublasHandle, cusparseHandle)
{ {
if(params.isVerbose)
{
std::cout << "HierarchicalFactFGFT initialized with the folliwing parameters (ParamsFGFT):" << std::endl;
params.Display();
}
if ((U.getNbRow() != params.m_nbRow) | (U.getNbCol() != params.m_nbCol)) if ((U.getNbRow() != params.m_nbRow) | (U.getNbCol() != params.m_nbCol))
handleError(m_className,"constructor : params and Fourier matrix U haven't compatible size"); handleError(m_className,"constructor : params and Fourier matrix U haven't compatible size");
if((Lap.getNbRow() != params.m_nbRow) | (Lap.getNbCol() != params.m_nbCol)) if((Lap.getNbRow() != params.m_nbRow) | (Lap.getNbCol() != params.m_nbCol))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment