Skip to content

Commit fad0f52

Browse files
committed
Fix Windows check during init.
1 parent c4f8809 commit fad0f52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/oneAPI.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ function __init__()
8282
if Sys.iswindows()
8383
@warn """oneAPI.jl support for native Windows is experimental and incomplete.
8484
For the time being, it is recommended to use WSL or Linux instead."""
85-
end
86-
87-
if oneL0.NEO_jll.is_available()
85+
else
8886
# ensure that the OpenCL loader finds the ICD files from our artifacts
8987
ENV["OCL_ICD_FILENAMES"] = oneL0.NEO_jll.libigdrcl
9088
end

0 commit comments

Comments
 (0)