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

MADWF 5d source option for hadrons - look at Grid of source

Abort on GPU error
This commit is contained in:
Peter Boyle
2021-02-08 10:47:22 -05:00
parent cd99edcc5f
commit eda9ab487b
3 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,7 @@
#include <Grid/GridCore.h>
NAMESPACE_BEGIN(Grid);
int acceleratorAbortOnGpuError=1;
uint32_t accelerator_threads=2;
uint32_t acceleratorThreads(void) {return accelerator_threads;};
void acceleratorThreads(uint32_t t) {accelerator_threads = t;};