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
| 1 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | CARRIED_HOST_TESTS += test-codegen-attn |
| 3 | .PHONY: test-codegen-attn |
| 4 | $(OUT_DIR)/codegen_attn_oracle.o: src/omega_blackwell_codegen_attn.c |
| 5 | $(CC) $(CFLAGS) -DCUDAPP_MIGRATION_PENDING_C_CODEGEN_ATTN -Domega_blackwell_codegen_decode_attn_prog=omega_codegen_attn_oracle -Domega_decode_attn_prog_stats=omega_codegen_attn_oracle_stats -c $< -o $@ |
| 6 | $(OUT_DIR)/codegen_pattn_oracle.o: src/omega_blackwell_codegen_pattn.c |
| 7 | $(CC) $(CFLAGS) -DCUDAPP_MIGRATION_PENDING_C_CODEGEN_PATTN -Domega_blackwell_codegen_prefill_attn_prog=omega_codegen_pattn_oracle -Domega_prefill_attn_prog_stats=omega_codegen_pattn_oracle_stats -Domega_pattn_spec_ok=omega_codegen_pattn_oracle_spec_ok -c $< -o $@ |
| 8 | $(OUT_DIR)/codegen_attn_diff: tests/codegen_attn_diff.c $(OUT_DIR)/codegen_attn_oracle.o $(OUT_DIR)/codegen_pattn_oracle.o $(OUT_DIR)/libomega_gpu.a |
| 9 | $(CC) $(CFLAGS) -Itests -Isrc -o $@ tests/codegen_attn_diff.c $(OUT_DIR)/codegen_attn_oracle.o $(OUT_DIR)/codegen_pattn_oracle.o $(OUT_DIR)/libomega_gpu.a -lpthread -lm |
| 10 | test-codegen-attn: $(OUT_DIR)/codegen_attn_diff |
| 11 | $(OUT_DIR)/codegen_attn_diff |