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
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # Portable backend, first non-NVIDIA code path (docs/ARCHITECTURE.md §3, PROPOSED split). |
| 3 | # OMC is the absolute path to the pinned seeded omc (aien-dev/omega-mv 369dbc96 seed/out/omc). |
| 4 | # make doctor OMC=... also prints the target table from backend/targets.om |
| 5 | # make test-multitarget OMC=... host gate tests/multitarget/run.sh (SPIR-V on PoCL/lavapipe CPUs, |
| 6 | # ORACLE gfx1151 HSACO validation, every negative control). Not in |
| 7 | # HOST_TESTS: it needs omc, spirv-val, llvm-mc and ld.lld; a missing |
| 8 | # tool reports NOT_RUN. Every GPU target stays hardware NOT_RUN. |
| 9 | # The C launcher tools/multitarget/spirv-host.c is migration-pending (default OFF): pass |
| 10 | # CUDAPP_MIGRATION_PENDING_SPIRV_HOST=1 plus POCL_LIBRARY to execute the modules. Its .om successors are |
| 11 | # backend/opencl/host.om and backend/vulkan/host.om once Omega has checked shared-library calls |
| 12 | # (E2, aien-dev/omega-mv#888). |
| 13 | OMC ?= |
| 14 | .PHONY: doctor-targets test-multitarget |
| 15 | doctor-targets: |
| 16 | sh tools/multitarget/targets-doctor.sh '$(OMC)' $(OUT_DIR)/multitarget |
| 17 | test-multitarget: |
| 18 | @test -n '$(OMC)' || { echo 'NOT_RUN: test-multitarget needs OMC=/absolute/path/to/pinned/omc'; exit 77; } |
| 19 | sh tests/multitarget/run.sh '$(OMC)' |