diff --git a/Project.toml b/Project.toml index 04082ba1..9004b755 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" [compat] Adapt = "4" -GPUArrays = "11" +GPUArrays = "11.1" GPUCompiler = "0.27, 1" KernelAbstractions = "0.9.1" LLVM = "9.1" @@ -28,6 +28,6 @@ OpenCL_jll = "=2024.5.8" Printf = "1" Reexport = "1" SPIRVIntrinsics = "0.2" -SPIRV_LLVM_Translator_unified_jll = "0.6" +SPIRV_LLVM_Translator_unified_jll = "0.7" StaticArrays = "1" julia = "1.10" diff --git a/src/array.jl b/src/array.jl index fc5cb160..7968d4d1 100644 --- a/src/array.jl +++ b/src/array.jl @@ -24,6 +24,8 @@ mutable struct CLArray{T, N} <: AbstractGPUArray{T, N} end end +GPUArrays.storage(a::CLArray) = a.data + ## convenience constructors