-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
enhancementNew features/updatesNew features/updateswatch out!Things to watch out for (bug/non-bug weird behavior)Things to watch out for (bug/non-bug weird behavior)
Description
TCLB currently does not support cases in which overall offset overflows (32bit) integer for:
load_functions (dynamic and static access of fields) anywhere wherenx*ny*nz*fieldsis larger than2^31pop_functions (loading fields through densities) anywhere where
nx*ny*nzis larger than2^31
This can be fixed by appropriate casting in offset calculations in LatticeAccess, but care has to be taken to not slow down the performance by making unnecessary int64_t operations.
Originally posted by @shkodm in #496 (comment)
[...] Some things still don't work as expected (also the same on master branch). I run on 2 V100 on Bunya, each with 80GB GPUs, my case is large, so I split between 2.
I get:
Cumulative allocation of 63.GB)
and then
an illegal memory access was encountered in Lattice.hpp at line 279
The error is the same even if try I split between 3 GPUs (40GB each, so plenty of space even if there is some unaccounted memory)
Metadata
Metadata
Assignees
Labels
enhancementNew features/updatesNew features/updateswatch out!Things to watch out for (bug/non-bug weird behavior)Things to watch out for (bug/non-bug weird behavior)