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 | CARRIED_HOST_TESTS += test-api-plan |
| 3 | .PHONY: test-api-plan test-api-plan-mutants |
| 4 | API_PLAN_SRCS = $(wildcard src/cudapp_om_api_*_plan.c) |
| 5 | $(OUT_DIR)/api_plan_unit: tests/runtime/api_plan_unit.c src/omega_api_plan.h src/cudapp_native.h $(API_PLAN_SRCS) | $(OUT_DIR) |
| 6 | $(CC) $(CFLAGS) -o $@ tests/runtime/api_plan_unit.c $(API_PLAN_SRCS) |
| 7 | test-api-plan: $(OUT_DIR)/api_plan_unit |
| 8 | ./$(OUT_DIR)/api_plan_unit |
| 9 | |
| 10 | # Source mutants execute the pinned AArch64 compiler; keep the portable carried |
| 11 | # differential separate so x86 host testing does not acquire that dependency. |
| 12 | test-api-plan-mutants: |
| 13 | OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" python3 tests/runtime/api_plan_mutants.py |