- cupyx.jit.range(*args, unroll=None) = <cupyx.jit._builtin_funcs.RangeFunc object>¶
Range with loop unrolling support.
If True, add
#pragma unrolldirective before the loop.
If False, add
#pragma unroll(1)directive before the loop to disable unrolling.
If an int, add
#pragma unroll(n)directive before the loop, where the integer
nmeans the number of iterations to unroll.
If None (default), leave the control of loop unrolling to the compiler (no