Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace if-Conditions by Ternary Operators in Nabla (GridTools#1798)
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