Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 22, 2024
1 parent 60cc1b8 commit 17ee8a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. \
Expand All @@ -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
Expand All @@ -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 .. \
Expand All @@ -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
6 changes: 4 additions & 2 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
run: |
export PATH=/opt/rocm/bin:$PATH
hipcc --version
cmake --version
mkdir build
cd build
Expand All @@ -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
Expand All @@ -62,6 +63,7 @@ jobs:
run: |
export PATH=/opt/rocm/bin:$PATH
hipcc --version
cmake --version
mkdir build
cd build
Expand All @@ -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

0 comments on commit 17ee8a7

Please sign in to comment.