Skip to content

Commit 740f4ae

Browse files
Remove type-pirated function (#399)
1 parent 11f677a commit 740f4ae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/device/intrinsics/memory.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ end
9090
Base.unsafe_convert(::Type{Core.LLVMPtr{T,A}}, x::MtlLargerDeviceArray{T,<:Any,A}) where {T,A} =
9191
reinterpret(Core.LLVMPtr{T,A}, Base.unsafe_convert(Core.LLVMPtr{UInt32,A}, x.x))
9292

93-
Base.IndexStyle(::Type{<:Core.LLVMPtr}) = Base.IndexLinear()
94-
9593
Base.@propagate_inbounds Base.getindex(A::MtlLargerDeviceArray{T}, i1::Integer) where {T} =
9694
arrayref(A, i1)
9795
Base.@propagate_inbounds Base.setindex!(A::MtlLargerDeviceArray{T}, x, i1::Integer) where {T} =

0 commit comments

Comments
 (0)