You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
james-simone
changed the title
Function bcopy undefined when compiler does not have openmp
hipcc on Crusher: function bcopy undefined (compiler does not have openmp enabled?)
Jun 27, 2022
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>
`
The text was updated successfully, but these errors were encountered: