Skip to content

Add windows-amd and windows-nvidia GitHub workflows for the two new machines #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Aug 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build-and-test-callable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ on:
required: true
type: choice
options:
- macOS
- GPU-Intel
- GPU-NV
- macos
- windows-amd
- windows-intel
- windows-nvidia
LLVM-ExtraCMakeArgs:
description: 'Extra CMake Args for LLVM'
required: false
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/pr-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,22 @@ jobs:
fail-fast: false
matrix:
SKU: [windows-intel]
TestTarget: [check-hlsl-d3d12, check-hlsl-warp-d3d12, check-hlsl-vk, check-hlsl-clang-d3d12, check-hlsl-clang-warp-d3d12, check-hlsl-clang-vk]
TestTarget: [check-hlsl-d3d12, check-hlsl-vk, check-hlsl-clang-d3d12, check-hlsl-clang-vk]

uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: ${{ matrix.SKU }}
TestTarget: ${{ matrix.TestTarget }}
OffloadTest-branch: ${{ github.event.pull_request.head.sha }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On

Exec-Tests-Windows-Warp:
strategy:
fail-fast: false
matrix:
SKU: [windows-amd]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how to pick a SKU randomly or based on availability, so I picked the AMD machine because it has the better CPU and the most RAM to work with between the NVIDIA and AMD machines.

I'm not sure yet what the specs of the Intel machine are, nor if we would would want to keep running the Warp tests on it because it's not a lab machine.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable. The Intel machine I have is old and slow, so doing less on it is probably good.

TestTarget: [check-hlsl-warp-d3d12, check-hlsl-clang-warp-d3d12]

uses: ./.github/workflows/build-and-test-callable.yaml
with:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/windows-amd-clang-d3d12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Windows D3D12 AMD Clang

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-D3D12-AMD-Clang:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-amd
TestTarget: check-hlsl-clang-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
20 changes: 20 additions & 0 deletions .github/workflows/windows-amd-clang-vk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Windows Vulkan AMD Clang

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-VK-AMD-Clang:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-amd
TestTarget: check-hlsl-clang-vk
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-intel
SKU: windows-amd
TestTarget: check-hlsl-clang-warp-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
21 changes: 21 additions & 0 deletions .github/workflows/windows-amd-dxc-d3d12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Windows D3D12 AMD DXC

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 * * * *' # run every 30 minutes

jobs:
Windows-D3D12-AMD-DXC:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-amd
BuildType: Debug
TestTarget: check-hlsl-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
21 changes: 21 additions & 0 deletions .github/workflows/windows-amd-dxc-vk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Windows Vulkan AMD DXC

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-VK-AMD-DXC:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-amd
BuildType: Debug
TestTarget: check-hlsl-vk
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-intel
SKU: windows-amd
BuildType: Debug
TestTarget: check-hlsl-warp-d3d12
OffloadTest-branch: ${{ github.ref }}
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/windows-nvidia-clang-d3d12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Windows D3D12 NVIDIA Clang

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-D3D12-NVIDIA-Clang:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-nvidia
TestTarget: check-hlsl-clang-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
20 changes: 20 additions & 0 deletions .github/workflows/windows-nvidia-clang-vk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Windows Vulkan NVIDIA Clang

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-VK-NVIDIA-Clang:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-nvidia
TestTarget: check-hlsl-clang-vk
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DOFFLOADTEST_USE_CLANG_TIDY=On
21 changes: 21 additions & 0 deletions .github/workflows/windows-nvidia-dxc-d3d12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Windows D3D12 NVIDIA DXC

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 * * * *' # run every 30 minutes

jobs:
Windows-D3D12-NVIDIA-DXC:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-nvidia
BuildType: Debug
TestTarget: check-hlsl-d3d12
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
21 changes: 21 additions & 0 deletions .github/workflows/windows-nvidia-dxc-vk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Windows Vulkan NVIDIA DXC

permissions:
contents: read
checks: write

on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *' # run every 2 hours

jobs:
Windows-VK-NVIDIA-DXC:
uses: ./.github/workflows/build-and-test-callable.yaml
with:
OS: windows
SKU: windows-nvidia
BuildType: Debug
TestTarget: check-hlsl-vk
OffloadTest-branch: ${{ github.ref }}
LLVM-ExtraCMakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ Experimental Runtime test suite for HLSL

| Testing Machine | DXC | Clang |
|-----------------|-----|-------|
| Windows DirectX12 AMD GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-dxc-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-clang-d3d12.yaml/badge.svg) |
| Windows DirectX12 Intel GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-dxc-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-clang-d3d12.yaml/badge.svg) |
| Windows DirectX12 Warp | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-dxc-warp-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-clang-warp-d3d12.yaml/badge.svg) |
| Windows DirectX12 NVIDIA GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-nvidia-dxc-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-nvidia-clang-d3d12.yaml/badge.svg) |
| Windows DirectX12 Warp | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-dxc-warp-d3d12.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-clang-warp-d3d12.yaml/badge.svg) |
| Windows Vulkan AMD GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-dxc-vk.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-amd-clang-vk.yaml/badge.svg) |
| Windows Vulkan Intel GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-dxc-vk.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-intel-clang-vk.yaml/badge.svg) |
| Windows Vulkan NVIDIA GPU | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/windows-nvidia-dxc-vk.yaml/badge.svg) | ![Clang](https://github.com/llvm/offload-test-suite/actions/workflows/windows-nvidia-clang-vk.yaml/badge.svg) |
| macOS Apple M1 | ![DXC](https://github.com/llvm/offload-test-suite/actions/workflows/macos-dxc-mtl.yaml/badge.svg) | ![Clang & DXC](https://github.com/llvm/offload-test-suite/actions/workflows/macos-clang-mtl.yaml/badge.svg) |


Expand Down
19 changes: 19 additions & 0 deletions docs/BuildMachineInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Build Machine Information

## Windows AMD GPU

* CPU: AMD Ryzen 7 9700X
* GPU: AMD Radeon RX 9070
* RAM: 32 GiB

## Windows Intel GPU

* CPU:
* GPU: Intel UHD Graphics 630
* RAM:

## Windows NVIDIA GPU

* CPU: Intel(R) Core(TM) i5-14400F
* GPU: NVIDIA GeForce RTX 5070
* RAM: 16 GiB
Loading