Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/tools/numeric_rest_om_coverage.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / tools / numeric_rest_om_coverage.sh` 12 lines · 813 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 # Verification only. Invoke under the device-hidden CPU envelope. 4 set -eu 5 ROOT=$(cd "$(dirname "$0")/.." && pwd) 6 OUT=${1:?usage: numeric_rest_om_coverage.sh OUTPUT_DIRECTORY} 7 mkdir -p "$OUT" 8 OUT=$(cd "$OUT" && pwd) 9 CC=${CC:-cc} 10 $CC -std=gnu11 -Wall -Wextra -Werror -D_GNU_SOURCE -O0 --coverage -ffp-contract=off -DCUDAPP_MIGRATION_PENDING_C_NUMERIC_REST_DIFF -ffunction-sections -fdata-sections -Wl,--gc-sections -I"$ROOT/src" -o "$OUT/diff" "$ROOT/tests/numeric_rest_om_diff_test.c" "$ROOT/src/omega_numeric.c" "$ROOT/src/omega_numeric_reduce.c" "$ROOT/src/omega_blackwell_qmd.c" "$ROOT/src/cudapp_om_bw_qmd.c" "$ROOT"/src/cudapp_om_numeric*.c -lm 11 "$OUT/diff" 12 (cd "$OUT" && gcov -b -c -f diff-omega_numeric.gcno diff-omega_numeric_reduce.gcno)