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 1
1
name = " oneAPI"
2
2
uuid = " 8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
3
3
authors = [" Tim Besard <tim.besard@gmail.com>" ]
4
- version = " 2.0.1 "
4
+ version = " 2.0.2 "
5
5
6
6
[deps ]
7
7
Adapt = " 79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Original file line number Diff line number Diff line change @@ -73,17 +73,20 @@ function __init__()
73
73
precompiling = ccall (:jl_generating_output , Cint, ()) != 0
74
74
precompiling && return
75
75
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.
78
79
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"
82
88
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
87
90
end
88
91
89
92
function set_debug! (debug:: Bool )
You can’t perform that action at this time.
0 commit comments