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 / src / omega_gpu_resident.h
| 1 | /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ |
| 2 | #ifndef OMEGA_GPU_RESIDENT_H |
| 3 | #define OMEGA_GPU_RESIDENT_H |
| 4 | #include "omega_gpu_om_ir.h" |
| 5 | /* INTERNAL, not runtime API. Immutable eight-u32 descriptors op,a,b,out,rows,cols,0,0. |
| 6 | * a,b,out are f32 offsets into a size-element arena; ops 1 GEMV, 2 ADD, 3 MUL, |
| 7 | * 4 SUM, 5 COPY. Admission and code generation are seeded Omega. |
| 8 | * ABI c[0][896..]: descriptor, arena, two-u32 zeroed barrier state pointers. |
| 9 | * Launch exactly ctas (1..2) blocks of 32 threads; only lane zero works. |
| 10 | * All blocks must be simultaneously resident. Host/chip qualification are separate. |
| 11 | */ |
| 12 | int omega_gpu_resident_build(const uint32_t *descs, uint64_t n, uint64_t size, uint64_t ctas, |
| 13 | BlackwellIRProgram *p, uint64_t *err); |
| 14 | #endif |