mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Verbose changes
This commit is contained in:
parent
9fd41882d2
commit
7b76970d10
@ -408,6 +408,7 @@ public:
|
|||||||
{
|
{
|
||||||
int nrhs=fine.size();
|
int nrhs=fine.size();
|
||||||
int _nbasis = sizeof(typename cobj::scalar_object)/sizeof(scalar);
|
int _nbasis = sizeof(typename cobj::scalar_object)/sizeof(scalar);
|
||||||
|
// std::cout << "blockProject nbasis " <<nbasis<<" " << _nbasis<<std::endl;
|
||||||
assert(nbasis==_nbasis);
|
assert(nbasis==_nbasis);
|
||||||
|
|
||||||
BLAS_F.resize (fine_vol * words * nrhs );
|
BLAS_F.resize (fine_vol * words * nrhs );
|
||||||
|
@ -132,7 +132,6 @@ public:
|
|||||||
|
|
||||||
int64_t vw = vol * words;
|
int64_t vw = vol * words;
|
||||||
|
|
||||||
std::cout << GridLogMessage << "MultiRHSDelation for "<<nrhs<<" sources with "<<nev<<" eigenvectors "<<std::endl;
|
|
||||||
RealD t0 = usecond();
|
RealD t0 = usecond();
|
||||||
BLAS_R.resize(nrhs * vw); // cost free if size doesn't change
|
BLAS_R.resize(nrhs * vw); // cost free if size doesn't change
|
||||||
BLAS_G.resize(nrhs * vw); // cost free if size doesn't change
|
BLAS_G.resize(nrhs * vw); // cost free if size doesn't change
|
||||||
@ -227,7 +226,7 @@ public:
|
|||||||
acceleratorCopyDeviceToDevice(&BLAS_G[offset],&v[0],sizeof(scalar_object)*vol);
|
acceleratorCopyDeviceToDevice(&BLAS_G[offset],&v[0],sizeof(scalar_object)*vol);
|
||||||
}
|
}
|
||||||
RealD t1 = usecond();
|
RealD t1 = usecond();
|
||||||
std::cout << GridLogMessage << "MultiRHSDelation for "<<nrhs<<" sources with "<<nev<<" eigenvectors took " << (t1-t0)/1e3 <<" ms"<<std::endl;
|
std::cout << GridLogMessage << "MultiRHSDeflation for "<<nrhs<<" sources with "<<nev<<" eigenvectors took " << (t1-t0)/1e3 <<" ms"<<std::endl;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user