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 / host.yml
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # Host CI: builds libomega_gpu.a on an arm64 runner and uploads it with its sha256 identity. `make test` runs in |
| 3 | # ci.yml (host-tests, judged by the final verdict line), so it is not repeated here. |
| 4 | # Chip results never come from here; they come from the GB10 under its lock. |
| 5 | name: host |
| 6 | on: |
| 7 | pull_request: |
| 8 | push: |
| 9 | branches: [main] |
| 10 | workflow_dispatch: |
| 11 | permissions: |
| 12 | contents: read |
| 13 | jobs: |
| 14 | library: |
| 15 | runs-on: ubuntu-24.04-arm |
| 16 | timeout-minutes: 20 |
| 17 | steps: |
| 18 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 19 | with: |
| 20 | persist-credentials: false |
| 21 | - name: Toolchain |
| 22 | run: | |
| 23 | cc --version | head -1 |
| 24 | make --version | head -1 |
| 25 | - name: Build libomega_gpu.a |
| 26 | run: make -j"$(nproc)" OUT_DIR=build build/libomega_gpu.a |
| 27 | - name: Archive identity |
| 28 | run: | |
| 29 | { |
| 30 | echo "cudapp $(git rev-parse HEAD)" |
| 31 | echo "sha256 $(sha256sum build/libomega_gpu.a | cut -d' ' -f1)" |
| 32 | echo "cc $(cc --version | head -1)" |
| 33 | echo "members $(ar t build/libomega_gpu.a | wc -l)" |
| 34 | } | tee build/libomega_gpu.identity |
| 35 | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
| 36 | with: |
| 37 | name: libomega_gpu-${{ github.sha }} |
| 38 | path: | |
| 39 | build/libomega_gpu.a |
| 40 | build/libomega_gpu.identity |