StrideArraysCore
StrideArraysCore.rank_to_sortperm
— Methodrank_to_sortperm(::NTuple{N,Int}) -> NTuple{N,Int}
Returns the sortperm
of the stride ranks.
StrideArraysCore.@gc_preserve
— Macro@gc_preserve foo(A, B, C)
Apply to a single, non-nested, function call. It will GC.@preserve
all the arguments, and substitute suitable arrays with PtrArray
s. This has the benefit of potentially allowing statically sized mutable arrays to be both stack allocated, and passed through a non-inlined function boundary.