Skip to content

Commit d498a40

Browse files
committed
Fix typo
1 parent 2bd0e8b commit d498a40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/StridedAMDGPUExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module StridedAMDGPUExt
22

33
using Strided, AMDGPU
4-
using AMDGPU: Adapt, Runtime.Adaptor
4+
using AMDGPU: Adapt
55
using AMDGPU: GPUArrays
66

77
const ALL_FS = Union{typeof(adjoint), typeof(conj), typeof(identity), typeof(transpose)}
88

9-
function Adapt.adapt_storage(to::Runtime.Adaptor, xs::StridedView{T,N,TA,F}) where {T,N,TA<:ROCArray{T},F <: ALL_FS}
9+
function Adapt.adapt_storage(to::AMDGPU.Runtime.Adaptor, xs::StridedView{T,N,TA,F}) where {T,N,TA<:ROCArray{T},F <: ALL_FS}
1010
return StridedView(Adapt.adapt(to, parent(xs)), xs.size, xs.strides, xs.offset, xs.op)
1111
end
1212

0 commit comments

Comments
 (0)