What is the relationship between NDBuffer
and LayoutTensor
? Most of the MAX AI kernels seem to use NDBuffer
, but the kernel puzzles seem to prefer LayoutTensor
. From my understanding of LayoutTensor
, it’s a type designed to facilitate multi-dimensional indexing (but it carries a pointer to some underlying buffer).
How do the MAX AI kernels handle indexing? Is the idea that these will be updated to use LayoutTensor
? Or perhaps many of them can’t operate on the underlying NDBuffer
without worrying about indexing.