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_nested_objects.h
| 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. */ |
| 9 | void *mg_nested_fp8(unsigned slot, uint32_t experts, uint32_t n, uint32_t k); |
| 10 | void *mg_nested_bf16(unsigned slot, uint32_t n, uint32_t k); |
| 11 | void *mg_nested_gdn(unsigned slot, uint32_t ratio, uint32_t layers); |
| 12 | void *mg_nested_attn(unsigned slot, uint32_t layers); |
| 13 | void *mg_nested_attn256(unsigned slot, uint32_t layers, uint32_t qh, uint32_t kvh, uint32_t qpc); |
| 14 | void *mg_nested_router(uint32_t layers, uint32_t experts, uint32_t shared); |
| 15 | void mg_nested_record_begin(void); |
| 16 | int mg_nested_window(uint32_t rows,const OmegaGpuNativeArtifact **a,OmegaGpuNativeLease *lease); |
| 17 | #endif |