Open james-simone opened 2 years ago
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 paboyle@ph.ed.ac.uk // New primitives; explicit host thread calls, and accelerator data parallel calls //////////////////////////////////////////////////////////////////////////////////
+#include
`
Fixed on develop (was already fixed on a branch - it affects SYCL too)
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 paboyle@ph.ed.ac.uk // New primitives; explicit host thread calls, and accelerator data parallel calls //////////////////////////////////////////////////////////////////////////////////
+#include
ifdef _OPENMP
define GRID_OMP
include
`