|
68 | 68 | runner: '["Linux", "cuda"]' |
69 | 69 | image_options: -u 1001 --gpus all --cap-add SYS_ADMIN |
70 | 70 | target_devices: cuda:gpu |
| 71 | + - name: AMD/HIP |
| 72 | + runner: '["Linux", "amdgpu"]' |
| 73 | + image_options: -u 1001 --device=/dev/dri --device=/dev/kfd |
| 74 | + target_devices: hip:gpu |
| 75 | + reset_intel_gpu: false |
71 | 76 | - name: Intel Arc A-Series Graphics |
72 | 77 | runner: '["Linux", "arc"]' |
73 | 78 | image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN |
@@ -130,32 +135,6 @@ jobs: |
130 | 135 | # Run only if the PR does not have the 'ci-no-devigc' label. |
131 | 136 | skip_run: ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}} |
132 | 137 |
|
133 | | - test: |
134 | | - needs: [build, detect_changes] |
135 | | - if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }} |
136 | | - strategy: |
137 | | - fail-fast: false |
138 | | - matrix: |
139 | | - include: |
140 | | - - name: AMD/HIP |
141 | | - runner: '["Linux", "amdgpu"]' |
142 | | - image_options: -u 1001 --device=/dev/dri --device=/dev/kfd |
143 | | - target_devices: hip:gpu |
144 | | - |
145 | | - uses: ./.github/workflows/sycl-linux-run-tests.yml |
146 | | - with: |
147 | | - name: ${{ matrix.name }} |
148 | | - runner: ${{ matrix. runner }} |
149 | | - image_options: ${{ matrix.image_options }} |
150 | | - target_devices: ${{ matrix.target_devices }} |
151 | | - |
152 | | - ref: ${{ github.sha }} |
153 | | - |
154 | | - sycl_toolchain_artifact: sycl_linux_default |
155 | | - sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }} |
156 | | - sycl_toolchain_decompress_command: ${{ needs.build.outputs.artifact_decompress_command }} |
157 | | - |
158 | | - |
159 | 138 | test-perf: |
160 | 139 | needs: [build, detect_changes] |
161 | 140 | if: | |
|
0 commit comments