Closed anagainaru closed 3 months ago
Complicated solution: https://github.com/ornladios/ADIOS2/pull/3961
Variables can only dead with one type of pointers (once we pin them to GPU or CPU they need to always receive the same type of pointers).
Default
Simpler solution: switch the dimensions at initial detection of variable type and at every setSelection
Closed by https://github.com/ornladios/ADIOS2/pull/3976
Complicated solution: https://github.com/ornladios/ADIOS2/pull/3961
Variables can only dead with one type of pointers (once we pin them to GPU or CPU they need to always receive the same type of pointers).
Default
we should still check every pointer and throw an exception if it's not the sameSimpler solution: switch the dimensions at initial detection of variable type and at every setSelection