Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/mk/model-graphs.mk # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / mk / model-graphs.mk` 23 lines · 1331 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 CARRIED_HOST_TESTS += test-model-graphs-om test-model-graphs-warp test-model-graphs-nested 3 .PHONY: test-model-graphs-om test-model-graphs-warp test-model-graphs-nested 4 MODEL_GRAPH_UNITS := $(wildcard src/cudapp_om_model_graph*.c) 5 $(OUT_DIR)/model-graphs-check: tests/test_model_graphs_om.c $(MODEL_GRAPH_UNITS) 6 @mkdir -p $(OUT_DIR) 7 $(CC) $(filter-out -MMD -MP,$(CFLAGS)) -Isrc $^ -o $@ 8 $(OUT_DIR)/model-graphs-plans-check: tests/test_model_graphs_plans.c $(MODEL_GRAPH_UNITS) 9 @mkdir -p $(OUT_DIR) 10 $(CC) $(filter-out -MMD -MP,$(CFLAGS)) -Isrc $^ -o $@ 11 $(OUT_DIR)/model-graphs-warp-check: tests/test_model_graphs_warp.c $(OUT_DIR)/libomega_gpu.a 12 $(CC) $(CFLAGS) -Itests $^ -o $@ -lpthread -lm 13 test-model-graphs-warp: $(OUT_DIR)/model-graphs-warp-check 14 $(OUT_DIR)/model-graphs-warp-check 15 test-model-graphs-om: $(OUT_DIR)/model-graphs-check $(OUT_DIR)/model-graphs-plans-check $(OUT_DIR)/libomega_gpu.a 16 $(OUT_DIR)/model-graphs-check 17 $(OUT_DIR)/model-graphs-plans-check 18 CC="$(CC)" python3 tests/model_graphs_lists.py 19 ifeq ($(CUDAPP_OMC_HOST),1) 20 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" python3 om/graph/mutants.py 21 endif 22 test-model-graphs-nested: $(OUT_DIR)/libomega_gpu.a 23 OUT_DIR="$(OUT_DIR)" CC="$(CC)" python3 tests/model_graphs_nested.py