inducer / inducer/loopy

While loops in IR

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

Description

Background:
- @sv2518 is implementing Conjugate Gradient as a loopy kernel. Using CInstructions for the `break` statements doesn't help as this iterative solve kernel would be inlined. Inlining CInstructions cannot be supported as performing substitution mapping on pure strings is non-trivial.
- https://github.com/inducer/pytato/issues/23 needs while loops too.

Things to figure out:
- [ ] Syntax in loopy lang
- [ ] Restrictions on the implementation tags of the loops nested outside the `While`.

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.