From 6b6842d2dc0ec025e0d0434c99606b46c3c391d6 Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Tue, 20 Feb 2024 11:22:15 -0500 Subject: [PATCH] Disable force-inlining in HIP CI (#1487) Also remove COMP=gnu, since it's redundant, and bump up the number of parallel make jobs to 4. --- .github/workflows/hip.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 1115796868..b47892d4ed 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -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