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 / amd-kfd-launch / reference / README.md

26 lines · 1966 bytes Raw Blame History Source

Pinned primary sources for the KFD topology conversion

These are unmodified upstream files, retaining their upstream license headers. sources.json is the canonical source of URLs, digests and unique statement anchors. Raw line ranges are derived from those anchors in the pinned files. SHA256SUMS and the table below are derived views checked by the gate. The launcher gate checks every digest and the cited producer statements offline before compiling. Retrieve each file from the URL below and verify its listed digest before replacing a reference.

Local fileUpstream URLRelevant lines
topology-rocm-6.2.0.chttps://raw.githubusercontent.com/ROCm/ROCT-Thunk-Interface/rocm-6.2.0/src/topology.c1147-1150, 1204-1205
topology-rocm-7.2.2.chttps://raw.githubusercontent.com/ROCm/rocm-systems/rocm-7.2.2/projects/rocr-runtime/libhsakmt/src/topology.c1171-1174, 1234-1235
queues-rocm-6.2.0.chttps://raw.githubusercontent.com/ROCm/ROCT-Thunk-Interface/rocm-6.2.0/src/queues.c292-298
kfd_topology-v6.18.chttps://raw.githubusercontent.com/torvalds/linux/v6.18/drivers/gpu/drm/amd/amdkfd/kfd_topology.c461-465, 2082-2083
kfd_crat-v6.18.chttps://raw.githubusercontent.com/torvalds/linux/v6.18/drivers/gpu/drm/amd/amdkfd/kfd_crat.c1041, 2286-2287
AMDHSAKernelDescriptor-rocm-7.2.2.hhttps://raw.githubusercontent.com/ROCm/llvm-project/rocm-7.2.2/llvm/include/llvm/Support/AMDHSAKernelDescriptor.h155, 243, 248, 249, 252

ROCT maps array_count to a local SIMD-array count and simd_arrays_per_engine to NumArrays. It derives NumShaderBanks by dividing that count by NumArrays; the queue calculation divides by NumArrays again. The native launcher deliberately retains both divisions. The gate includes an array-bound fixture that distinguishes the formulas and a missing-division mutation control.