Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust debug info argument for HIP compiler (AMReX-Codes#3761)
It is reported in AMReX-Codes#3759 that ROCm 5.3.0-5.7.1 fail at the link stage since AMReX-Codes#3742. Replacing `-g` with `-gline-tables-only -fdebug-info-for-profiling` solves the issue. Note that for Intel SYCL compilers, we use these two arguments too. No changes are made to CMake because in Realease build type, no debug info is added.
- Loading branch information