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

[OMEGA-GPU P2] Graphics/shader execution path distinct from general-purpose GPU compute

Open · #47 · open 2026-10-22 22:10 UTC

Imported from GitHub aien-dev/CUDApp#47, by drakestapleton

drakestapleton wrote on 2026-10-22 22:10 UTC

Parents: https://github.com/aien-dev/CUDApp/issues/36 and https://github.com/aien-dev/aien-architecture-mv/issues/295. Related GPU discovery #37, Vulkan compute #38 and Unix pipeline https://github.com/aien-dev/omega-mv/issues/632.

Why a separate path

A graphics processing unit is not necessarily a general-purpose compute accelerator. Historic and embedded GPUs can support programmable vertex/fragment shaders, fixed-function rendering or display-only operations while lacking a usable compute queue, storage buffers, supported atomics or toolchain. The current Omega/CUDApp code (src/omega_blackwell_codegen*.c, src/omega_gpu_matmul_api.c) is focused on native compute, not rasterization or a portable shader IR.

Research/implementation

Define a capability contract distinguishing COMPUTE, GRAPHICS_SHADERS, RASTER_FIXED_FUNCTION, VIDEO, DISPLAY_ONLY and SOFTWARE_EMULATED. Inventory Vulkan graphics+SPIR-V, Metal render pipelines, Direct3D/HLSL, OpenGL/GLSL, WebGPU/WGSL, GLES and legacy drivers. Study whether limited pure Omega operations can be lowered to shader stages and recovered from render targets with well-defined integer/float/texture conversion semantics; do not claim equivalence without validating render pipeline/raster/pixel packing rules. Restrict this phase to an independently specified example and target profile. Do not transplant Blackwell launch descriptors into shader runtime.

Acceptance

Document a reproducible graphics shader stage example for one available modern device using a real graphics API, with declared accuracy, CPU reference, round-trip pixels and negative unsupported cases. Independently list 10 historical/embedded graphics-only architectures and classify what they actually permit. A device with no general compute is never labeled as compute-capable because it can render a triangle. If no physical hardware available, classify the research-only route NOT_RUN with exact API requirements.

Sources: https://docs.vulkan.org/spec/latest/chapters/shaders.html ; https://docs.mesa3d.org/systems.html ; https://developer.apple.com/documentation/metal/detecting-gpu-features-and-metal-software-versions .

No comments.

Sign in to comment