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
A few recommendations that we should always keep in mind to avoid any performance degradation that we may have introduced in some recent developments:
Try to avoid:
Closures over global variables (FT)
Use of Val when not necessary-- these symbols are not needed by the compiler, so there's no need to add them just so that we can specialize on them. (this was introduced in the update_field! in Add flux module #320 )
Use of parent, when not necessary (though, we saw that when exchanging quantities from fields that are not from the same space, or are from the same space but not instance (see Make swap_spaces not allocating and more GPU compatible #249 for reference) this is not possible)
The text was updated successfully, but these errors were encountered:
A few recommendations that we should always keep in mind to avoid any performance degradation that we may have introduced in some recent developments:
Try to avoid:
Val
when not necessary-- these symbols are not needed by the compiler, so there's no need to add them just so that we can specialize on them. (this was introduced in theupdate_field!
in Add flux module #320 )swap_spaces
not allocating and more GPU compatible #249 for reference) this is not possible)The text was updated successfully, but these errors were encountered: