interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / tests / omega / test-target-only.sh

15 lines · 821 bytes Raw Blame History
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.
6set -eu
7host=$(uname -m)
8if [ $# -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
11fi
12for name in "$@"; do
13 echo "$name: NOT_RUN (requires the pinned AArch64 omc; not part of the portable host suite)"
14done
15echo "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."