Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/oneAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,15 @@ function __init__()
return
end

if oneL0.NEO_jll.is_available() && oneL0.functional[]
if Sys.iswindows()
if oneL0.functional[]
@static if Sys.iswindows()
@warn """oneAPI.jl support for native Windows is experimental and incomplete.
For the time being, it is recommended to use WSL or Linux instead."""
else
# ensure that the OpenCL loader finds the ICD files from our artifacts
ENV["OCL_ICD_FILENAMES"] = 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
end
end

# XXX: work around an issue with SYCL/Level Zero interoperability
Expand Down