diff --git a/Project.toml b/Project.toml index ef3b247d..b20e17c6 100644 --- a/Project.toml +++ b/Project.toml @@ -31,7 +31,7 @@ oneAPI_Support_jll = "b049733a-a71d-5ed3-8eba-7d323ac00b36" Adapt = "4" CEnum = "0.4, 0.5" ExprTools = "0.1" -GPUArrays = "11" +GPUArrays = "11.1" GPUCompiler = "0.23, 0.24, 0.25, 0.26, 0.27, 1" KernelAbstractions = "0.9.1" LLVM = "6, 7, 8, 9" diff --git a/src/array.jl b/src/array.jl index a8a51b45..28a6e717 100644 --- a/src/array.jl +++ b/src/array.jl @@ -80,7 +80,7 @@ mutable struct oneArray{T,N,B} <: AbstractGPUArray{T,N} end end -unsafe_free!(a::oneArray) = GPUArrays.unsafe_free!(a.data) +GPUArrays.storage(a::oneArray) = a.data ## alias detection