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/zero-cuda-argv.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 / zero-cuda-argv.mk` 15 lines · 843 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # Host check that the zero-CUDA ldd and nm probes pass binary_path as argv. 3 # A path with spaces or shell metacharacters stays one pathname. 4 .PHONY: test-zero-cuda-tool-argv 5 ZERO_CUDA_TOOL_STUB = $(OUT_DIR)/zero_cuda_tool_stub 6 ZERO_CUDA_ARGV_TEST = $(OUT_DIR)/zero_cuda_tool_argv_test 7 8 $(ZERO_CUDA_TOOL_STUB): tests/zero_cuda_tool_stub.c src/cudapp_freest_leftovers.c src/cudapp_freest_pathcopy.c | $(OUT_DIR) 9 $(CC) $(CFLAGS) -o $@ $^ 10 11 $(ZERO_CUDA_ARGV_TEST): tests/zero_cuda_tool_argv_test.c src/omega_blackwell_submit.h $(OUT_DIR)/libomega_gpu.a 12 $(CC) $(CFLAGS) -o $@ tests/zero_cuda_tool_argv_test.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm 13 14 test-zero-cuda-tool-argv: $(ZERO_CUDA_ARGV_TEST) $(ZERO_CUDA_TOOL_STUB) 15 ZERO_CUDA_TOOL_STUB=$(ZERO_CUDA_TOOL_STUB) $(ZERO_CUDA_ARGV_TEST)