Add native K/M/RR inference engines, HIP kernels, replay and validation harnesses, and Windows DLSS setup and runtime support. Include GPU profiling tools, build and packaging scripts, platform integration patches, and implementation documentation.
12 lines
309 B
Bash
12 lines
309 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
CXX="${CXX:-g++}"
|
|
|
|
mkdir -p "$ROOT/build"
|
|
"$CXX" -std=c++20 -O2 -Wall -Wextra \
|
|
"$ROOT/tools/bench_dlss_kernel.cpp" -ldl \
|
|
-o "$ROOT/build/bench_dlss_kernel"
|
|
printf 'Built %s\n' "$ROOT/build/bench_dlss_kernel"
|