EnzymeAD / EnzymeAD/Enzyme-JAX

Index analysis of while dynamic slice

Open
#1,752 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
131
Forks
53
Avg merge
1d 10h
Merged PRs (30d)
193

Description

If we modify a specific index of a tensor and all reads to that tensor are performed prior to the write we can replace the slice operand with the value outside the loop

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue describes index analysis for a while loop with a dynamic slice, but names no file, test, or entry point. Locate the relevant analysis in Enzyme-JAX and establish a reproducer for the stated read-before-write case. Done means the slice operand can be replaced outside the loop when the stated conditions hold.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.