From 17ee8a723d35558c1dd7816a82185f507a6b0c19 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Sat, 21 Sep 2024 22:12:57 -0700 Subject: [PATCH] fix typo --- .github/workflows/cuda.yml | 8 ++++++-- .github/workflows/hip.yml | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index aac137b..99a5b1d 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -42,6 +42,8 @@ jobs: export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} which nvcc || echo "nvcc not in PATH!" + cmake --version + mkdir build cd build cmake .. \ @@ -53,7 +55,7 @@ jobs: make install Tutorials-cmake: - name: CUDA Tests & CMake + name: CUDA Tutorials & CMake runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -66,6 +68,8 @@ jobs: export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} which nvcc || echo "nvcc not in PATH!" + cmake --version + mkdir build cd build cmake .. \ @@ -79,7 +83,7 @@ jobs: mkdir build cd build cmake .. \ - -DCMAKE_PREFIX_PATH=$(realpath ../../../cuda_installdir) + -DCMAKE_PREFIX_PATH=$(realpath ../../../cuda_installdir) \ -DENABLE_CUDA=ON \ -DCMAKE_CUDA_ARCHITECTURES=80 make -j4 VERBOSE=ON diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index a2bc9a7..ba038ab 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -39,6 +39,7 @@ jobs: run: | export PATH=/opt/rocm/bin:$PATH hipcc --version + cmake --version mkdir build cd build @@ -51,7 +52,7 @@ jobs: make install Tutorials-cmake: - name: HIP Tests & CMake + name: HIP Tutorials & CMake runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -62,6 +63,7 @@ jobs: run: | export PATH=/opt/rocm/bin:$PATH hipcc --version + cmake --version mkdir build cd build @@ -76,7 +78,7 @@ jobs: mkdir build cd build cmake .. \ - -DCMAKE_PREFIX_PATH=$(realpath ../../../hip_installdir) + -DCMAKE_PREFIX_PATH=$(realpath ../../../hip_installdir) \ -DENABLE_HIP=ON \ -DCMAKE_HIP_ARCHITECTURES=gfx90a make -j4 VERBOSE=ON