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/ampere-runtime.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 / ampere-runtime.mk` 18 lines · 1225 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # HOST_ONLY simulated RM/UVM and session paths; no /dev/nvidia opens. 3 AMPERE_RUNTIME_SRCS = src/omega_ampere_qmd.c src/omega_gpu_chip.c $(CUDAPP_BINDING_SRCS) 4 AMPERE_SESSION_SIM_SRCS = src/omega_gpu_session.c src/omega_gpu_platform.c src/omega_gpu_fmt.c src/omega_blackwell_qmd.c 5 6 build/test_ampere_runtime: tests/test_ampere_runtime.c nvrm/nvrm.c nvrm/nvrm.h nvrm/native_client.h src/omega_ampere_qmd.h $(AMPERE_RUNTIME_SRCS) 7 @mkdir -p build 8 $(CC) -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -DCUDAPP_NVRM_TEST_TRANSPORT=1 -Isrc $(GPU_ENGINE_PHYS_INC) -o $@ tests/test_ampere_runtime.c $(AMPERE_RUNTIME_SRCS) 9 10 build/test_ampere_session: tests/test_ampere_session.c $(AMPERE_SESSION_SIM_SRCS) src/omega_gpu_session.h src/omega_ampere_qmd.h $(AMPERE_RUNTIME_SRCS) 11 @mkdir -p build 12 $(CC) -std=gnu11 -O2 -Wall -Wextra -Werror -pthread -Isrc -o $@ tests/test_ampere_session.c $(AMPERE_SESSION_SIM_SRCS) $(AMPERE_RUNTIME_SRCS) 13 14 .PHONY: test-ampere-runtime 15 test-ampere-runtime: build/test_ampere_runtime build/test_ampere_session build/test_omega_gpu_platform_linux 16 ./build/test_ampere_runtime 17 ./build/test_ampere_session 18 ./build/test_omega_gpu_platform_linux