interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / docs / runtime / omega_runtime_api.internal

208 lines · 25412 bytes Raw Blame History
1# Omega Runtime API INTERNAL list: names a manifest header declares that are NOT part of the API.
2# tools/runtime_api_check.sh fails on any function, object-like macro or enumerator in a manifest header that is
3# neither a manifest `fn`/`const` nor listed here with a reason, on a stale line here (no header declares the name)
4# and on a name that is both here and in the manifest. Line format: `fn NAME # reason` or `const NAME # reason`.
5# An entry here may change or vanish in any version. Making one API = move it to the manifest with a tier tag
6# (and bump MINOR, docs/runtime/API.md section 2). Entries marked "candidate EXPERIMENTAL" are used outside tests today.
7const OMEGA_GPU_ATTN_HEAD_DIM # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
8const OMEGA_GPU_ATTN_HEAD_DIM_128 # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
9const OMEGA_GPU_ATTN_KV_RESIDENT # kv_source value inside OmegaGpuAttnInfo, set by the library
10const OMEGA_GPU_ATTN_MAX_CTAS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
11const OMEGA_GPU_ATTN_MAX_GQA_CTX # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
12const OMEGA_GPU_ATTN_MAX_LOG2SPLIT # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
13const OMEGA_GPU_ATTN_MAX_Q_HEADS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
14const OMEGA_GPU_ATTN_MUTANT_COUNT # TEST ONLY: attention mutant ids for the battery
15const OMEGA_GPU_ATTN_MUTANT_KV_HEAD # TEST ONLY: attention mutant ids for the battery
16const OMEGA_GPU_ATTN_MUTANT_NONE # TEST ONLY: attention mutant ids for the battery
17const OMEGA_GPU_ATTN_MUTANT_NO_MAX # TEST ONLY: attention mutant ids for the battery
18const OMEGA_GPU_ATTN_MUTANT_NO_RESCALE # TEST ONLY: attention mutant ids for the battery
19const OMEGA_GPU_ATTN_MUTANT_OUT_ROW # TEST ONLY: attention mutant ids for the battery
20const OMEGA_GPU_ATTN_MUTANT_Q_ROW # TEST ONLY: attention mutant ids for the battery
21const OMEGA_GPU_ATTN_MUTANT_SLOT # TEST ONLY: attention mutant ids for the battery
22const OMEGA_GPU_ATTN_ROWS_MAX_CTAS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
23const OMEGA_GPU_ATTN_SPLIT_MAX_CTAS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
24const OMEGA_GPU_DATTN_DEPTH # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
25const OMEGA_GPU_DATTN_KV_HEADS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
26const OMEGA_GPU_DATTN_MAX_LAYERS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
27const OMEGA_GPU_DATTN_MAX_POS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
28const OMEGA_GPU_DATTN_PER_SPLIT # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
29const OMEGA_GPU_DATTN_QKV_WORDS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
30const OMEGA_GPU_DATTN_Q_HEADS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
31const OMEGA_GPU_DGRAPH_ATTN # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
32const OMEGA_GPU_DGRAPH_HIDDEN # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
33const OMEGA_GPU_DGRAPH_INTER # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
34const OMEGA_GPU_DGRAPH_K_ADD # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
35const OMEGA_GPU_DGRAPH_K_ARGMAX # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
36const OMEGA_GPU_DGRAPH_K_ATTN # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
37const OMEGA_GPU_DGRAPH_K_COMBINE # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
38const OMEGA_GPU_DGRAPH_K_COUNT # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
39const OMEGA_GPU_DGRAPH_K_DOWN # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
40const OMEGA_GPU_DGRAPH_K_GATE_UP # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
41const OMEGA_GPU_DGRAPH_K_LM_HEAD # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
42const OMEGA_GPU_DGRAPH_K_NORM # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
43const OMEGA_GPU_DGRAPH_K_O # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
44const OMEGA_GPU_DGRAPH_K_QKV # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
45const OMEGA_GPU_DGRAPH_K_ROUTER # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
46const OMEGA_GPU_DGRAPH_K_SWIGLU # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
47const OMEGA_GPU_DGRAPH_MAX_LAYERS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
48const OMEGA_GPU_DGRAPH_QKV # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
49const OMEGA_GPU_DGRAPH_TOPK # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
50const OMEGA_GPU_EW_EX2 # op id of an encoder probe or codegen refusal test
51const OMEGA_GPU_EW_MAX_CTAS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
52const OMEGA_GPU_EW_MAX_DIM # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
53const OMEGA_GPU_EW_PRIME_SIEVE # op id of an encoder probe or codegen refusal test
54const OMEGA_GPU_EW_PRIME_SIEVE_DIV1 # op id of an encoder probe or codegen refusal test
55const OMEGA_GPU_EW_PRIME_SIEVE_DIV2 # op id of an encoder probe or codegen refusal test
56const OMEGA_GPU_EW_PRIME_SIEVE_SHARED # op id of an encoder probe or codegen refusal test
57const OMEGA_GPU_EW_PRIME_SIEVE_SHARED_DIV1 # op id of an encoder probe or codegen refusal test
58const OMEGA_GPU_EW_PRIME_SIEVE_SHARED_DIV2 # op id of an encoder probe or codegen refusal test
59const OMEGA_GPU_EW_RC_DEPTH16 # op id of an encoder probe or codegen refusal test
60const OMEGA_GPU_EW_RC_DIAMOND # op id of an encoder probe or codegen refusal test
61const OMEGA_GPU_EW_RC_EXIT_BAR # op id of an encoder probe or codegen refusal test
62const OMEGA_GPU_EW_RC_LOOPBREAK # op id of an encoder probe or codegen refusal test
63const OMEGA_GPU_EW_RC_NESTED # op id of an encoder probe or codegen refusal test
64const OMEGA_GPU_EW_RC_REFUSE_BAR_IN_REGION # op id of an encoder probe or codegen refusal test
65const OMEGA_GPU_EW_RC_REFUSE_DEPTH17 # op id of an encoder probe or codegen refusal test
66const OMEGA_GPU_EW_RC_REFUSE_EXIT_IN_REGION # op id of an encoder probe or codegen refusal test
67const OMEGA_GPU_EW_RC_REFUSE_EXIT_SHFL # op id of an encoder probe or codegen refusal test
68const OMEGA_GPU_EW_RC_REFUSE_JOIN_ONLY # op id of an encoder probe or codegen refusal test
69const OMEGA_GPU_EW_RC_REFUSE_SHFL_IN_REGION # op id of an encoder probe or codegen refusal test
70const OMEGA_GPU_EW_RC_REFUSE_UNCLOSED # op id of an encoder probe or codegen refusal test
71const OMEGA_GPU_EW_RMSNORM # op id for the elementwise codegen; the API is the omega_gpu_*_f32 calls
72const OMEGA_GPU_EW_ROPE # op id for the elementwise codegen; the API is the omega_gpu_*_f32 calls
73const OMEGA_GPU_EW_SWIGLU # op id for the elementwise codegen; the API is the omega_gpu_*_f32 calls
74const OMEGA_GPU_EW_THREADS # launch or shape limit the library enforces inside the call (one model's shapes); not promised; candidate EXPERIMENTAL
75const OMEGA_GPU_EW_XCHG # op id of an encoder probe or codegen refusal test
76const OMEGA_GPU_FP8GEMM_MAX_ROWS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
77const OMEGA_GPU_FP8GEMM_MAX_SEGMENTS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
78const OMEGA_GPU_FP8_BIGK_CTAS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
79const OMEGA_GPU_FP8_DEEP_MAX_SHARED_BYTES # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
80const OMEGA_GPU_FP8_GROUPED_CTAS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
81const OMEGA_GPU_FP8_MAX_CTAS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
82const OMEGA_GPU_FP8_MAX_GROUPS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
83const OMEGA_GPU_FP8_V2_GROUPED_CTAS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
84const OMEGA_GPU_FP8_V2_WARPS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
85const OMEGA_GPU_MOE_MAX_WINDOWS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
86const OMEGA_GPU_PATTN_HOST_PASS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
87const OMEGA_GPU_PATTN_MAX_MIRRORS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
88const OMEGA_GPU_PATTN_WARPS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
89const OMEGA_GPU_PF_PLAIN # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
90const OMEGA_GPU_PF_SWIGLU # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
91const OMEGA_GPU_PF_SWIGLU_NAT # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
92const OMEGA_GPU_ROUTER_DEPTH # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
93const OMEGA_GPU_ROUTER_MAX_LAYERS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
94const OMEGA_GPU_ROUTER_MAX_ROWS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
95const OMEGA_GPU_ROUTER_WARPS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
96const OMEGA_GPU_SM_COUNT # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
97const OMEGA_GPU_TERN_POISON_F32_BITS # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
98const OMEGA_GPU_TERN_POISON_I32 # decode-path header constant (shape limit, kernel slot id, mode value or poison pattern) of one model's kernels; not promised
99fn omega_dattn_bf16_f32 # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
100fn omega_dattn_bf16_rne # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
101fn omega_dattn_rope_row # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
102fn omega_fp8_e4m3_is_nan # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
103fn omega_fp8_e4m3_kernel_bits # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
104fn omega_gpu_fp8_general_rows # internal: the general fallback of the fp8 GEMV and grouped GEMM (gemm_ex fp8 block rows), called by omega_gpu_fp8gemm_api.c
105fn omega_fp8_e4m3_ref # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
106fn omega_fp8_gemv_oracle # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
107fn omega_fp8_pack_scales # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
108fn omega_fp8_pack_scan_nan # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
109fn omega_fp8_pack_x_bf16 # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
110fn omega_fp8_pack_x_f32 # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
111fn omega_fp8gemm_permute_x # host reference or packing helper in a decode-path header (not an omega_gpu_ entry)
112fn omega_gpu_attention_cache_clear # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
113fn omega_gpu_attention_codegen # kernel builder used by the library and its tests; output format is not promised
114fn omega_gpu_attention_codegen_hd # kernel builder used by the library and its tests; output format is not promised
115fn omega_gpu_attention_heads_per_cta # kernel builder used by the library and its tests; output format is not promised
116fn omega_gpu_attention_mutant_name # kernel builder used by the library and its tests; output format is not promised
117fn omega_gpu_attention_reserve # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
118fn omega_gpu_attention_reserve_rows # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
119fn omega_gpu_attention_test_resident_fits # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
120fn omega_gpu_attention_test_set_dedupe # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
121fn omega_gpu_attention_test_set_divergent # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
122fn omega_gpu_attention_test_set_mutant # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
123fn omega_gpu_attention_test_set_simulator # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
124fn omega_gpu_attention_test_set_split # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
125fn omega_gpu_attention_test_shared_bytes # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
126fn omega_gpu_attention_unreserve # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
127fn omega_gpu_bf16_kernel_fits # takes or returns a kernel-generator type, which is backend (ADR 0043)
128fn omega_gpu_bf16_test_set_mask_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
129fn omega_gpu_bf16_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
130fn omega_gpu_decode_attn_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
131fn omega_gpu_decode_graph_test_set_barrier_none # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
132fn omega_gpu_decode_graph_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
133fn omega_gpu_decode_graph_test_set_prefetch_red # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
134fn omega_gpu_elementwise_cache_clear # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
135fn omega_gpu_elementwise_codegen # kernel builder used by the library and its tests; output format is not promised
136fn omega_gpu_elementwise_codegen_ir # kernel builder used by the library and its tests; output format is not promised
137fn omega_gpu_elementwise_last_error # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
138fn omega_gpu_elementwise_test_set_mutant # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
139fn omega_gpu_elementwise_test_set_mutant_level # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
140fn omega_gpu_elementwise_test_stage_bytes # TEST ONLY: host probe of the 1d chunk byte count; does not launch
141fn omega_gpu_engine_test_force_block # TEST ONLY: a blocked process must stay blocked because the GPU may still be running
142fn omega_gpu_engine_test_reset_block # TEST ONLY: a blocked process must stay blocked because the GPU may still be running
143fn omega_gpu_engine_test_set_clock # TEST ONLY: a blocked process must stay blocked because the GPU may still be running
144fn omega_gpu_ex2_f32 # encoder probe kernel (MUFU.EX2, STS/BAR.SYNC/LDS, reconvergence) for chip checks
145fn omega_gpu_fp8_depth_for # takes or returns a kernel-generator type, which is backend (ADR 0043)
146fn omega_gpu_fp8_kernel_fits # takes or returns a kernel-generator type, which is backend (ADR 0043)
147fn omega_gpu_fp8_ragged_for # takes or returns a kernel-generator type, which is backend (ADR 0043)
148fn omega_gpu_fp8_set_ragged # measurement and test knob: forces or forbids the ragged-k kernel (k a multiple of 128, not of 32 * lane_bytes); not a serving setting
149fn omega_gpu_fp8_spec_for # takes or returns a kernel-generator type, which is backend (ADR 0043)
150fn omega_gpu_fp8_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
151fn omega_gpu_fp8_test_set_no_fold # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
152fn omega_gpu_fp8gemm_kernel_fits # takes or returns a kernel-generator type, which is backend (ADR 0043)
153fn omega_gpu_fp8gemm_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
154fn omega_gpu_gemm_ex_set_backend # TEST ONLY: installs a host model or the warp simulator as gemm_ex's core (tests/gpu_gemm_ex_test.c)
155fn omega_gpu_gemm_ex_test_set_mutant # TEST ONLY: mutant hook for the gemm_ex batteries
156fn omega_gpu_matmul_last_stages # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
157fn omega_gpu_matmul_reserve # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
158fn omega_gpu_matmul_seal # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
159fn omega_gpu_matmul_set_oracle # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
160fn omega_gpu_matmul_test_a_row0_hits # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
161fn omega_gpu_matmul_test_set_mutant # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
162fn omega_gpu_matmul_test_set_unroll # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
163fn omega_gpu_matmul_unreserve # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
164fn omega_gpu_moe_test_a_row0_hits # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
165fn omega_gpu_moe_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
166fn omega_gpu_moe_test_set_window_skew # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
167fn omega_gpu_pf_combine_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
168fn omega_gpu_pf_gemm_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
169fn omega_gpu_pf_kernel_locked # launch helper whose caller already holds the session lock
170fn omega_gpu_pf_launch_locked # launch helper whose caller already holds the session lock
171fn omega_gpu_pf_open_locked # launch helper whose caller already holds the session lock
172fn omega_gpu_pf_qgemm_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
173fn omega_gpu_pf_quant_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
174fn omega_gpu_pf_record_locked # launch helper whose caller already holds the session lock
175fn omega_gpu_pf_router_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
176fn omega_gpu_prefill_attn_encode # takes or returns a kernel-generator type, which is backend (ADR 0043)
177fn omega_gpu_prefill_attn_test_launch_ns # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
178fn omega_gpu_prefill_attn_test_set_mirror_per_call # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
179fn omega_gpu_prefill_attn_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
180fn omega_gpu_reconv_probe_u32 # encoder probe kernel (MUFU.EX2, STS/BAR.SYNC/LDS, reconvergence) for chip checks
181fn omega_gpu_router_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
182fn omega_gpu_session_latch_uncertain # library code (a command list on an extra queue that timed out) latches the process through it
183fn omega_gpu_session_note_module_latch # the command-list module tells the session it latched itself, so omega_gpu_session_recover accepts it
184fn omega_gpu_session_on_close # lets a library drop its resident kernels before the session closes (up to 8 hooks)
185fn omega_gpu_session_set_error # library code names its failure stage through it
186fn omega_gpu_shared_xchg_u32 # encoder probe kernel (MUFU.EX2, STS/BAR.SYNC/LDS, reconvergence) for chip checks
187fn omega_gpu_tcgemm_spec_for # takes or returns a kernel-generator type, which is backend (ADR 0043)
188fn omega_gpu_tcgemm_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
189fn omega_gpu_tensor_update_bf16 # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
190fn omega_gpu_tensor_update_f32 # serving-daemon internals; aien-sovereign-core does not bind it; candidate EXPERIMENTAL
191fn omega_gpu_tern_kernel_fits # takes or returns a kernel-generator type, which is backend (ADR 0043)
192fn omega_gpu_tern_test_set_mutant # TEST ONLY: mutant or fault-injection hook for the decode-path batteries
193fn omega_gpu_attention_codegen_general # kernel builder used by the library and its tests; output format is not promised
194fn omega_gpu_attention_general_mutant_name # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
195fn omega_gpu_attention_test_set_general_mutant # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
196fn omega_gpu_attention_test_force_general # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
197fn omega_gpu_attention_test_threads # TEST ONLY: test hook (mutant, simulator, split or counter) for the library's own batteries
198const OMEGA_GPU_ATTN_GMUT_NONE # TEST ONLY: general attention mutant ids for the sweep
199const OMEGA_GPU_ATTN_GMUT_GQA_MAP # TEST ONLY: general attention mutant ids for the sweep
200const OMEGA_GPU_ATTN_GMUT_TAIL_CHUNK # TEST ONLY: general attention mutant ids for the sweep
201const OMEGA_GPU_ATTN_GMUT_TAIL_DIMS # TEST ONLY: general attention mutant ids for the sweep
202const OMEGA_GPU_ATTN_GMUT_CAUSAL # TEST ONLY: general attention mutant ids for the sweep
203const OMEGA_GPU_ATTN_GMUT_SCALE # TEST ONLY: general attention mutant ids for the sweep
204const OMEGA_GPU_ATTN_GMUT_COUNT # TEST ONLY: general attention mutant ids for the sweep
205
206fn omega_gpu_pf_alloc_dev_locked # internal device-private allocation transport; caller already holds session lock
207fn omega_gpu_pf_copy_va_locked # internal copy transport and chip-time result; caller already holds session lock
208fn omega_gpu_mathlibs_test_set_mutant # TEST ONLY: selects a mutant of the mathlibs Omega unit (negative controls)