Open cyrush opened 9 months ago
strides are in bytes, but per element strides are convenient when adapting to many apis.
caveat: its possible that byte-strides may not be element aligned -- also figure out how to identify this case
DataType::is_stride_element_aligned(); DataType::is_stride_aligned(index_t nbytes);
strides are in bytes, but per element strides are convenient when adapting to many apis.
caveat: its possible that byte-strides may not be element aligned -- also figure out how to identify this case