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/dnn-activations.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 / dnn-activations.mk` 19 lines · 1753 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # API shells and generated units are collected by existing Makefile wildcards. 3 CARRIED_HOST_TESTS += test-gpu-dnn-activations test-gpu-dnn-activations-mutants 4 .PHONY: test-gpu-dnn-activations test-gpu-dnn-activations-mutants 5 DNN_ACTIVATIONS_WRAP = -Wl,--wrap=omega_gpu_session_open -Wl,--wrap=omega_gpu_session_lock -Wl,--wrap=omega_gpu_session_unlock -Wl,--wrap=omega_gpu_session_free -Wl,--wrap=omega_gpu_session_alloc 6 $(OUT_DIR)/gpu_dnn_activations_test: tests/gpu_dnn_activations_test.c tests/gpu_dnn_activations_ref.h tests/bw_warp_sim_k.h src/omega_gpu_dnn_activations_api.h $(OUT_DIR)/libomega_gpu.a 7 $(CC) $(CFLAGS) -ffp-contract=off -Itests $(DNN_ACTIVATIONS_WRAP) -o $@ $< $(OUT_DIR)/libomega_gpu.a -lpthread -lm 8 test-gpu-dnn-activations: $(OUT_DIR)/gpu_dnn_activations_test 9 ./$(OUT_DIR)/gpu_dnn_activations_test --sim 10 ./$(OUT_DIR)/gpu_dnn_activations_test --shell-contract 11 # Converts .om through the bridge's seeded converter, which executes the pinned AArch64 omc. 12 CUDAPP_TARGET_ONLY_TESTS += $(if $(CUDAPP_OMC_HOST),,test-gpu-dnn-activations-mutants) 13 test-gpu-dnn-activations-mutants: $(OUT_DIR)/gpu_dnn_activations_test 14 @$(CUDAPP_REQUIRE_OMC) 15 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" OUT_DIR="$(OUT_DIR)" CC="$(CC)" sh tests/gpu_dnn_activations_mutants.sh 16 17 # Build only; deliberately not a CARRIED_HOST_TESTS target and never run by make. 18 $(OUT_DIR)/gpu_dnn_activations_chip_test: tests/gpu_dnn_activations_test.c tests/gpu_dnn_activations_ref.h tests/bw_warp_sim_k.h src/omega_gpu_dnn_activations_api.h $(OUT_DIR)/libomega_gpu.a 19 $(CC) $(CFLAGS) -ffp-contract=off -DDA_CHIP_RUNNER -Itests $(DNN_ACTIVATIONS_WRAP) -o $@ $< $(OUT_DIR)/libomega_gpu.a -lpthread -lm