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/codegen-dec.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 / codegen-dec.mk` 25 lines · 1879 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 CARRIED_HOST_TESTS += test-codegen-dec-diff test-gdn-admit-diff 3 .PHONY: test-codegen-dec-diff test-gdn-admit-diff 4 $(OUT_DIR)/codegen_dec_oracle.o: src/omega_blackwell_codegen_dec.c 5 $(CC) $(CFLAGS) -DCUDAPP_MIGRATION_PENDING_C_CODEGEN_DEC -Domega_blackwell_codegen_dec_prog=omega_codegen_dec_oracle -Domega_dec_prog_stats=omega_codegen_dec_oracle_stats -c $< -o $@ 6 $(OUT_DIR)/codegen_dec_diff: tests/codegen_dec_diff.c $(OUT_DIR)/codegen_dec_oracle.o $(OUT_DIR)/libomega_gpu.a 7 $(CC) $(CFLAGS) -Itests -Isrc -o $@ tests/codegen_dec_diff.c $(OUT_DIR)/codegen_dec_oracle.o $(OUT_DIR)/libomega_gpu.a -lpthread -lm 8 test-codegen-dec-diff: $(OUT_DIR)/codegen_dec_diff 9 $(OUT_DIR)/codegen_dec_diff 10 GDN_ADMIT_RENAMES = $(foreach f,shape alloc layer finite multi tokens layout move,-Domega_gdn_admit_$(f)=omega_gdn_admit_$(f)_oracle) 11 $(OUT_DIR)/gdn_admit_oracle.o: src/omega_gpu_gdn_admit.c 12 $(CC) $(CFLAGS) -DCUDAPP_MIGRATION_PENDING_C_GDN_ADMIT $(GDN_ADMIT_RENAMES) -c $< -o $@ 13 $(OUT_DIR)/gdn_admit_diff: tests/gdn_admit_diff.c $(OUT_DIR)/gdn_admit_oracle.o $(OUT_DIR)/libomega_gpu.a 14 $(CC) $(CFLAGS) -Itests -Isrc -o $@ tests/gdn_admit_diff.c $(OUT_DIR)/gdn_admit_oracle.o $(OUT_DIR)/libomega_gpu.a -lpthread -lm 15 test-gdn-admit-diff: $(OUT_DIR)/gdn_admit_diff 16 $(OUT_DIR)/gdn_admit_diff 17 .PHONY: test-dec-mutants 18 test-dec-mutants: $(OUT_DIR)/codegen_dec_oracle.o $(OUT_DIR)/gdn_admit_oracle.o $(OUT_DIR)/libomega_gpu.a 19 python3 tests/dec_mutants.py $(OUT_DIR) 20 CARRIED_HOST_TESTS += test-codegen-dec-sim 21 .PHONY: test-codegen-dec-sim 22 $(OUT_DIR)/codegen_dec_sim: tests/codegen_dec_sim.c tests/bw_warp_sim_k.h $(OUT_DIR)/libomega_gpu.a 23 $(CC) $(CFLAGS) -ffp-contract=off -Itests -Isrc -o $@ tests/codegen_dec_sim.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 24 test-codegen-dec-sim: $(OUT_DIR)/codegen_dec_sim 25 $(OUT_DIR)/codegen_dec_sim