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 / 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 <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. */
9typedef struct {uint64_t seed;uint32_t pos,layers,layer,heads,attn,flags,mutant,mode;} MgCase;
10int mg_record(uint64_t kind,const uint64_t *words,size_t n);
11void mg_fixture_setup(void *cl);
12void *mg_fixture_list(void);
13int mg_q36_run(const MgCase *c);
14int mg_q38_run(const MgCase *c);
15int mg_decode_run(const MgCase *c);
16#endif