1 parent fa3eba6 commit 79332ffCopy full SHA for 79332ff
2 files changed
BandExecutor.hpp
@@ -3,10 +3,8 @@
3
4
#pragma once
5
6
-#include <algorithm>
7
#include <atomic>
8
#include <barrier>
9
-#include <cstdlib>
10
#include <thread>
11
#include <type_traits>
12
#include <vector>
Grid.hpp
@@ -11,6 +11,10 @@
#define PARALLEL_GRID 1
#include "BandExecutor.hpp"
13
14
+#include <algorithm> // std::max
15
+#include <cstdlib> // std::getenv, std::atoi
16
+#include <thread> // std::thread::hardware_concurrency
17
+
18
// Worker count: GOL_THREADS env override if set, else half the hardware threads.
19
static int defaultGridThreads()
20
{
0 commit comments