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/gemm-any.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 / gemm-any.mk` 18 lines · 1496 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 CUDAPP_MIGRATION_PENDING_C_GEMM_BUILDER ?= 0 3 CFLAGS += -DCUDAPP_MIGRATION_PENDING_C_GEMM_BUILDER=$(CUDAPP_MIGRATION_PENDING_C_GEMM_BUILDER) 4 GPU_GEMM_ANY_TEST = $(OUT_DIR)/gpu_gemm_any_test 5 GPU_GEMM_ANY_C_ORACLE = $(OUT_DIR)/gpu_gemm_any_c_oracle 6 $(GPU_GEMM_ANY_TEST): tests/gpu_gemm_any_test.c tests/gpu_gemm_test.c tests/bw_warp_sim_tc.h tests/bw_hmma_model.h tests/bw_qmma_model.h $(OUT_DIR)/libomega_gpu.a 7 $(CC) $(CFLAGS) -ffp-contract=off -Itests -o $@ tests/gpu_gemm_any_test.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 8 $(GPU_GEMM_ANY_C_ORACLE): tests/gpu_gemm_any_test.c tests/gpu_gemm_test.c src/omega_gpu_gemm.c $(OUT_DIR)/libomega_gpu.a 9 $(CC) $(CFLAGS) -UCUDAPP_MIGRATION_PENDING_C_GEMM_BUILDER -DCUDAPP_MIGRATION_PENDING_C_GEMM_BUILDER=1 -ffp-contract=off -Itests -o $@ tests/gpu_gemm_any_test.c src/omega_gpu_gemm.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 10 .PHONY: test-gpu-gemm-any test-gpu-gemm-any-differential 11 test-gpu-gemm-any: $(GPU_GEMM_ANY_TEST) 12 $(GPU_GEMM_ANY_TEST) --sim 13 test-gpu-gemm-any-differential: $(GPU_GEMM_ANY_TEST) $(GPU_GEMM_ANY_C_ORACLE) 14 $(GPU_GEMM_ANY_TEST) --sim --digest > $(OUT_DIR)/gpu_gemm_any_omega.digest 15 $(GPU_GEMM_ANY_C_ORACLE) --sim --digest > $(OUT_DIR)/gpu_gemm_any_c.digest 16 cmp $(OUT_DIR)/gpu_gemm_any_omega.digest $(OUT_DIR)/gpu_gemm_any_c.digest 17 @echo 'GEMM ANY C/OMEGA SIM-EQUAL PASS (not byte-identical kernels)' 18 CARRIED_HOST_TESTS += test-gpu-gemm-any test-gpu-gemm-any-differential