We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11f677a commit 740f4aeCopy full SHA for 740f4ae
src/device/intrinsics/memory.jl
@@ -90,8 +90,6 @@ end
90
Base.unsafe_convert(::Type{Core.LLVMPtr{T,A}}, x::MtlLargerDeviceArray{T,<:Any,A}) where {T,A} =
91
reinterpret(Core.LLVMPtr{T,A}, Base.unsafe_convert(Core.LLVMPtr{UInt32,A}, x.x))
92
93
-Base.IndexStyle(::Type{<:Core.LLVMPtr}) = Base.IndexLinear()
94
-
95
Base.@propagate_inbounds Base.getindex(A::MtlLargerDeviceArray{T}, i1::Integer) where {T} =
96
arrayref(A, i1)
97
Base.@propagate_inbounds Base.setindex!(A::MtlLargerDeviceArray{T}, x, i1::Integer) where {T} =
0 commit comments