1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 11:45:56 +01:00

disable comments

This commit is contained in:
Christoph Lehner 2020-05-05 05:05:36 -04:00
parent 04863f8f38
commit 6b64727161

View File

@ -116,7 +116,7 @@ public:
int target;
cudaGetDevice(&target);
cudaMemPrefetchAsync(_odata,_odata_size*sizeof(vobj),target);
std::cout<< GridLogMessage << "To Device " << target << std::endl;
//std::cout<< GridLogMessage << "To Device " << target << std::endl;
#endif
#endif
};
@ -125,7 +125,7 @@ public:
#ifdef GRID_NVCC
#ifndef __CUDA_ARCH__ // only on host
cudaMemPrefetchAsync(_odata,_odata_size*sizeof(vobj),cudaCpuDeviceId);
std::cout<< GridLogMessage << "To Host" << std::endl;
//std::cout<< GridLogMessage << "To Host" << std::endl;
#endif
#endif
};
@ -448,7 +448,7 @@ public:
typename std::enable_if<!std::is_same<robj,vobj>::value,int>::type i=0;
conformable(*this,r);
this->checkerboard = r.Checkerboard();
std::cout << GridLogMessage << "Copy other" << std::endl;
//std::cout << GridLogMessage << "Copy other" << std::endl;
auto me = AcceleratorView(ViewWrite);
auto him= r.AcceleratorView(ViewRead);
accelerator_for(ss,me.size(),vobj::Nsimd(),{
@ -463,7 +463,7 @@ public:
inline Lattice<vobj> & operator = (const Lattice<vobj> & r){
this->checkerboard = r.Checkerboard();
conformable(*this,r);
std::cout << GridLogMessage << "Copy same" << std::endl;
//std::cout << GridLogMessage << "Copy same" << std::endl;
auto me = AcceleratorView(ViewWrite);
auto him= r.AcceleratorView(ViewRead);
accelerator_for(ss,me.size(),vobj::Nsimd(),{