Grid
Grid copied to clipboard
hipcc on Crusher: function bcopy undefined (compiler does not have openmp enabled?)
Builtin function bcopy is undefined when the compiler does not have openmp. The workaround is to include the header strings.h.
` diff --git a/Grid/threads/Threads.h b/Grid/threads/Threads.h index 6887134d..52a3dfde 100644 --- a/Grid/threads/Threads.h +++ b/Grid/threads/Threads.h @@ -40,6 +40,7 @@ Author: paboyle [email protected] // New primitives; explicit host thread calls, and accelerator data parallel calls //////////////////////////////////////////////////////////////////////////////////
+#include <strings.h> #ifdef _OPENMP #define GRID_OMP #include <omp.h> `
Fixed on develop (was already fixed on a branch - it affects SYCL too)