Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 27, 2023
1 parent 7728b8c commit 5a6d524
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NDTensors/ext/NDTensorsMetalExt/permutedims.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function Base.permutedims!(Edest::Exposed{<:MtlArray, <:Base.ReshapedArray}, Esrc::Exposed{<:MtlArray}, perm)
function Base.permutedims!(
Edest::Exposed{<:MtlArray,<:Base.ReshapedArray}, Esrc::Exposed{<:MtlArray}, perm
)
Eperm = expose(permutedims(Esrc, perm))
return copyto!(parent(Edest.object), Eperm.object)
end
Expand Down

0 comments on commit 5a6d524

Please sign in to comment.