Use PoCL as SYCL runtime

This commit is contained in:
Aleix Boné 2025-12-10 18:23:39 +01:00
parent fc50bf5562
commit 1571f53af0
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
nosv,
clangOmpss2Nodes,
strace,
pocl,
}:
let
@ -46,8 +47,18 @@ intelPackages.stdenv.mkDerivation {
strace
nodes
nosv
pocl
];
env = {
POCL_DEBUG = "error,warn";
POCL_CACHE_DIR = "/build/pocl_cache";
# 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;
};
dontUnpack = true;
dontConfigure = true;