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/nvml.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 / nvml.mk` 21 lines · 949 bytes Raw Blame History 1 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 # Seeded Omega NVML gate: the libnvidia-ml.so.1 generated from native/nvml/api.om by the 3 # omega-bridge#83 C ABI emitter (OMEGA_CABI_BRIDGE, pinned by om/omega-bridge-cabi.lock), 4 # the Omega fake-RM model and its mutants. No device access. 5 .PHONY: test-nvml 6 NVML_RUN := $(and $(filter 1,$(CUDAPP_OMC_HOST)),$(OMEGA_BRIDGE),$(OMEGA_CABI_BRIDGE)) 7 ifneq ($(NVML_RUN),) 8 CARRIED_HOST_TESTS += test-nvml 9 NVML_GATE := $(OUT_DIR)/nvml_gate 10 $(NVML_GATE): tests/components/proc.om tests/nvml/gate.om tests/nvml/mutants.om tests/nvml/abi.om 11 @mkdir -p $(OUT_DIR) 12 cat $^ | "$(OMEGA_OMC)" > $@.tmp 13 chmod +x $@.tmp 14 mv $@.tmp $@ 15 test-nvml: $(NVML_GATE) 16 OMEGA_OMC="$(OMEGA_OMC)" OMEGA_BRIDGE="$(OMEGA_BRIDGE)" OMEGA_CABI_BRIDGE="$(OMEGA_CABI_BRIDGE)" $(NVML_GATE) 17 else 18 test-nvml: 19 @echo "test-nvml: NOT_RUN (requires CUDAPP_OMC_HOST=1 with OMEGA_OMC, OMEGA_BRIDGE and OMEGA_CABI_BRIDGE)" 20 @exit 2 21 endif