Out of curiosity, why are SYCL::buffers limited to 3 dimensions? Is it straightforward to increase this to an arbitrary dimension as a header file? This would be useful for migrating and using tensors larger than 3 dimensions
Hi @rubikssolver4,
ultimately the reason is that a lot of the history lies in 3D graphics, and this has influenced the design (and in many cases the hardware). If I remember correctly, there was talk of trying to create a span-like interface that would allow for more arbitrary numbers of dimensions, but I don’t know the status of that idea.
I don’t know enough about the implementation to say, but I don’t think accessors will work if you just start changing the upper dimension size.