llvm-project
247648e2 - [OpenMP][clang] Add ompx_fast_fp_atomics and ompx_safe_fp_atomics hints (#240415)

Commit
6 days ago
[OpenMP][clang] Add ompx_fast_fp_atomics and ompx_safe_fp_atomics hints (#240415) Add omp_sync_hint_t extensions that override -f[no-]atomic-ignore-denormal-mode (-m[no-]unsafe-fp-atomics) for a single atomic construct. The safe hint takes precedence if both are given. The fast flag results in a ~270x speedup on gfx90a. The hints allow for specific control over single atomic operations without needing the "big hammer" compilation flags. Claude assisted with this patch.
Author
Parents
Loading