Fix PoCL SYCL tests

This commit is contained in:
2026-03-20 15:36:52 +01:00
parent 8b3b21af97
commit 8787677df3
2 changed files with 4 additions and 0 deletions

View File

@@ -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 = ''

View File

@@ -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 = ''