Skip to content

Commit a714df9

Browse files
committed
device(::Type{<:CuArrays.CuArray}) = GPU
1 parent db24c52 commit a714df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cuarrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ function restructure(x::CuArrays.CuArray, y)
1414
return reshape(Adapt.adapt(parameterless_type(x), y), Base.size(x)...)
1515
end
1616

17-
Device(::Type{<:CuArrays.CuArray}) = GPU()
17+
device(::Type{<:CuArrays.CuArray}) = GPU()
1818

0 commit comments

Comments
 (0)