Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Oct 30, 2024
1 parent 15ac66d commit 9019b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BFloat16s = "0.5"
CEnum = "0.4, 0.5"
CodecBzip2 = "0.8"
ExprTools = "0.1"
GPUArrays = "11"
GPUArrays = "11.1"
GPUCompiler = "0.26, 0.27, 1"
KernelAbstractions = "0.9.1"
LLVM = "7.2, 8, 9"
Expand Down
2 changes: 1 addition & 1 deletion src/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function MtlArray{T,N}(buf::B, dims::Dims{N}; kwargs...) where {B<:MTLBuffer,T,N
return MtlArray{T,N}(data, dims; kwargs...)
end

unsafe_free!(a::MtlArray) = GPUArrays.unsafe_free!(a.data)
GPUArrays.storage(a::MtlArray) = a.data

"""
device(<:MtlArray)
Expand Down

0 comments on commit 9019b56

Please sign in to comment.