Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/tests/amd-kfd-launch/reference/README.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / tests / amd-kfd-launch / reference / README.md` 26 lines · 1966 bytes Raw Blame History Rendered 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 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 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.