set CMAKE_HIP_ARCHITECTURES at configure time so that build matches

desired execution environment

Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
이 커밋은 다음에 포함됨:
Karl W Schulz
2024-06-03 17:40:02 -05:00
부모 c31ecf2a90
커밋 18f96b6b23
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
+3 -2
파일 보기
@@ -81,11 +81,12 @@ jobs:
mkdir build
cd build
ml cmake
cmake -DENABLE_TESTS=ON -DENABLE_COVERAGE=ON -DPYTEST_NUMPROCS=8 ..
cmake -DENABLE_TESTS=ON -DCMAKE_HIP_ARCHITECTURES=$CI_ARCH -DENABLE_COVERAGE=ON -DPYTEST_NUMPROCS=8 ..
- name: Build tests and Run [profile] mode
run: |
cd build
srun -N 1 -J omniperf -p $CI_QUEUE -t 00:20:00 make; ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile
make
srun -N 1 -J omniperf -p $CI_QUEUE -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile
- name: Run [analyze workloads] mode
if: '!cancelled()'
run: |