We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51b9f39 commit fc89c73Copy full SHA for fc89c73
1 file changed
modules/util/tests/util.cpp
@@ -22,10 +22,6 @@ TEST(UtilTest, GetNumThreads_WithOpenMPEnvironment_HandlesThreadControlCorrectly
22
if (num_threads_env_var.has_value()) {
23
// When PPC_NUM_THREADS is set, GetNumThreads() should return that value
24
EXPECT_EQ(ppc::util::GetNumThreads(), num_threads_env_var.value());
25
-
26
- // And after setting OpenMP threads, it should match
27
- omp_set_num_threads(num_threads_env_var.value());
28
- EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_max_threads());
29
} else {
30
// When PPC_NUM_THREADS is not set, GetNumThreads() should return 1
31
// This is independent of OpenMP's thread count
0 commit comments