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 / codegen-base-om.mk

16 lines · 917 bytes Raw Blame History
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.
3CARRIED_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
7test-codegen-base-om:
8 OMEGA_OMC="$(if $(CUDAPP_OMC_HOST),$(OMEGA_OMC))" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" sh tests/codegen_base/run.sh
9ifeq ($(CUDAPP_OMC_HOST),1)
10test-codegen-base-om-mutants:
11 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" sh tests/codegen_base/run.sh --mutants
12else
13test-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
16endif