Skip to content

Commit

Permalink
.github/workflows/windows.yml: upgrade hip to 5.7.0; added support fo…
Browse files Browse the repository at this point in the history
…r gfx1102
  • Loading branch information
WolframRhodium committed Jan 21, 2024
1 parent 05dc5a1 commit 8ab2b6f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ jobs:
uses: actions/cache@v3
with:
path: C:\Program Files\AMD\ROCM
key: ${{ runner.os }}-rocm-5.5.1
key: ${{ runner.os }}-rocm-5.7.0

- name: Setup HIP
if: steps.cache-hip.outputs.cache-hit != 'true'
shell: pwsh
run: |
curl -s -o hip_installer.exe -L https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-23.Q3-WinSvr2022-For-HIP.exe
curl -s -o hip_installer.exe -L https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-23.Q4-WinSvr2022-For-HIP.exe
Start-Process hip_installer.exe -ArgumentList '-install' -NoNewWindow -Wait
- name: Configure (HIP)
Expand All @@ -121,10 +121,11 @@ jobs:
-D ENABLE_CPU=OFF
-D ENABLE_HIP=ON
-D VAPOURSYNTH_INCLUDE_DIRECTORY="$(pwd)\vapoursynth\include"
-D CMAKE_CXX_COMPILER="C:/Program Files/AMD/ROCm/5.5/bin/clang++.exe"
-D CMAKE_CXX_COMPILER="C:/Program Files/AMD/ROCm/5.7/bin/clang++.exe"
-D CMAKE_CXX_FLAGS="-ffast-math -munsafe-fp-atomics -Rpass-analysis=kernel-resource-usage"
-D HIP_DIR="C:/Program Files/AMD/ROCm/5.5/lib/cmake/hip"
-D GPU_TARGETS="gfx1030;gfx1032;gfx1100"
-D HIP_DIR="C:/Program Files/AMD/ROCm/5.7/lib/cmake/hip"
-D HIP_PLATFORM=amd
-D GPU_TARGETS="gfx1030;gfx1032;gfx1100;gfx1102"
-D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded

- name: Build (HIP)
Expand Down

0 comments on commit 8ab2b6f

Please sign in to comment.