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
CUDApp / tests / model_graphs_fixture.h
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | #ifndef MODEL_GRAPHS_FIXTURE_H |
| 3 | #define MODEL_GRAPHS_FIXTURE_H |
| 4 | #include <stddef.h> |
| 5 | #include <stdint.h> |
| 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 |