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 / mk / codegen-base-om.mk
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | # CPU-only replay and byte-identical SASS/cubin comparison. Caller must use the documented bwrap wrapper. |
| 3 | CARRIED_HOST_TESTS += test-codegen-base-om |
| 4 | # The units check and the mutants execute the pinned AArch64 omc. Off a |
| 5 | # CUDAPP_OMC_HOST the comparison runs without them and run.sh prints NOT_RUN. |
| 6 | .PHONY: test-codegen-base-om test-codegen-base-om-mutants |
| 7 | test-codegen-base-om: |
| 8 | OMEGA_OMC="$(if $(CUDAPP_OMC_HOST),$(OMEGA_OMC))" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" sh tests/codegen_base/run.sh |
| 9 | ifeq ($(CUDAPP_OMC_HOST),1) |
| 10 | test-codegen-base-om-mutants: |
| 11 | OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" sh tests/codegen_base/run.sh --mutants |
| 12 | else |
| 13 | test-codegen-base-om-mutants: |
| 14 | @echo "$@: NOT_RUN (requires the pinned AArch64 omc; set OMEGA_OMC to a pin that executes on this host; not part of the portable host suite)" |
| 15 | @exit 2 |
| 16 | endif |