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 P1] AMD GPU families: Radeon GCN/RDNA and Instinct CDNA execution feasibility

Open · #40 · open 2026-10-22 22:07 UTC

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

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

Parent https://github.com/aien-dev/CUDApp/issues/36; umbrella https://github.com/aien-dev/aien-architecture-mv/issues/295; Unix GPU tools https://github.com/aien-dev/omega-mv/issues/632. Baseline CUDApp: docs/runtime/PORTABILITY.md, docs/runtime/portability_table.tsv, src/omega_gpu_platform.h, src/omega_gpu_engine.c, src/omega_gpu_platform_linux.c, src/omega_blackwell_encoder.c, src/omega_blackwell_qmd.c, nvrm/, m16/. Existing code targets NVIDIA GB10; no other family may be labeled working absent chip receipts. Do not duplicate omega-mv#593/#596 or the driver/encoder, or turn simulated execution into a chip PASS. Depends on vendor registry; portable Vulkan backend may be an initial route.

Goal: cover ATI/AMD historical Terascale as legacy, GCN generations, RDNA1-4 Radeon and workstation, CDNA1-5 Instinct (including MI300/MI350/MI400 as documented). Inventory actual LLVM gfx target, ROCm supported subset, HIP/AMDGPU vs Mesa RADV Vulkan compute and KFD/DRM driver interfaces. A driver-supported AMD GPU is NOT necessarily ROCm-supported. Chip firmware and memory synchronization are target-dependent; don't compile Blackwell words.

Acceptance: target table crosslinks vendor GPU support matrices; isolated AMD plugin contract, compile/validate a common vector-add to a vendor-appropriate code format with native device run only if accessible; wrong gfx target and absent ROCm/Vulkan device correctly refuse; record independent CPU-oracle comparison, hashes, driver version and profiling tier. All untested MI/RDNA models stay NOT_RUN. Docs: https://rocm.docs.amd.com/en/latest/reference/gpu-specs.html ; https://rocm.docs.amd.com/ ; https://docs.mesa3d.org/systems.html .

drakestapleton wrote on 2026-10-24 23:34 UTC

Independent CUDA-compatibility replacement dependency (2026-10-24)

The new adoption index Bridge #10 deliberately starts on existing GB10; do not block it on AMD. Existing #74 owns CUDA/PTX compatibility and #76 finite math-library facades. This issue retains AMD device-family/backend ownership; #62 retains physical cross-vendor model qualification. For an eventual independent AMD profile, select one actually accessible exact gfx/device, document code object/ISA, queue submission, GPU VA/DMA, memory/coherence/atomics, synchronization, errors/reset and firmware. Specify whether it uses direct KFD/DRM, another declared API, or a temporary HIP route. A HIP/rocBLAS/MIOpen-based experimental route must not be labeled replacement of those dependencies. First compare native vector/matmul and then the same admitted model semantics against the GB10 profile with appropriate within-device baselines. No Blackwell instruction reuse, unsupported-family success, simulated-chip PASS, or silent numeric changes. Preserve current source/test ownership and hardware permissions; no new procurement or parallel AMD worker is assigned here.

drakestapleton wrote on 2026-10-29 12:16 UTC

C4 AMD work order for CUDA manufacturer mission

Parent #183; profile #184, translator #185, qualification #186, ABI Bridge #42. This existing issue retains AMD ownership.

  1. Inventory an actually accessible physical GPU and host ABI first. Pin exact device/gfx, kernel/driver/firmware, API/ICD, memory and feature limits. Report BLOCKED_HARDWARE if absent; hardware discovery can run immediately.
  2. Prefer reusing Omega-authored SPIR-V work over a supported driver API for the finite first profile, subject to measured feature support. Complete checked foreign calls under Omega #888 and required bindings under Bridge #29. The existing spirv-host.c deliberately selects CPU devices; leave its host tests intact and create a separately identified physical executor.
  3. Implement allocate/map/copy, module/kernel creation, argument packing, dispatch, visibility/completion and teardown in the selected backend. Map the admitted CUDA device pointer/address-space semantics explicitly. Vulkan descriptors require proven range/pointer lowering or validated device-address support. Pin the emitted SPIR-V target environment and validate it.
  4. Reuse gfx1100 lab evidence only for its supported ISA facts. Branch 268a2e9dddab02b63140c37ea937ac442c55917e has raw bounded code generation with a virtual register-entry ABI. It still needs a hardware entry ABI, metadata/code object and launch path. A HIP route loads AMD code objects, so it also needs actual PTX translation and code-object production. Disclose any such dependency; no silent HIP/rocBLAS fallback.
  5. Run the #184 x86-64 executable and unchanged device payload first on a physical NVIDIA reference and then AMD. Use hashes plus replacement-library identity, actual GPU dispatch/completion and a removed-device/backend control. Compare all outputs and invalid cases, not just exit status.
  6. Wrong gfx/driver/feature, unavailable GPU, malformed metadata, stale handle, omitted synchronization and wrong-math controls must fail for the intended reason. Pure integer arithmetic comes before additional FP/warp/atomic profiles.

Open small draft PRs for capabilities, backend execution and end-to-end integration. Existing owners keep their paths. No new hardware purchases or driver swaps. C4 qualifies the specific binary/device/profile; whole-model portability #62 has its own remaining acceptance. Capture external driver/compiler dependencies and avoid claiming those are removed.

Sign in to comment