From 1b0bd7ef583b45807cb4419189a4515f0b5aa8cf Mon Sep 17 00:00:00 2001 From: Marcel Koester Date: Fri, 3 May 2024 15:35:20 +0200 Subject: [PATCH] Fixed upper bounds on number of threads in RuntimeTests for MacOS. (#1217) --- Src/ILGPU.Tests.CPU/RuntimeTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/ILGPU.Tests.CPU/RuntimeTests.cs b/Src/ILGPU.Tests.CPU/RuntimeTests.cs index eb3118cd3..76f35e90d 100644 --- a/Src/ILGPU.Tests.CPU/RuntimeTests.cs +++ b/Src/ILGPU.Tests.CPU/RuntimeTests.cs @@ -1,6 +1,6 @@ // --------------------------------------------------------------------------------------- // ILGPU -// Copyright (c) 2021-2023 ILGPU Project +// Copyright (c) 2021-2024 ILGPU Project // www.ilgpu.net // // File: RuntimeTests.cs @@ -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); }