File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11name = " oneAPI"
22uuid = " 8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
33authors = [
" Tim Besard <[email protected] >" ]
4- version = " 2.0.1 "
4+ version = " 2.0.2 "
55
66[deps ]
77Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Original file line number Diff line number Diff line change @@ -73,17 +73,20 @@ function __init__()
7373 precompiling = ccall (:jl_generating_output , Cint, ()) != 0
7474 precompiling && return
7575
76- if Sys. iswindows ()
77- @warn """ oneAPI.jl support for native Windows is experimental and incomplete.
76+ if oneL0. NEO_jll. is_available () && oneL0. functional[]
77+ if Sys. iswindows ()
78+ @warn """ oneAPI.jl support for native Windows is experimental and incomplete.
7879 For the time being, it is recommended to use WSL or Linux instead."""
79- else
80- # ensure that the OpenCL loader finds the ICD files from our artifacts
81- ENV [" OCL_ICD_FILENAMES" ] = oneL0. NEO_jll. libigdrcl
80+ else
81+ # ensure that the OpenCL loader finds the ICD files from our artifacts
82+ ENV [" OCL_ICD_FILENAMES" ] = oneL0. NEO_jll. libigdrcl
83+ end
84+
85+ # XXX : work around an issue with SYCL/Level Zero interoperability
86+ # (see JuliaGPU/oneAPI.jl#417)
87+ ENV [" SYCL_PI_LEVEL_ZERO_BATCH_SIZE" ] = " 1"
8288 end
83-
84- # XXX : work around an issue with SYCL/Level Zero interoperability
85- # (see JuliaGPU/oneAPI.jl#417)
86- ENV [" SYCL_PI_LEVEL_ZERO_BATCH_SIZE" ] = " 1"
89+ return nothing
8790end
8891
8992function set_debug! (debug:: Bool )
You can’t perform that action at this time.
0 commit comments