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 / standalone-oracles.mk

15 lines · 1229 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2# Scalar policy is portable. CUDA-header transports and native-emitter gates are
3# explicit focused targets, not new dependencies of the portable host suite.
4CARRIED_HOST_TESTS += test-standalone-oracles
5.PHONY: test-standalone-oracles test-standalone-oracles-family test-standalone-oracles-mutants
6$(OUT_DIR)/cudapp_om_standalone_oracles.o: CFLAGS += -ffp-contract=off
7$(OUT_DIR)/standalone-oracles: om/standalone-oracles/scalar-check.c om/standalone-oracles/oracle-c.c om/standalone-oracles/oracle.h src/cudapp_om_standalone_oracles.c
8 @mkdir -p $(OUT_DIR)
9 $(CC) $(filter-out -MMD -MP,$(CFLAGS)) -ffp-contract=off om/standalone-oracles/scalar-check.c om/standalone-oracles/oracle-c.c src/cudapp_om_standalone_oracles.c -o $@
10test-standalone-oracles: $(OUT_DIR)/standalone-oracles
11 $(abspath $(OUT_DIR))/standalone-oracles
12test-standalone-oracles-family: $(OUT_DIR)/libomega_gpu.a test-q38-head-bounds
13 CC="$(CC)" python3 om/standalone-oracles/family-check.py $(OUT_DIR)/libomega_gpu.a --frame $(OUT_DIR)/q38-head/bounds.frame
14test-standalone-oracles-mutants:
15 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" python3 om/standalone-oracles/mutants.py