You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Porting UW showed than in dace:cpu, when a gtscript.function is called within a while the system allows itself to optimize code outside of the while loop, breaking control flow.
Use case from UW.
This works for tracer 15, slope is a gtscript.function:
FlorianDeconinck
changed the title
While loop and function create bad generation (dace:cpu)
[Bug] While loop and function create bad generation (dace:cpu)
Oct 4, 2024
Porting UW showed than in
dace:cpu
, when agtscript.function
is called within awhile
the system allows itself to optimize code outside of the while loop, breaking control flow.Use case from UW.
This works for tracer 15,
slope
is agtscript.function
:When written properly in a while loop, generated code is broken (
sstr0
is set outside of the loop!)The text was updated successfully, but these errors were encountered: