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_nested_objects.h

17 lines · 1015 bytes Raw Blame History
1/* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
2#ifndef MODEL_GRAPHS_NESTED_OBJECTS_H
3#define MODEL_GRAPHS_NESTED_OBJECTS_H
4#include <stdint.h>
5#include "omega_gpu_native_runtime.h"
6/* Only resource observations are synthetic. Each implementation includes the
7 * production TU, so opaque layout changes cannot silently desynchronise a copy.
8 * Weights/state are not executed; no production recorder is wrapped or replaced. */
9void *mg_nested_fp8(unsigned slot, uint32_t experts, uint32_t n, uint32_t k);
10void *mg_nested_bf16(unsigned slot, uint32_t n, uint32_t k);
11void *mg_nested_gdn(unsigned slot, uint32_t ratio, uint32_t layers);
12void *mg_nested_attn(unsigned slot, uint32_t layers);
13void *mg_nested_attn256(unsigned slot, uint32_t layers, uint32_t qh, uint32_t kvh, uint32_t qpc);
14void *mg_nested_router(uint32_t layers, uint32_t experts, uint32_t shared);
15void mg_nested_record_begin(void);
16int mg_nested_window(uint32_t rows,const OmegaGpuNativeArtifact **a,OmegaGpuNativeLease *lease);
17#endif