Repository navigation
Add skip_h2d_for_constants to keep constants in device memory (#24144) #28009
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Vulkan Backend | |
| on: | |
| schedule: | |
| - cron: 0 2 * * * | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| tags: | |
| - ciflow/nightly/* | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Default coverage: builds + runs on SwiftShader (software Vulkan) on CPU | |
| # runners. Runs on every PR and nightly. | |
| test-vulkan: | |
| uses: ./.github/workflows/_test_backend.yml | |
| permissions: | |
| id-token: write | |
| contents: read | |
| with: | |
| backend: vulkan | |
| flows: >- | |
| ${{ github.event_name == 'pull_request' | |
| && '["vulkan"]' | |
| || '["vulkan", "vulkan_static_int8_per_channel"]' }} | |
| ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | |
| timeout: 120 | |
| run-linux: true | |
| # Real-GPU (NVIDIA) and Windows MSVC coverage live in vulkan.yml, which gates | |
| # those scarce/expensive runners behind path filtering. |