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-binding-portable.sh

14 lines · 556 bytes Raw Blame History
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.
5set -eu
6ROOT=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd)
7cd "$ROOT"
8OUT_DIR=${OUT_DIR:-build}
9mkdir -p "$OUT_DIR"
10cc=${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"