From 8787677df3c1c1607d2d8667d1d1cf0789bec902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Fri, 20 Mar 2026 15:36:52 +0100 Subject: [PATCH] Fix PoCL SYCL tests --- test/compilers/hello-sycl.nix | 2 ++ test/compilers/icpx-ompss2.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/compilers/hello-sycl.nix b/test/compilers/hello-sycl.nix index 9bdec078..ea205572 100644 --- a/test/compilers/hello-sycl.nix +++ b/test/compilers/hello-sycl.nix @@ -71,6 +71,8 @@ stdenv.mkDerivation (finalAttrs: { # Make PoCL report Intel vendor id so oneapi SYCL works POCL_DRIVER_VERSION_OVERRIDE = "2024.18.6.0.02_160000"; POCL_CPU_VENDOR_ID_OVERRIDE = 32902; + + HWLOC_SYNTHETIC = "node:1 core:1 pu:1"; }; doInstallCheck = true; installCheckPhase = '' diff --git a/test/compilers/icpx-ompss2.nix b/test/compilers/icpx-ompss2.nix index d6d320c7..3f673e55 100644 --- a/test/compilers/icpx-ompss2.nix +++ b/test/compilers/icpx-ompss2.nix @@ -59,6 +59,8 @@ intelPackages.stdenv.mkDerivation (finalAttrs: { # Make PoCL report Intel vendor id so oneapi SYCL works POCL_DRIVER_VERSION_OVERRIDE = "2024.18.6.0.02_160000"; POCL_CPU_VENDOR_ID_OVERRIDE = 32902; + + HWLOC_SYNTHETIC = "node:1 core:1 pu:1"; }; doInstallCheck = true; installCheckPhase = ''