EnzymeAD/Reactant.jl

Warn the user when no MLIR code has been emitted

Open

#590 opened on Jan 21, 2025

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Julia (64 forks)github user discovery
good first issue

Repository metrics

Stars
 (336 stars)
PR merge metrics
 (Avg merge 2d 10h) (36 merged PRs in 30d)

Description

It's quite common to not be focused when coding and mistakenly pass the original arrays to compile instead of the converted ConcreteRArrays, which leads to no MLIR code and the result being hardcoded in the Thunk.

I think it would be a good idea to at least warn the user that no ConcreteRArray was detected when linearizing or that no MLIR code has been emitted.

Contributor guide