inducer / inducer/loopy

AssertionError when calling add_prefetch with SubArrayRefs

Open
#439 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
636
Forks
81
Avg merge
1d 19h
Merged PRs (30d)
7

Description

Attempting to add a prefetch to a kernel with a SubArrayRef leads to an assertion error. Some mapper is attempting to create a new SubArrayRef but passes `None` for both `swept_inames` and `subscript`.

Reproducer:
```python
import loopy as lp

child_knl = lp.make_function(
"[N] -> {[i]: 0<=i {[i]: 0<=i

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.