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
In ROCm compilers as of early 2024, the compiler force inlines everything.
While generally nice, this can be problematic for very large kernels in both compile and runtime, if we actually want to enforce a function call and jump.
We should investigate if we have places like this, GatherAndPush comes to mind for some of the larger runtime combinations, where we want to add a AMREX_NO_INLINE to prevent this.
To be evaluated. Thanks to @zingale for bringing this up.
The text was updated successfully, but these errors were encountered:
In ROCm compilers as of early 2024, the compiler force inlines everything.
While generally nice, this can be problematic for very large kernels in both compile and runtime, if we actually want to enforce a function call and jump.
We should investigate if we have places like this,
GatherAndPush
comes to mind for some of the larger runtime combinations, where we want to add aAMREX_NO_INLINE
to prevent this.To be evaluated. Thanks to @zingale for bringing this up.
The text was updated successfully, but these errors were encountered: