CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / .github / workflows / c5-sharing.yml
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # C5 sharing: build on a GitHub arm64 runner (the Spark builds here while its load is high): the imported isolation test, |
| 3 | # its chip-values mutant, and tools/c5/c5_matrix.om with the pinned seeded omc. Runs the host/simulator tier and the |
| 4 | # orchestrator selftest with stand-in processes, and uploads the chip binaries with their sha256 for tools/c5/chip.sh. |
| 5 | # No GPU here: host and simulator only. |
| 6 | name: c5-sharing |
| 7 | on: |
| 8 | pull_request: |
| 9 | paths: ['src/omega_gpu_session.*', 'src/omega_gpu_platform_linux.*', 'src/omega_gpu_cmdlist.*', 'tests/gpu_isolation_test.c', 'Makefile', 'mk/**', 'tools/c5/**', '.github/workflows/c5-sharing.yml'] |
| 10 | workflow_dispatch: |
| 11 | permissions: |
| 12 | contents: read |
| 13 | jobs: |
| 14 | build: |
| 15 | runs-on: ubuntu-24.04-arm |
| 16 | steps: |
| 17 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 18 | with: |
| 19 | persist-credentials: false |
| 20 | ref: ${{ github.event.pull_request.head.sha || github.sha }} |
| 21 | - run: sh tools/c5/build.sh |
| 22 | - run: ./build/gpu_isolation_test --host-only |
| 23 | - run: sh tools/c5/selftest.sh |
| 24 | - run: sha256sum build/gpu_isolation_test build/gpu_isolation_test_mutant build/c5_matrix | tee build/c5.sha256 |
| 25 | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
| 26 | with: |
| 27 | name: c5-sharing-${{ github.event.pull_request.head.sha || github.sha }} |
| 28 | path: | |
| 29 | build/gpu_isolation_test |
| 30 | build/gpu_isolation_test_mutant |
| 31 | build/c5_matrix |
| 32 | build/c5.sha256 |