Skip to content

Commit bcb16d9

Browse files
.github/workflows/windows.yml: upgrade to hip 6.4.2; add support for rdna4 gpus
1 parent de84aed commit bcb16d9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/windows.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ jobs:
9494

9595
- name: Cache HIP
9696
id: cache-hip
97-
uses: actions/cache@v3
97+
uses: actions/cache@v4
9898
with:
9999
path: C:\Program Files\AMD\ROCM
100-
key: ${{ runner.os }}-rocm-6.2.4
100+
key: ${{ runner.os }}-rocm-6.4.2
101101

102102
- name: Setup HIP
103103
if: steps.cache-hip.outputs.cache-hit != 'true'
104104
shell: pwsh
105105
run: |
106-
curl -s -o hip_installer.exe -L https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q4-WinSvr2022-For-HIP.exe
106+
curl -s -o hip_installer.exe -L https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-25.Q3-Win10-Win11-For-HIP.exe
107107
Start-Process hip_installer.exe -ArgumentList '-install' -NoNewWindow -Wait
108108
109109
- name: Configure (HIP)
@@ -114,11 +114,11 @@ jobs:
114114
-D ENABLE_CPU=OFF
115115
-D ENABLE_HIP=ON
116116
-D VAPOURSYNTH_INCLUDE_DIRECTORY="$(pwd)\vapoursynth\include"
117-
-D CMAKE_CXX_COMPILER="C:/Program Files/AMD/ROCm/6.2/bin/clang++.exe"
117+
-D CMAKE_CXX_COMPILER="C:/Program Files/AMD/ROCm/6.4/bin/clang++.exe"
118118
-D CMAKE_CXX_FLAGS="-ffast-math -munsafe-fp-atomics -Rpass-analysis=kernel-resource-usage"
119-
-D HIP_DIR="C:/Program Files/AMD/ROCm/6.2/lib/cmake/hip"
119+
-D HIP_DIR="C:/Program Files/AMD/ROCm/6.4/lib/cmake/hip"
120120
-D HIP_PLATFORM=amd
121-
-D GPU_TARGETS="gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102"
121+
-D GPU_TARGETS="gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201"
122122
-D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
123123

124124
- name: Build (HIP)
@@ -130,7 +130,7 @@ jobs:
130130
- name: Cache SYCL
131131
if: false
132132
id: cache-sycl
133-
uses: actions/cache@v3
133+
uses: actions/cache@v4
134134
with:
135135
path: C:\Program Files (x86)\Intel\oneAPI
136136
key: ${{ runner.os }}-dpcpp-2024.0

0 commit comments

Comments
 (0)