An error occurred while fetching the assigned milestone of the selected merge_request.
This MR introduces some additions and fixes for generating CPU loops with step sizes > 1:
create_kernel
function now exposes a flag to disable the double field write checkget_base_buffer_index
to use pure integer arithmetic, and corrected the computation of the buffer base index
to correctly incorporate loop step sizes. Added test case to check correctness.evalf
functionality to integer division sympy function int_div
(its absence lead to an infinite recursion during code generation).CustomSympyPrinter._typed_number
.