Skip to content

Commit 9019b56

Browse files
authored
1 parent 15ac66d commit 9019b56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BFloat16s = "0.5"
4040
CEnum = "0.4, 0.5"
4141
CodecBzip2 = "0.8"
4242
ExprTools = "0.1"
43-
GPUArrays = "11"
43+
GPUArrays = "11.1"
4444
GPUCompiler = "0.26, 0.27, 1"
4545
KernelAbstractions = "0.9.1"
4646
LLVM = "7.2, 8, 9"

src/array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function MtlArray{T,N}(buf::B, dims::Dims{N}; kwargs...) where {B<:MTLBuffer,T,N
112112
return MtlArray{T,N}(data, dims; kwargs...)
113113
end
114114

115-
unsafe_free!(a::MtlArray) = GPUArrays.unsafe_free!(a.data)
115+
GPUArrays.storage(a::MtlArray) = a.data
116116

117117
"""
118118
device(<:MtlArray)

0 commit comments

Comments
 (0)