Skip to content

Commit 121fdcb

Browse files
committed
Remove unused interface.
1 parent 460ea24 commit 121fdcb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/abstractarray.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ function deserialize(s::AbstractSerializer, ::Type{T}) where T <: GPUArray
3030
T(A)
3131
end
3232

33-
@inline unpack_buffer(x) = x
34-
@inline unpack_buffer(x::GPUArray) = pointer(x)
35-
@inline unpack_buffer(x::Ref{<: GPUArray}) = unpack_buffer(x[])
36-
3733
function to_cartesian(A, indices::Tuple)
3834
start = CartesianIndex(ntuple(length(indices)) do i
3935
val = indices[i]

0 commit comments

Comments
 (0)