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 | # Omega runtime R1 (omega-mv#594): the Runtime API manifest checked against the headers. Host only, no GPU, no physics checkout. |
| 3 | # Picked up by `-include mk/*.mk` at the top of the Makefile, so no extra include line is needed. |
| 4 | RUNTIME_API_MANIFEST ?= docs/runtime/omega_runtime_api.manifest |
| 5 | RUNTIME_API_MD ?= docs/runtime/API.md |
| 6 | RUNTIME_API_WORK ?= $(OUT_DIR)/runtime-api |
| 7 | test-runtime-api: |
| 8 | CC="$(CC)" tools/runtime_api_check.sh $(RUNTIME_API_MANIFEST) . $(RUNTIME_API_WORK)/real $(RUNTIME_API_MD) |
| 9 | CC="$(CC)" tools/runtime_api_negative.sh $(RUNTIME_API_MANIFEST) . $(RUNTIME_API_WORK) $(RUNTIME_API_MD) |
| 10 | |
| 11 | # The version-bump check: the manifest against the one on RUNTIME_API_BASE (a git revision; CI passes the pull request's |
| 12 | # base). Fails when an entry changed without the bump docs/runtime/API.md section 2 asks for. Host only. |
| 13 | RUNTIME_API_BASE ?= origin/main |
| 14 | .PHONY: test-runtime-api test-runtime-api-semver |
| 15 | test-runtime-api-semver: |
| 16 | mkdir -p $(RUNTIME_API_WORK) |
| 17 | git show $(RUNTIME_API_BASE):$(RUNTIME_API_MANIFEST) > $(RUNTIME_API_WORK)/base.manifest |
| 18 | tools/runtime_api_semver.sh $(RUNTIME_API_WORK)/base.manifest $(RUNTIME_API_MANIFEST) |