forked from rarias/jungle
Use PoCL as SYCL runtime
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
nosv,
|
nosv,
|
||||||
clangOmpss2Nodes,
|
clangOmpss2Nodes,
|
||||||
strace,
|
strace,
|
||||||
|
pocl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -46,8 +47,18 @@ intelPackages.stdenv.mkDerivation {
|
|||||||
strace
|
strace
|
||||||
nodes
|
nodes
|
||||||
nosv
|
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;
|
dontUnpack = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user