1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 23:37:06 +01:00

Coordinate handling gpu friendly

This commit is contained in:
paboyle
2018-02-24 22:22:02 +00:00
parent bf5fb89aff
commit 078901278c
11 changed files with 37 additions and 38 deletions

View File

@ -113,6 +113,7 @@ public:
GridFourDimModule(const std::vector<int> tweak_simd)
{
Coordinate _tweak_simd(tweak_simd);
if (tweak_simd.size() != 4)
{
std::cout << GridLogError
@ -131,7 +132,7 @@ public:
{
set_full(SpaceTimeGrid::makeFourDimGrid(
GridDefaultLatt(),
tweak_simd,
_tweak_simd,
GridDefaultMpi()));
set_rb(SpaceTimeGrid::makeFourDimRedBlackGrid(grid_.get()));
}