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-seal-reuse |
| 3 | # Integer-only generated Omega unit. Use distinct OUT_DIRs when comparing settings. |
| 4 | CUDAPP_SEAL_OPT ?= -O3 |
| 5 | $(OUT_DIR)/cudapp_om_closure_reseal.o: private CFLAGS += $(CUDAPP_SEAL_OPT) |
| 6 | .PHONY: test-seal-reuse |
| 7 | $(OUT_DIR)/seal-reuse.so: src/cudapp_om_closure_reseal.c |
| 8 | @mkdir -p $(OUT_DIR) |
| 9 | $(CC) $(filter-out -MMD -MP,$(CFLAGS)) $(CUDAPP_SEAL_OPT) -shared -fPIC $< -o $@ |
| 10 | test-seal-reuse: $(OUT_DIR)/seal-reuse.so |
| 11 | python3 om/pipeline/seal-reuse-check.py $(abspath $(OUT_DIR))/seal-reuse.so |
| 12 | ifeq ($(CUDAPP_OMC_HOST),1) |
| 13 | OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" CUDAPP_SEAL_OPT="$(CUDAPP_SEAL_OPT)" python3 om/pipeline/seal-reuse-mutants.py |
| 14 | endif |