inducer / inducer/loopy

Allow ternaries in array shape expressions

Open
#232 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

[This comment](https://github.com/inducer/loopy/issues/229#issuecomment-781443305) shows an example where a, let's say, "odd" array shape results because Loopy picks an overapproximation when determining the shape expression from the access footprint. If we allowed conditionals to exactly round-trip `PwAff`s in shape expresions (or maybe just allow those to directly *be* shape expressions), we wouldn't need to overapproximate.

cc @kaushikcfd

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.