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
CUDApp / tests / omega / test-target-only.sh
| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | # Report host checks that this machine does not run. make passes the names in |
| 4 | # CUDAPP_TARGET_ONLY_TESTS. Exit 0 means the report was printed. It is not a |
| 5 | # pass of those checks. Invoking one of them directly exits 2. |
| 6 | set -eu |
| 7 | host=$(uname -m) |
| 8 | if [ $# -eq 0 ]; then |
| 9 | echo "target-only report: NOT_RUN (this host is $host and runs the pinned compiler; make test runs the seeded binding and the pinned-compiler rows)" |
| 10 | exit 0 |
| 11 | fi |
| 12 | for name in "$@"; do |
| 13 | echo "$name: NOT_RUN (requires the pinned AArch64 omc; not part of the portable host suite)" |
| 14 | done |
| 15 | echo "target-only report: the lines above are refusals. make $1 and the other named targets exit 2 unless OMEGA_OMC is given and executes on this host. This report exiting 0 is not a pass of them." |