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-binding-portable.sh
| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | # Revision and epoch vectors on the generated freestanding units |
| 4 | # (om/units.sh, portable checked C). Every host links the same files. |
| 5 | set -eu |
| 6 | ROOT=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) |
| 7 | cd "$ROOT" |
| 8 | OUT_DIR=${OUT_DIR:-build} |
| 9 | mkdir -p "$OUT_DIR" |
| 10 | cc=${CC:-gcc} |
| 11 | "$cc" -std=gnu11 -O2 -Wall -Wextra -Werror -Isrc \ |
| 12 | -o "$OUT_DIR/binding_portable_test" tests/omega/binding_portable_test.c \ |
| 13 | src/cudapp_freest_revision.c src/cudapp_freest_epoch.c |
| 14 | "$OUT_DIR/binding_portable_test" |