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 | # cudapp-smi host tier (fixtures, fake resource manager, devcall bound probe, mutants). It never opens |
| 3 | # a device; the live comparison tests/smi/live.sh is a receipt tool and is not part of make test. |
| 4 | # native/smi/util.om issues a 55888-byte devcall, which needs the devcall bound of |
| 5 | # aien-dev/omega-mv#1042 (landed via #1048/#1050). The dedicated CUDAPP_SMI_OMC |
| 6 | # is e9b63587 (sha256 390629fd...); the general OMEGA_OMC pin remains e5b32567 |
| 7 | # and is passed as BASE_OMC for the probe's negative control. |
| 8 | .PHONY: test-smi |
| 9 | SMI_RUN := $(and $(filter 1,$(CUDAPP_OMC_HOST)),$(CUDAPP_SMI_OMC)) |
| 10 | ifneq ($(SMI_RUN),) |
| 11 | CARRIED_HOST_TESTS += test-smi |
| 12 | test-smi: |
| 13 | sh tests/smi/run.sh "$(CUDAPP_SMI_OMC)" "$(OMEGA_OMC)" |
| 14 | else |
| 15 | test-smi: |
| 16 | @echo "test-smi: NOT_RUN (requires CUDAPP_OMC_HOST=1 and CUDAPP_SMI_OMC, the aien-dev/omega-mv#1048 dedicated omc)" |
| 17 | @exit 2 |
| 18 | endif |