Skip to content

Commit 3d4252f

Browse files
Bugfix
1 parent fbcc2a8 commit 3d4252f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

inc/Hardware/Read.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <omp.h>
88

99
#include "Hardware/Definitions.hpp"
10+
#include "Util/CpuCoreSelector.hpp"
1011

1112
namespace Hardware
1213
{

ut/util/CpuCoreSelector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define CATCH_CONFIG_MAIN
1+
#define CATCH_CONFIG_ENABLE_BENCHMARKING
22
#include "Util/CpuCoreSelector.hpp"
33

44
#include <catch2/catch.hpp>
@@ -15,12 +15,12 @@ TEST_CASE("CpuCoreSelector returns correct thread counts",
1515
std::thread::hardware_concurrency() / 2);
1616
}
1717

18-
SECTION("Return Third cores for third option") {
18+
SECTION("Return third cores for third option") {
1919
REQUIRE(CpuCoreSelector::getOptimalCount(CpuSelectionOption::third) ==
2020
std::thread::hardware_concurrency() / 3);
2121
}
2222

23-
SECTION("Return Quarter cores for quarter option") {
23+
SECTION("Return quarter cores for quarter option") {
2424
REQUIRE(CpuCoreSelector::getOptimalCount(CpuSelectionOption::quarter) ==
2525
std::thread::hardware_concurrency() / 4);
2626
}

0 commit comments

Comments
 (0)