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/tests/api_rest_families.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 / tests / api_rest_families.sh` 21 lines · 1643 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 # Invoke only through the lane's bwrap /dev isolation and CPU affinity. 4 set -eu 5 : "${OMEGA_ROOT:?set OMEGA_ROOT to the pinned omega-mv oracle checkout}" 6 cc=${CC:-cc} 7 make -j3 build/gpu_moe_window_test build/gpu_tern_sched_test build/gpu_tcgemm_test build/gpu_fp8gemm_test build/gpu_pfgemm_test build/gpu_pfhost_test build/gpu_fp8_slots_test build/gpu_fp8_api_test 8 "$cc" -std=gnu11 -Wall -Wextra -Werror -O2 -ffp-contract=off -D_GNU_SOURCE -DWS_MAX_THREADS=512 -Isrc -Itests tests/gpu_tgemm_test.c build/libomega_gpu.a -lm -lpthread -o build/gpu_tgemm_test 9 # The external test's quoted include would otherwise select its stale simulator. 10 # Compile its untouched algebra oracle separately; the current CUDApp simulator 11 # is preincluded only into the test translation unit. 12 "$cc" -std=gnu11 -Wall -Wextra -Werror -O2 -ffunction-sections -fdata-sections -I"$OMEGA_ROOT/src" -c "$OMEGA_ROOT/src/algebra/realize_common.c" -o build/tern_realize_oracle.o 13 "$cc" -std=gnu11 -Wall -Wextra -Werror -O2 -ffp-contract=off -ffunction-sections -fdata-sections -Wl,--gc-sections -D_GNU_SOURCE -Isrc -Itests -I"$OMEGA_ROOT/src" -include tests/bw_warp_sim_k.h "$OMEGA_ROOT/tests/gpu_tern_test.c" build/tern_realize_oracle.o build/libomega_gpu.a -lm -lpthread -o build/gpu_tern_test 14 build/gpu_moe_window_test --host-only 15 build/gpu_tern_sched_test 16 for family in tcgemm fp8gemm pfgemm pfhost tgemm tern fp8_api; do 17 "build/gpu_${family}_test" --host-only 18 "build/gpu_${family}_test" --sim 19 done 20 build/gpu_fp8_slots_test --host-only 21 printf '%s\n' 'PASS api-rest family host/sim; chip NOT_RUN'