Skip to content

Commit

Permalink
Disable force-inlining in HIP CI (#1487)
Browse files Browse the repository at this point in the history
Also remove COMP=gnu, since it's redundant, and bump up the number of parallel make jobs to 4.
  • Loading branch information
yut23 authored Feb 20, 2024
1 parent 32b2c42 commit 6b6842d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
- name: compile test_react with HIP (iso7)
run: |
cd unit_test/test_react
make COMP=gnu USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE NETWORK_DIR=iso7 -j 2
# -amdgpu-function-calls=true tells the compiler not to force-inline everything
make USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE NETWORK_DIR=iso7 EXTRACXXFLAGS='-mllvm -amdgpu-function-calls=true' -j 4
- name: compile test_react with HIP (ignition_reaclib/URCA-simple)
run: |
cd unit_test/test_react
make realclean
make COMP=gnu USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE NETWORK_DIR=ignition_reaclib/URCA-simple -j 2
make USE_HIP=TRUE USE_MPI=FALSE USE_OMP=FALSE USE_CUDA=FALSE NETWORK_DIR=ignition_reaclib/URCA-simple EXTRACXXFLAGS='-mllvm -amdgpu-function-calls=true' -j 4

0 comments on commit 6b6842d

Please sign in to comment.