interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / mk / runtime-r1.mk

18 lines · 1202 bytes Raw Blame History
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.
4RUNTIME_API_MANIFEST ?= docs/runtime/omega_runtime_api.manifest
5RUNTIME_API_MD ?= docs/runtime/API.md
6RUNTIME_API_WORK ?= $(OUT_DIR)/runtime-api
7test-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.
13RUNTIME_API_BASE ?= origin/main
14.PHONY: test-runtime-api test-runtime-api-semver
15test-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)