Skip to content

Commit

Permalink
Fixed upper bounds on number of threads in RuntimeTests for MacOS. (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rs-mt authored May 3, 2024
1 parent eb78786 commit 1b0bd7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/ILGPU.Tests.CPU/RuntimeTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ---------------------------------------------------------------------------------------
// ILGPU
// Copyright (c) 2021-2023 ILGPU Project
// Copyright (c) 2021-2024 ILGPU Project
// www.ilgpu.net
//
// File: RuntimeTests.cs
Expand Down Expand Up @@ -65,7 +65,7 @@ public void TestCustomDeviceSetup(
{
// Detect the number of processors and check whether we run in a supported
// range of tests
int maxNumThreads = Environment.ProcessorCount * 768;
int maxNumThreads = Environment.ProcessorCount * 256;
Skip.If(customDevice.NumThreads > maxNumThreads);
}

Expand Down

0 comments on commit 1b0bd7e

Please sign in to comment.