Skip to content

Commit

Permalink
Use unnecessary module prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Sep 8, 2020
1 parent 3b2a4a8 commit 7b62c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pointer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,5 @@ Base.unsafe_convert(::Type{RefOrCuRef{T}}, x::CuRefs{T}) where {T} =
# support conversion from arrays
Base.convert(::Type{RefOrCuRef{T}}, x::Array{T}) where {T} = convert(Ref{T}, x)
Base.convert(::Type{RefOrCuRef{T}}, x::AbstractGPUArray{T}) where {T} = convert(CuRef{T}, x)
Base.unsafe_convert(P::Type{RefOrCuRef{T}}, b::CUDA.CuRefArray{T}) where T =
Base.unsafe_convert(P::Type{RefOrCuRef{T}}, b::CuRefArray{T}) where T =
Base.bitcast(RefOrCuRef{T}, Base.unsafe_convert(CuRef{T}, b))

0 comments on commit 7b62c35

Please sign in to comment.