Strided.jl icon indicating copy to clipboard operation
Strided.jl copied to clipboard

Support for ReinterpretedArray

Open amilsted opened this issue 3 years ago • 1 comments

Is there any scope for supporting ReinterpretedArray if it is a StridedReinterpretedArray? Not sure it would be performant, but I am thinking about how to implement fully type-inferred array caching (a la TensorOperations, but without having to resort to Dict{...,Any}).

amilsted avatar Jul 06 '22 22:07 amilsted

I guess that could be done, but it's quite a bit harder than the other transformations that preserve stridedness. I guess it would require reimplenting quite a bit of the ReinterpretArray logic.

Jutho avatar Jul 07 '22 08:07 Jutho