[TIR] Fix reverse_compute_at for trivial region with trivial block var#11234
Conversation
|
CUDA will call |
5fba48d to
42231b8
Compare
|
Reading the cryptic error message, it seems that the |
In |
|
That makes a lot of sense @wrongtest |
apache#11234) * [TIR] Fix reverse_compute_at for trivial region with trivial block var * Prevent handle arithmetics
apache#11234) * [TIR] Fix reverse_compute_at for trivial region with trivial block var * Prevent handle arithmetics
This PR fixed
compute_at/reverse_compute_atwhen block access regions contain constants (e.g.A[0, vi, vj]).Background:
#11187 added additional simplification when creating prim func from TE. This may result in block var with constant binding values simplified.
cc @junrushao1994 @spectrometerHBH @zxybazh @shingjan