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 / amd-kfd-launch / reference / README.md
| 1 | # Pinned primary sources for the KFD topology conversion |
| 2 | |
| 3 | These are unmodified upstream files, retaining their upstream license headers. |
| 4 | `sources.json` is the canonical source of URLs, digests and unique statement anchors. |
| 5 | Raw line ranges are derived from those anchors in the pinned files. |
| 6 | `SHA256SUMS` and the table below are derived views checked by the gate. The launcher gate checks every digest and the cited |
| 7 | producer statements offline before compiling. Retrieve each file from the URL |
| 8 | below and verify its listed digest before replacing a reference. |
| 9 | |
| 10 | <!-- generated from sources.json --> |
| 11 | | Local file | Upstream URL | Relevant lines | |
| 12 | | --- | --- | --- | |
| 13 | | topology-rocm-6.2.0.c | https://raw.githubusercontent.com/ROCm/ROCT-Thunk-Interface/rocm-6.2.0/src/topology.c | 1147-1150, 1204-1205 | |
| 14 | | topology-rocm-7.2.2.c | https://raw.githubusercontent.com/ROCm/rocm-systems/rocm-7.2.2/projects/rocr-runtime/libhsakmt/src/topology.c | 1171-1174, 1234-1235 | |
| 15 | | queues-rocm-6.2.0.c | https://raw.githubusercontent.com/ROCm/ROCT-Thunk-Interface/rocm-6.2.0/src/queues.c | 292-298 | |
| 16 | | kfd_topology-v6.18.c | https://raw.githubusercontent.com/torvalds/linux/v6.18/drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 461-465, 2082-2083 | |
| 17 | | kfd_crat-v6.18.c | https://raw.githubusercontent.com/torvalds/linux/v6.18/drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 1041, 2286-2287 | |
| 18 | | AMDHSAKernelDescriptor-rocm-7.2.2.h | https://raw.githubusercontent.com/ROCm/llvm-project/rocm-7.2.2/llvm/include/llvm/Support/AMDHSAKernelDescriptor.h | 155, 243, 248, 249, 252 | |
| 19 | <!-- end generated source table --> |
| 20 | |
| 21 | ROCT maps `array_count` to a local SIMD-array count and |
| 22 | `simd_arrays_per_engine` to `NumArrays`. It derives `NumShaderBanks` by dividing |
| 23 | that count by `NumArrays`; the queue calculation divides by `NumArrays` again. |
| 24 | The native launcher deliberately retains both divisions. The gate includes an |
| 25 | array-bound fixture that distinguishes the formulas and a missing-division |
| 26 | mutation control. |