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 / c3.yml
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # Bar C3: build the GEMM and scan tests on an arm64 runner, run their host and warp-simulator tiers, and keep the |
| 3 | # binaries so the chip tier can run on the GB10 (under flock /tmp/aien-gb10.lock) from the exact CI build. |
| 4 | name: c3 |
| 5 | on: |
| 6 | push: |
| 7 | branches: ['c3/**'] |
| 8 | pull_request: |
| 9 | paths: ['src/**', 'tests/**', 'mk/**', 'Makefile', '.github/workflows/c3.yml'] |
| 10 | workflow_dispatch: |
| 11 | permissions: |
| 12 | contents: read |
| 13 | jobs: |
| 14 | sim: |
| 15 | runs-on: ubuntu-24.04-arm |
| 16 | timeout-minutes: 30 |
| 17 | steps: |
| 18 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 19 | with: |
| 20 | persist-credentials: false |
| 21 | - name: build |
| 22 | run: make -j4 build/gpu_scan_test build/gpu_gemm_test build/gpu_tc_peak_test build/gpu_qmma_probe_test |
| 23 | - name: simulator tiers |
| 24 | run: | |
| 25 | set -o pipefail |
| 26 | make test-gpu-scan 2>&1 | tee c3-scan-sim.log |
| 27 | make test-gpu-gemm 2>&1 | tee c3-gemm-sim.log |
| 28 | tail -1 c3-scan-sim.log | grep -q '^C3 scan sim: PASS' |
| 29 | tail -1 c3-gemm-sim.log | grep -q '^C3 gemm sim: PASS' |
| 30 | - name: argument refusals |
| 31 | run: | |
| 32 | ! ./build/gpu_gemm_test --part 4/4 |
| 33 | ! ./build/gpu_gemm_test --ceiling 0,1 |
| 34 | ! ./build/gpu_scan_test --max-log2 29 |
| 35 | - name: binaries |
| 36 | run: | |
| 37 | echo "${GITHUB_SHA}" > c3-build-sha.txt |
| 38 | sha256sum build/gpu_scan_test build/gpu_gemm_test build/gpu_tc_peak_test build/gpu_qmma_probe_test | tee c3-bin.sha256 |
| 39 | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
| 40 | with: |
| 41 | name: c3-arm64 |
| 42 | path: | |
| 43 | build/gpu_scan_test |
| 44 | build/gpu_gemm_test |
| 45 | build/gpu_tc_peak_test |
| 46 | build/gpu_qmma_probe_test |
| 47 | c3-*.log |
| 48 | c3-bin.sha256 |
| 49 | c3-build-sha.txt |