Ensure that the same (large) BUFFERSIZE is used for all cpus in DYNAMIC_ARCH builds
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 22 Nov 2020 15:48:22 +0000 (16:48 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 15:48:22 +0000 (16:48 +0100)
common_power.h

index a61e4e2..6fb2af3 100644 (file)
@@ -849,6 +849,10 @@ Lmcount$lazy_ptr:
 #else
 #define BUFFER_SIZE     ( 16 << 20)
 #endif
+#ifeq ($(DYNAMIC_ARCH), 1)
+#undefine BUFFER_SIZE
+#define BUFFER_SIZE (64 << 22)
+#endif
 
 #ifndef PAGESIZE
 #define PAGESIZE       ( 4 << 10)