diff --git a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h index a2e45291..17636ed8 100644 --- a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h +++ b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h @@ -32,21 +32,6 @@ Author: Peter Boyle NAMESPACE_BEGIN(Grid); -// Move this to accelerator.h -// Also give a copy device. -// Rename acceleratorPut -// Rename acceleratorGet -template void deviceSet(T& dev,T&host) -{ - acceleratorCopyToDevice(&host,&dev,sizeof(T)); -} -template T deviceGet(T& dev) -{ - T host; - acceleratorCopyFromDevice(&dev,&host,sizeof(T)); - return host; -} - // Fine Object == (per site) type of fine field // nbasis == number of deflation vectors template @@ -133,14 +118,12 @@ public: for(int p=0;p lSite - // std::cout << " B ptr "<< nbr<<"/"< tmp; tmp.resize(in.size()); - // std::cout << "BLAStoGrid volume " <lSites()<lSites()); acceleratorCopyFromDevice(&in[0],&tmp[0],sizeof(typename vobj::scalar_object)*in.size()); vectorizeFromLexOrdArray(tmp,grid); @@ -289,19 +266,10 @@ public: } void CopyMatrix (void) { - // Clone "A" to be lexicographic in the physics coords - // Use unvectorisetolexordarray - // Copy to device for(int p=0;pGlobalDimensions()[0]; assert(nrhs>=1); - // std::cout << GridLogMessage << "New Mrhs GridtoBLAS in sizes "<lSites()<<" "<lSites()<