Skip to content

Commit

Permalink
Replace if-Conditions by Ternary Operators in Nabla (GridTools#1798)
Browse files Browse the repository at this point in the history
The unconditional shifts (unconditional loads from neighbor tables) seem
to help NVCC’s load hoisting and loop-invariant code motion in the case
of k-blocking. Increases performance by up to 8% on double precision and
up to 2.5% on single precision fused nabla implementations.
  • Loading branch information
fthaler authored Aug 12, 2024
1 parent ffcf790 commit daf2892
Show file tree
Hide file tree
Showing 7 changed files with 86,755 additions and 86,758 deletions.
Loading

0 comments on commit daf2892

Please sign in to comment.