We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7973a89 commit d369a07Copy full SHA for d369a07
src/oneAPI.jl
@@ -84,10 +84,14 @@ function __init__()
84
For the time being, it is recommended to use WSL or Linux instead."""
85
end
86
87
- if Sys.islinux()
88
- # ensure that the OpenCL runtime dispatcher finds the ICD files from our artifacts
89
- ENV["OCL_ICD_VENDORS"] = oneL0.NEO_jll.libigdrcl
+ if oneL0.NEO_jll.is_available()
+ # ensure that the OpenCL loader finds the ICD files from our artifacts
+ ENV["OCL_ICD_FILENAMES"] = oneL0.NEO_jll.libigdrcl
90
91
+
92
+ # XXX: work around an issue with SYCL/Level Zero interoperability
93
+ # (see JuliaGPU/oneAPI.jl#417)
94
+ ENV["SYCL_PI_LEVEL_ZERO_BATCH_SIZE"] = "1"
95
96
97
function set_debug!(debug::Bool)
0 commit comments