Hi,
On CPU this will raise an error as expected.
On CUDA, checking each index is problematic because of the async nature of the kernels and because it’s expensive. So the cuda kernel assumes correct indices.