Negative loop increment?
Open
- Dominant language
- Python
- Stars
- 636
- Forks
- 81
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 7
Description
Hi,
Does loopy support scheduling to negative loop increment? I tried the following:
```python
import numpy as np
import pyopencl as cl
import pyopencl.array
import pyopencl.clrandom
import loopy as lp
lp.set_caching_enabled(False)
from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2
from warnings import filterwarnings, catch_warnings
filterwarnings('error', category=lp.LoopyWarning)
ctx = cl.create_some_context(interactive=True)
queue = cl.CommandQueue(ctx)
n = 1000
a_bk = cl.array.arange(queue, n, dtype=np.float32)
a = a_bk.copy()
knl = lp.make_kernel(
"{ [i]: 0<=i
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.