Skip to content

Commit 79332ff

Browse files
committed
update
1 parent fa3eba6 commit 79332ff

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

BandExecutor.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33

44
#pragma once
55

6-
#include <algorithm>
76
#include <atomic>
87
#include <barrier>
9-
#include <cstdlib>
108
#include <thread>
119
#include <type_traits>
1210
#include <vector>

Grid.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
#define PARALLEL_GRID 1
1212
#include "BandExecutor.hpp"
1313

14+
#include <algorithm> // std::max
15+
#include <cstdlib> // std::getenv, std::atoi
16+
#include <thread> // std::thread::hardware_concurrency
17+
1418
// Worker count: GOL_THREADS env override if set, else half the hardware threads.
1519
static int defaultGridThreads()
1620
{

0 commit comments

Comments
 (0)