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/om/q38-head/budget-check.c # 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 / om / q38-head / budget-check.c` 14 lines · 694 bytes Raw Blame History 1 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 2 /* Host-only verification: none of these calls may open a GPU session. */ 3 #include "omega_gpu_q38_graph.h" 4 #include 5 #include 6 #include "../standalone-oracles/oracle.h" 7 int main(void) { 8 assert(so_eq(omega_gpu_q38_exact_extra_bytes(),so_call(17,0,0,0,0))); 9 assert(so_eq((uint64_t)(int64_t)omega_gpu_q38_graph_set_exact_head(NULL,NULL,NULL,10384),(uint64_t)(int64_t)OMEGA_GPU_DGRAPH_BAD_ARGS)); 10 assert(so_eq(omega_gpu_q38_graph_exact_head_active(NULL),0)); 11 omega_gpu_q38_graph_set_exact_head_on(NULL,1); 12 puts("PASS: exact-head extra admission reserve and null-handle refusals"); 13 return 0; 14 }