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
It should instead create only one new symbol per interpolated symbol and reuse it for multiple interpolations of the same symbol.
The current situation can lead to errors in subsequent code generation as for example here:
julia>@benchmark@parallel ∇=($A->$Ā, $B->$B̄) f!($A, $B, $a) # automatic differentiation of f!
ERROR: LoadError: KeywordArgumentError: variable ##A#440 in ((var"##A#440"->begin#= REPL[18]:1 =#var"##Ā#441"end), (var"##B#442"->begin#= REPL[18]:1 =#var"##B̄#443"end)) is not a positional argument of the kernel call f!(var"##A#444", var"##B#445", var"##a#446").
@benchmark should generate the following in this case (reuse var"##A#440" and var"##B#442"):
It should instead create only one new symbol per interpolated symbol and reuse it for multiple interpolations of the same symbol.
The current situation can lead to errors in subsequent code generation as for example here:
@benchmark
should generate the following in this case (reusevar"##A#440"
andvar"##B#442"
):The text was updated successfully, but these errors were encountered: