Updated to compile and run fast on CUDA

This commit is contained in:
paboyle committed 2025-08-10 00:00:13 +01:00
1 parent 82cfff2990
commit 5adf2657dd
8 files changed
+60 -389

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ namespace Grid{
static accelerator_inline void IndexFromCoor (const coor_t& coor,int &index,const coor_t &dims){
int64_t index64;
IndexFromCoor(coor,index64,dims);
GRID_ASSERT(index64<2*1024*1024*1024LL);
assert(index64<2*1024*1024*1024LL);
index = (int) index64;
}