From ab74461c26dee1561b7c6465c10a4d69aadd2864 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 1 Oct 2026 12:00:03 +0200 Subject: [PATCH] Support LLVM.jl 10 GPUArrays only uses LLVM.jl for the assume intrinsic. Import it explicitly: LLVM.jl 10 exports more from LLVM.Interop, and the only name GPUArrays needs works the same on 9.x and 10.x, so the compat can admit both. --- Project.toml | 2 +- src/GPUArrays.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 5d5e1f65..e4727be4 100644 --- a/Project.toml +++ b/Project.toml @@ -32,7 +32,7 @@ Adapt = "4.6.1" GPUArraysCore = "= 0.2.1" JLD2 = "0.4, 0.5, 0.6" KernelAbstractions = "0.9.28, 0.10" -LLVM = "3.9, 4, 5, 6, 7, 8, 9" +LLVM = "3.9, 4, 5, 6, 7, 8, 9, 10" LinearAlgebra = "1" Printf = "1" Random = "1" diff --git a/src/GPUArrays.jl b/src/GPUArrays.jl index 10b5fdb6..086657c2 100644 --- a/src/GPUArrays.jl +++ b/src/GPUArrays.jl @@ -10,7 +10,7 @@ using LinearAlgebra.BLAS using Base.Cartesian using Adapt -using LLVM.Interop +using LLVM.Interop: assume using Reexport @reexport using GPUArraysCore