[RFC] Access by indices and iteration on DynamicMemRefType

I’m giving a look at the DynamicMemRefType class inside the runtime library, and I see that it is missing all the methods that are instead on the StridedMemRefType class, namely access by indices and iteration capability.

Is it ok if I proceed implementing them? At the moment one can pass an unranked memref to the library, and thus obtain a “dynamic” memref descriptor, but then there would be no possibility to operate on its content.

1 Like

For who may be interested, here is the link for the patch proposal: ⚙ D131359 [MLIR] DynamicMemRefType: iteration and access by indices