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

23 lines · 1800 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2# Seeded Omega units behind the host tools (om/tools/*.om). Each test-tools-om-<unit> target runs the
3# unit's differential against its C oracle (the default-OFF CUDAPP_MIGRATION_PENDING_C_TOOLS_<PART> build),
4# a flipped-record negative control and recompiled .om mutants through the pinned omc and bridge
5# (OMEGA_OMC, OMEGA_BRIDGE). Host only; run under bwrap/taskset (tests/tools-om/README.md).
6.PHONY: test-tools-om test-tools-om-own30b test-tools-om-doctor test-tools-om-fmt test-tools-om-ampcorp \
7 test-tools-om-ampfam test-tools-om-artexp
8test-tools-om-own30b: tools/own30b_decode_profile.c src/cudapp_om_own30b_prof.c tests/tools-om/own30b_diff.c
9 @mkdir -p $(OUT_DIR)
10 $(CC) $(CFLAGS) -DCUDAPP_MIGRATION_PENDING_C_TOOLS_OWN30B -c -o $(OUT_DIR)/own30b_decode_profile_c.o tools/own30b_decode_profile.c
11 sh tests/tools-om/own30b.sh
12test-tools-om-doctor: tools/doctor/cudapp_doctor.c src/cudapp_om_doctor.c om/tools/fmt.om om/tools/doctor.om tests/tools-om/doctor.sh
13 sh tests/tools-om/doctor.sh
14test-tools-om-fmt: om/tools/fmt.om tests/tools-om/fmt_diff.c tests/tools-om/fmt.sh
15 sh tests/tools-om/fmt.sh
16test-tools-om-ampcorp: tools/ampere_corpus.c src/cudapp_om_ampcorp.c om/tools/ampcorp.om tests/tools-om/ampcorp_diff.c tests/tools-om/ampcorp.sh
17 sh tests/tools-om/ampcorp.sh
18test-tools-om-ampfam: tools/ampere_families.c src/cudapp_om_ampfam.c om/tools/ampfam.om tests/tools-om/ampfam_stub.c tests/tools-om/ampfam.sh
19 sh tests/tools-om/ampfam.sh
20test-tools-om-artexp: tools/artifact_export.c src/cudapp_om_artexp.c om/tools/artexp.om tests/tools-om/artexp.sh
21 sh tests/tools-om/artexp.sh
22test-tools-om: test-tools-om-own30b test-tools-om-fmt test-tools-om-doctor test-tools-om-ampcorp test-tools-om-ampfam \
23 test-tools-om-artexp