Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Sep 21, 2023
1 parent 6b42956 commit fe470b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/ext/NDTensorsCUDAExt/adapt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buffertype(::NDTensorCuArrayAdaptor{B}) where {B} = B
function Adapt.adapt_storage(adaptor::NDTensorCuArrayAdaptor, xs::AbstractArray)
ElT = eltype(xs)
BufT = buffertype(adaptor)
return isbits(xs) ? xs : adapt(CuArray{ElT, 1, BufT},xs)
return isbits(xs) ? xs : adapt(CuArray{ElT,1,BufT}, xs)
end

function NDTensors.adapt_storagetype(
Expand Down

0 comments on commit fe470b7

Please sign in to comment.