mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-17 23:37:06 +01:00
Introduce view objects that can safely be copied to GPU for access
This commit is contained in:
@ -547,7 +547,7 @@ int main(int argc, char **argv) {
|
||||
coor[1]++) {
|
||||
for (coor[0] = 0; coor[0] < latt_size[0] / mpi_layout[0];
|
||||
coor[0]++) {
|
||||
std::complex<Grid::Real> diff;
|
||||
Complex diff;
|
||||
|
||||
std::vector<int> shiftcoor = coor;
|
||||
shiftcoor[dir] = (shiftcoor[dir] + shift + latt_size[dir]) %
|
||||
|
Reference in New Issue
Block a user