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-half.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-half.mk` 20 lines · 1256 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # Scalar f16 conversion and guarded encoding verification; no device is opened. 3 CARRIED_HOST_TESTS += test-dnn-half test-dnn-half-mutants 4 5 .PHONY: test-dnn-half test-dnn-half-mutants 6 $(OUT_DIR)/dnn_half_test: tests/gpu_dnn_half_test.c tests/bw_warp_sim_k.h src/omega_numeric.c $(OUT_DIR)/libomega_gpu.a 7 $(CC) $(CFLAGS) -ffp-contract=off -Isrc -Itests -o $@ $< src/omega_numeric.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 8 9 $(OUT_DIR)/dnn_half_alt_test: tests/gpu_dnn_half_test.c tests/bw_warp_sim.h src/omega_numeric.c $(OUT_DIR)/libomega_gpu.a 10 $(CC) $(CFLAGS) -ffp-contract=off -DDNN_HALF_ALT_SIM -Isrc -Itests -o $@ $< src/omega_numeric.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 11 12 test-dnn-half: $(OUT_DIR)/dnn_half_test $(OUT_DIR)/dnn_half_alt_test 13 $(OUT_DIR)/dnn_half_test 14 $(OUT_DIR)/dnn_half_alt_test 15 16 # Converts .om through the bridge's seeded converter, which executes the pinned AArch64 omc. 17 CUDAPP_TARGET_ONLY_TESTS += $(if $(CUDAPP_OMC_HOST),,test-dnn-half-mutants) 18 test-dnn-half-mutants: $(OUT_DIR)/dnn_half_test 19 @$(CUDAPP_REQUIRE_OMC) 20 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" CC="$(CC)" OMEGA_TEST_LIB="$(OUT_DIR)/libomega_gpu.a" python3 tests/gpu_dnn_half_mutants.py