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/model_graphs_fixture.h # 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 / model_graphs_fixture.h` 16 lines · 729 bytes Raw Blame History 1 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 2 #ifndef MODEL_GRAPHS_FIXTURE_H 3 #define MODEL_GRAPHS_FIXTURE_H 4 #include 5 #include 6 /* Real graph translation units are compiled twice. Nested component recorders 7 * are deterministic boundary adapters; the same actual command-list packer is 8 * used on both sides. No model weights or device are opened by the fixture. */ 9 typedef struct {uint64_t seed;uint32_t pos,layers,layer,heads,attn,flags,mutant,mode;} MgCase; 10 int mg_record(uint64_t kind,const uint64_t *words,size_t n); 11 void mg_fixture_setup(void *cl); 12 void *mg_fixture_list(void); 13 int mg_q36_run(const MgCase *c); 14 int mg_q38_run(const MgCase *c); 15 int mg_decode_run(const MgCase *c); 16 #endif