mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-14 03:33:18 +01:00
gpu friendly coordinates ; no std::vector on GPU
This commit is contained in:
1 parent
285deab432
commit
36ea5f6b77
11 files changed
+67
-68
No files matched your search
@@ -50,7 +50,7 @@ int main (int argc, char ** argv)
|
||||
int threads = GridThread::GetThreads();
|
||||
std::cout<<GridLogMessage << "Grid is setup to use "<<threads<<" threads"<<std::endl;
|
||||
|
||||
std::vector<int> latt4 = GridDefaultLatt();
|
||||
Coordinate latt4 = GridDefaultLatt();
|
||||
int Ls=16;
|
||||
for(int i=0;i<argc;i++)
|
||||
if(std::string(argv[i]) == "-Ls"){
|
||||
@@ -82,7 +82,7 @@ int main (int argc, char ** argv)
|
||||
#if 0
|
||||
src = Zero();
|
||||
{
|
||||
std::vector<int> origin({0,0,0,latt4[2]-1,0});
|
||||
Coordinate origin({0,0,0,latt4[2]-1,0});
|
||||
SpinColourVectorF tmp;
|
||||
tmp=Zero();
|
||||
tmp()(0)(0)=Complex(-2.0,0.0);
|
||||
|
||||
Reference in new issue
Block a user