Skip to content

Commit b32eeb2

Browse files
committed
Set default ONEAPI_LTS=0
1 parent ac130ed commit b32eeb2

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/level-zero/oneL0.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,12 @@ const parameter_validation = Ref{Bool}()
142142
# Master switch for the Intel LTS-stack workarounds (driver/IGC quirks on the Aurora
143143
# LTS NEO 25.18 stack): the SPIR-V translator codegen path, strided-reduction
144144
# materialization, and command-queue drain-before-free. All such code paths are gated
145-
# on `LTS[]`, so with it disabled the package behaves exactly like the upstream rolling
146-
# stack. Default on for this branch (which pins the LTS toolchain); set `ONEAPI_LTS=0`
147-
# to exercise the rolling-stack paths. When merged upstream the default flips to false
148-
# and an LTS deployment opts in with `ONEAPI_LTS=1`.
149-
const LTS = Ref{Bool}(true)
145+
# on `LTS[]`, so with it disabled the package behaves like the upstream rolling stack.
146+
# Default OFF (rolling stack), matching upstream: an LTS deployment opts in with
147+
# `ONEAPI_LTS=1`. On Aurora that variable is set in the environment, and the GitHub
148+
# Actions self-hosted (Aurora) runner sets it in ci.yml; the rolling-stack buildkite
149+
# runner gets the default and thus actually exercises the non-LTS (:llvm back-end) path.
150+
const LTS = Ref{Bool}(false)
150151

151152
# Parse a boolean-valued environment variable, accepting the same spellings for every
152153
# oneAPI flag. Returns `default` when the variable is unset or empty. Warns (and returns
@@ -169,10 +170,9 @@ function __init__()
169170

170171
# Resolve the LTS master switch up front, before the driver-availability early
171172
# returns below: it gates codegen and behavior and must be set even on hosts
172-
# without a functional GPU. Default on for this (LTS) branch; flip the "true"
173-
# default to "false" when merged onto the rolling stack. ONEAPI_LTS=0 forces the
174-
# rolling-stack code paths.
175-
LTS[] = parse_env_bool("ONEAPI_LTS", true)
173+
# without a functional GPU. Default off (rolling stack); an LTS deployment such as
174+
# Aurora opts in with ONEAPI_LTS=1.
175+
LTS[] = parse_env_bool("ONEAPI_LTS", false)
176176

177177
if Sys.iswindows()
178178
if Libdl.dlopen(libze_loader; throw_error=false) === nothing

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function versioninfo(io::IO=stdout)
33
if Sys.islinux()
44
println(io, "Binary dependencies:")
55
for jll in [oneL0.NEO_jll, oneL0.NEO_jll.libigc_LTS_jll, oneL0.NEO_jll.gmmlib_jll,
6-
SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll, oneAPI_Support_jll]
6+
SPIRV_LLVM_Backend_jll, SPIRV_LLVM_Translator_jll, SPIRV_Tools_jll, oneAPI_Support_jll]
77
name = string(jll)
88
print(io, "- $(name[1:end-4]): $(Base.pkgversion(jll))")
99
if jll.host_platform !== nothing

0 commit comments

Comments
 (0)