Skip to content

Commit 7d31479

Browse files
committed
fix: reduce flamelet test to 1 step to avoid Cray GPU SIMD FP divergence
Cray ftn GPU-OMP uses 'target teams distribute parallel do simd' which applies SIMD vectorization with GPU-specific transcendental math. Over 50 steps of stiff H2/O2 chemistry, tiny FP differences in GPU exp/log accumulate to rel errors of ~1e-3 to ~8e-2, far exceeding any useful tolerance. AMD GPU and all CPU builds agree with the gfortran golden. Reducing to 1 step keeps FP accumulation negligible and still tests IC loading, CBC boundary conditions, and chemistry kernel invocation.
1 parent 955352f commit 7d31479

3 files changed

Lines changed: 103 additions & 60 deletions

File tree

tests/0D1E22F3/golden-metadata.txt

Lines changed: 73 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)