Files
leleka/crates/cuda-driver/oracle/check_cu_syntax.sh
T

8 lines
528 B
Bash
Executable File

#!/bin/sh
# Syntax-check ported .cu files without nvcc. Superseded by the unified stub set under scripts/cuda-stubs/ (clang's CUDA
# frontend against stub headers; covers every .cu, not only the ones the host shim can execute). The EXECUTING emulation
# (shim/cuda_host_shim.h, run_shim_oracles.sh) is a different tool and stays.
# usage: check_cu_syntax.sh [file.cu ...] (no argument: every crates/cuda-driver/src/*.cu)
here=$(cd "$(dirname "$0")" && pwd)
exec python3 "$here/../../../scripts/cuda-stubs/check-cu.py" "$@"