Fix width-one iteration slices on GPU
- Oct 28, 2024
-
-
Frederik Hennig authored6f69c7b3
-
Frederik Hennig authoredf1def888
-
When iteration_slice
was specified, the GPU code generator used to handle integer slice components wrongly, setting start == stop
instead of stop == start + 1
. This MR fixes that and provides tests.
Also, this reveals a more fundamental problem with iteration slices on GPU; see #103