ling32 AMD gfx12: packed S8 trunk GEMM (bit-identical), default on for gfx12

The trunk GEMMs (every S8 matrix: KDA / MLA / dense / shared expert / lm_head) read their weights as one 8-byte dword group per lane from a different weight row (about six small loads per k16 step); in the exact-path ablation the weight loads were 37 % of the trunk kernel time
(no weight loads 812 ms vs 1,285 ms at 4K).  Each GEMM call now first rewrites its S8_K matrix (a 262-byte superblock per row: fp16 D, 4 group-scale bytes, 256 q) into a scratch laid out for the A fragments: one 16-byte load per lane (512 contiguous bytes per wave) delivers two k16 steps,
and the 32 group scales of a 32-row wave tile come precomputed as floats (Dh * u / 255, the same expression as the unpacked kernel).  Same bytes, same fragments, same MMA order, same group epilogue: the logits are bit-identical.

- gemm_sk_w2p_kernel + w2_pack_q_kernel + w2_pack_eff_kernel in ling32_wmma2.inc (HIP only), 128 MB repack scratch per stream (taken in w2_reserve with the other scratch, before the KV cache; a matrix larger than it goes through in row blocks; no room = the unpacked kernel).
- Used for S8, tc-mode 2, 64-token tiles, N >= 128 (prefill chunks).  Decode, experts, other codes and the MTP sidecar are untouched.
- Default on for gfx12 only (engine, HIP block); gfx11 / Strix and every non-WMMA AMD target keep the unpacked kernel (the packed kernel is written for the 8-half fragments).  STRATA_L32_W2_PACK=0 or the config part pack0 turns it off (pack1 on).  Registered (rollback), docs/SETTINGS.md regenerated.
- SYCL: g_w2_pack link definition next to g_w2_nt / g_w2_etn (shared ling32_main.cpp references it).  Metal has its own main.

Measured on the R9700 (gfx1201, p620, tier B, SQ-96, fast-jobs, 4K and 16K prompts, pack0 / pack1 interleaved in one process, last-logit md5 equal in all four runs):
  4K : 1,162.8 / 1,180.8 tok/s (pack0)  vs 1,318.3 / 1,315.9 (pack1): +12.4 %, md5 38659685acd2
  16K: 1,162.2 / 1,145.0 tok/s (pack0)  vs 1,373.4 / 1,356.7 (pack1): +18.3 %, md5 b5f1798919c9
Kernel time at 4K (rocprofv3): trunk GEMM 1,281 ms -> 677 ms (647 GEMM + 30 repack), total kernel time 3,211 -> 2,589 ms.
Teacher-forced dumps, pack1 vs pack0: all 17 short-set files and the 4K file have equal md5 (short 6cb0eca7932d..., 4K cdac903e4abd), so the fp64 goldens are exactly those of the unpacked path.
Timeline: with the packed GEMM the 4K prompt is bound by the expert uploads (21,021 copies, 3.09 s, about 25 GB/s on this PCIe 4.0 platform), not by the kernels.
This commit is contained in:
Niko1221 committed 2026-12-03 03:56:56 +01:00
1 parent 03006f62ed
commit 2754fa02c8
8 files changed
+228 -23

No files matched your search

+2 -1
View File
@@ -472,7 +472,7 @@ Off unless you set them. The last column says where each one is described.
| `STRATA_WATCHDOG_S` | text | NVIDIA and AMD, Intel Arc | [DETAILS.md](DETAILS.md) |
| `STRATA_WDDM_BUDGET` | number | AMD, Intel Arc | [AMD_HIP.md](AMD_HIP.md) |
## Switches that go back to earlier behaviour (157)
## Switches that go back to earlier behaviour (158)
These behaviours are on by default. Setting the switch returns the earlier behaviour; the notes in the register say which
version made it the default.
@@ -558,6 +558,7 @@ version made it the default.
| `STRATA_L32_SPAN_HINT` | number | NVIDIA and AMD | - | - |
| `STRATA_L32_SPEC_SPAN` | on / off | NVIDIA and AMD | - | - |
| `STRATA_L32_TIER_GROUPED_OFF` | on / off | NVIDIA and AMD | - | - |
| `STRATA_L32_W2_PACK` | number | NVIDIA and AMD | - | - |
| `STRATA_MEM_CREDIT_INACTIVE` | text | NVIDIA and AMD | v0.2.16 | - |
| `STRATA_METAL_LDB` | on / off | Mac | v0.2.16 | - |
| `STRATA_METAL_MTP_OVERLAP` | on / off | Mac | v0.2.16 | - |
+3
View File
@@ -1279,6 +1279,9 @@ bool Ling32Engine::init(GpuModel& model, const EngineOptions& o, std::string& er
if (wmma && std::strncmp(prop.gcnArchName, "gfx12", 5) == 0) {
if (gpu::g_w2_nt == 0) gpu::g_w2_nt = 4; // 0 = not set by the env or a config part
if (gpu::g_w2_etn == 0) gpu::g_w2_etn = 2;
if (gpu::g_w2_pack < 0) gpu::g_w2_pack = 1; // the packed trunk GEMM (bit-identical, +12 % prompt reading at 4K on the R9700); STRATA_L32_W2_PACK=0 / config part pack0 turns it off
} else {
gpu::g_w2_pack = 0; // the packed kernel is written for the 8-half fragments of gfx12 only (gfx11 / Strix keep the unpacked kernel)
}
}
#endif
+2
View File
@@ -17,6 +17,7 @@
namespace strata::ling32::gpu {
int g_w2_nt = [] { const char* e = std::getenv("STRATA_L32_W2_NT"); return e ? std::atoi(e) : 0; }();
int g_w2_pack = [] { const char* e = std::getenv("STRATA_L32_W2_PACK"); return e ? std::atoi(e) : -1; }(); // AMD trunk GEMM from a coalesced repack of the S8 weights: 1 on, 0 off, -1 = by the device (on for gfx12)
int g_w2_etn = [] { const char* e = std::getenv("STRATA_L32_W2_ETN"); return e ? std::atoi(e) : 0; }();
#define L32_CHECK(call) \
@@ -481,6 +482,7 @@ const void* w2_split_acts(const float* x, size_t rows_n, int K, int mode, cudaSt
return (mode & 1) ? w2_split_impl<1>(x, rows_n, K, s, dl, dm) : w2_split_impl<0>(x, rows_n, K, s, dl, dm);
}
void w2_reserve(cudaStream_t s) {
if (g_w2_pack > 0) (void)w2p_scratch(s); // the repack scratch of the packed trunk GEMM, taken here with the other scratch (before the KV cache); nullptr = no room, the unpacked kernel is used
std::lock_guard<std::mutex> lk(w2_mu());
W2Scratch& sc = w2_map()[s];
if (!sc.p) {
+1
View File
@@ -93,6 +93,7 @@ inline bool prefer_one_stage(F2 kern2, size_t smem2, F1 kern1, size_t smem1, int
return o1 > o2;
}
extern int g_w2_nt; // AMD WMMA GEMMs: tokens per block of the trunk GEMM = 16 x this (2 or 4; 0 = by the device: 4 on gfx12); STRATA_L32_W2_NT
extern int g_w2_pack; // AMD trunk GEMM from a coalesced repack of the S8 weights (bit-identical to the unpacked one): 1 on, 0 off, -1 = by the device (on for gfx12); STRATA_L32_W2_PACK
extern int g_w2_etn; // AMD WMMA routed experts: pairs per tile = 16 x this (1 or 2; 0 = by the device: 2 on gfx12); STRATA_L32_W2_ETN
extern int g_kda_chunk_force; // tests: 0 = by the device (32 where the 91 KiB of the 32-token chunk fit, else 16), 16 or 32 = that chunk length
+1
View File
@@ -1393,6 +1393,7 @@ int cmd_run(const RunOpts& o_in) {
else if (part == "kdaseq") e2.kda_chunked = false;
else if (part == "nt2" || part == "nt4") gpu::g_w2_nt = part[2] - '0'; // AMD trunk GEMM: 32 / 64 tokens per block
else if (part == "etn1" || part == "etn2") gpu::g_w2_etn = part[3] - '0'; // AMD experts: tiles of 16 / 32 pairs
else if (part == "pack0" || part == "pack1") gpu::g_w2_pack = part[4] - '0'; // AMD trunk GEMM from a coalesced repack of the S8 weights off / on
else if (part == "hx" || part == "nohx") e2.mla_hipx = part == "hx"; // expanded-form WMMA MLA on / off
else if (part == "ttc" || part == "nottc") e2.tier_grouped = part == "ttc"; // grouped tensor-core experts in the tiers on / off
else if (part == "span" || part == "nospan") { o2.span = part == "span"; o2.no_span = part == "nospan"; } // layer-major prefill on / off
+163
View File
@@ -246,6 +246,141 @@ __global__ void __launch_bounds__(128) gemm_sk_w2_kernel(const uint8_t* __restri
}
}
// ---- coalesced repack of the S8 trunk weights (STRATA_L32_W2_PACK=1, tc-mode 2): the S8_K matrix (a 262-byte superblock per row: fp16 D, 4 group-scale bytes, 256 q) is rewritten, per GEMM call, into a scratch laid
// out for the A fragments, so that one 16-byte load per lane (512 contiguous bytes per wave) delivers two k16 steps, and the 32 group scales (float, Dh * u / 255 computed by the same expression as the unpacked kernel) of a
// superblock's 32 rows are consecutive. Per 32-row wave tile and superblock: q part 8192 bytes at [(s2 * 2 + t) * 512 + lane * 16 + sub * 8] (k16 step 2 s2 + sub, row tile t, lane = 16 h + row of the tile; the 8 bytes
// are q bytes 16 (2 s2 + sub) + 8 h ..+7 of the row); scale part 4 groups x 32 floats [g * 32 + row of the wave tile]. Same bytes, same fragments, same arithmetic: bit-identical to w2_core.
constexpr size_t kW2PackBytes = static_cast<size_t>(128) << 20; // scratch per stream; a matrix larger than this goes through in row blocks
__global__ void __launch_bounds__(256) w2_pack_q_kernel(const uint8_t* __restrict__ W, int rows, int nsb, int row0, int nrows_pad, uint8_t* __restrict__ dst) {
const size_t gid = static_cast<size_t>(blockIdx.x) * 256 + threadIdx.x;
if (gid >= static_cast<size_t>(nrows_pad / 32) * nsb * 1024) return;
const int q8 = static_cast<int>(gid & 1023);
const size_t blk = gid >> 10;
const int sb = static_cast<int>(blk % nsb), wt = static_cast<int>(blk / nsb);
const int sub = q8 & 1, l = (q8 >> 1) & 31, st = q8 >> 6, t = st & 1, s2 = st >> 1;
const int s = 2 * s2 + sub, h = l >> 4, r16 = l & 15;
int row = row0 + wt * 32 + t * 16 + r16;
if (row >= rows) row = rows - 1;
const uint8_t* src = W + (static_cast<size_t>(row) * nsb + sb) * 262 + 6 + 8 * (2 * s + h);
uint2 v;
v.x = w2_ldu32(src);
v.y = w2_ldu32(src + 4);
reinterpret_cast<uint2*>(dst)[gid] = v;
}
__global__ void __launch_bounds__(256) w2_pack_eff_kernel(const uint8_t* __restrict__ W, int rows, int nsb, int row0, int nrows_pad, float* __restrict__ dst) {
const size_t gid = static_cast<size_t>(blockIdx.x) * 256 + threadIdx.x;
if (gid >= static_cast<size_t>(nrows_pad / 32) * nsb * 128) return;
const int rl = static_cast<int>(gid & 31), g = static_cast<int>((gid >> 5) & 3);
const size_t blk = gid >> 7;
const int sb = static_cast<int>(blk % nsb), wt = static_cast<int>(blk / nsb);
int row = row0 + wt * 32 + rl;
if (row >= rows) row = rows - 1;
const uint8_t* b = W + (static_cast<size_t>(row) * nsb + sb) * 262;
const float Dh = __half2float(__ushort_as_half(static_cast<unsigned short>(b[0] | (b[1] << 8))));
dst[gid] = group_scale<8>(b, Dh, g);
}
__device__ __forceinline__ wfrag_t w2_afrag_q8(uint32_t x, uint32_t y) {
uint4 r;
w2_ints4<8>(x, r.x, r.y);
w2_ints4<8>(y, r.z, r.w);
wfrag_t f;
__builtin_memcpy(&f, &r, 16);
return f;
}
// qp / effp: the repacked block of rows_blk rows (out is already offset to its first row)
__global__ void __launch_bounds__(128) gemm_sk_w2p_kernel(const uint8_t* __restrict__ qp, const float* __restrict__ effp, int rows_blk, int K, const __half* __restrict__ xh, const __half* __restrict__ xl,
const float* __restrict__ isc, int N, float* __restrict__ out, int out_stride, int accumulate) {
constexpr int NT = 4;
const int warp = threadIdx.x >> 5, lane = threadIdx.x & 31, h = lane >> 4;
const int wt = blockIdx.x * kW2Waves + warp;
const int row0 = wt * 32;
if (row0 >= rows_blk) return;
const int tok0 = blockIdx.y * 64;
const int ntv = min(NT, (N - tok0 + 15) >> 4);
const size_t dl = static_cast<size_t>(xl - xh);
const __half* xrow[NT];
const float* iscrow[NT];
#pragma unroll
for (int nt = 0; nt < NT; ++nt) {
const int tk = tok0 + nt * 16 + (lane & 15);
xrow[nt] = xh + static_cast<size_t>(tk < N ? tk : N - 1) * K;
iscrow[nt] = isc + static_cast<size_t>(tk < N ? tk : N - 1) * (K >> 6);
}
const int nsb = K >> 8;
wacc_t tot[2][NT];
#pragma unroll
for (int t = 0; t < 2; ++t)
#pragma unroll
for (int nt = 0; nt < NT; ++nt) tot[t][nt] = wacc_t{0, 0, 0, 0, 0, 0, 0, 0};
for (int sb = 0; sb < nsb; ++sb) {
const uint8_t* qb = qp + (static_cast<size_t>(wt) * nsb + sb) * 8192 + lane * 16;
const float* eb = effp + (static_cast<size_t>(wt) * nsb + sb) * 128;
#pragma unroll 1
for (int g = 0; g < 4; ++g) {
wacc_t cg[2][NT];
#pragma unroll
for (int t = 0; t < 2; ++t)
#pragma unroll
for (int nt = 0; nt < NT; ++nt) cg[t][nt] = wacc_t{0, 0, 0, 0, 0, 0, 0, 0};
#pragma unroll
for (int sp = 0; sp < 2; ++sp) {
const int s2 = g * 2 + sp;
const uint4 v0 = *reinterpret_cast<const uint4*>(qb + (s2 * 2 + 0) * 512), v1 = *reinterpret_cast<const uint4*>(qb + (s2 * 2 + 1) * 512);
#pragma unroll
for (int sub = 0; sub < 2; ++sub) {
const wfrag_t a0 = sub ? w2_afrag_q8(v0.z, v0.w) : w2_afrag_q8(v0.x, v0.y);
const wfrag_t a1 = sub ? w2_afrag_q8(v1.z, v1.w) : w2_afrag_q8(v1.x, v1.y);
const int k0 = sb * 256 + g * 64 + (sp * 2 + sub) * 16;
#pragma unroll
for (int nt = 0; nt < NT; ++nt) {
if (nt < ntv) {
const __half* p = xrow[nt] + k0;
const wfrag_t bh = wmma_load(p, lane), bl = wmma_load(p + dl, lane);
wacc_t c0 = wmma_f16(a0, bh, wacc_t{0, 0, 0, 0, 0, 0, 0, 0}), c1 = wmma_f16(a1, bh, wacc_t{0, 0, 0, 0, 0, 0, 0, 0});
c0 = wmma_f16(a0, bl, c0);
c1 = wmma_f16(a1, bl, c1);
cg[0][nt] = cg[0][nt] + c0;
cg[1][nt] = cg[1][nt] + c1;
}
}
}
}
#pragma unroll
for (int t = 0; t < 2; ++t) {
const float4* e4 = reinterpret_cast<const float4*>(eb + g * 32 + t * 16 + h * 8);
const float4 e0 = e4[0], e1 = e4[1];
const float eff[8] = {e0.x, e0.y, e0.z, e0.w, e1.x, e1.y, e1.z, e1.w};
#pragma unroll
for (int nt = 0; nt < NT; ++nt) {
const float is = nt < ntv ? iscrow[nt][sb * 4 + g] : 1.0f;
#pragma unroll
for (int i = 0; i < 8; ++i) tot[t][nt][i] += (eff[i] * is) * cg[t][nt][i];
}
}
}
}
#pragma unroll
for (int nt = 0; nt < NT; ++nt) {
const int tk = tok0 + nt * 16 + (lane & 15);
if (nt < ntv && tk < N) {
#pragma unroll
for (int t = 0; t < 2; ++t)
#pragma unroll
for (int i = 0; i < 8; ++i) {
const int r = row0 + t * 16 + wmma_row_of(i, lane);
if (r < rows_blk) {
float* o = out + static_cast<size_t>(tk) * out_stride + r;
*o = accumulate ? *o + tot[t][nt][i] : tot[t][nt][i];
}
}
}
}
}
// Routed experts of a token batch, grouped by expert (tile = one expert, up to 16 pairs). DN: the activation rows are the pairs themselves (act [P][K]), else the token of the pair (x [N][K], token = pair / top_k).
// xh / xl / xm: the split activations; out [P][rows].
template <int CODE, bool DN, int MODE, int NT>
@@ -317,6 +452,16 @@ static std::mutex& w2_mu() { static std::mutex m; return m; }
static size_t w2_scratch_halves(size_t cap) { return 3 * cap + cap / 32 + 64; } // hi | lo | mid | the inverse group scales (floats, one per 64 values)
static std::map<cudaStream_t, uint8_t*>& w2p_map() { static std::map<cudaStream_t, uint8_t*> m; return m; }
// the repack scratch of a stream (kW2PackBytes, allocated once; nullptr if the card has no room: the launch then takes the unpacked kernel)
static uint8_t* w2p_scratch(cudaStream_t s) {
std::lock_guard<std::mutex> lk(w2_mu());
uint8_t*& p = w2p_map()[s];
if (!p && cudaMalloc(reinterpret_cast<void**>(&p), kW2PackBytes) != cudaSuccess) p = nullptr;
return p;
}
template <int MODE>
static const __half* w2_split_impl(const float* x, size_t rows_n, int K, cudaStream_t s, size_t* dl, size_t* dm) {
const size_t per = rows_n * K;
@@ -343,6 +488,24 @@ template <int CODE, int MODE>
static void launch_w2(const uint8_t* W, int rows, int K, const float* x, int N, float* out, int out_stride, bool accumulate, cudaStream_t s) {
size_t dl, dm;
const __half* xh = w2_split_impl<MODE>(x, static_cast<size_t>(N), K, s, &dl, &dm);
if constexpr (CODE == 8) {
if (g_w2_pack > 0 && g_w2_nt >= 4 && MODE == 2 && N >= 128) { // S8 trunk matrices: repack the weights into the fragment layout, then the packed GEMM (row blocks if the repack exceeds the scratch)
uint8_t* scr = w2p_scratch(s);
if (scr) {
const int nsb = K >> 8;
const int rb = static_cast<int>(kW2PackBytes / (static_cast<size_t>(nsb) * 320) / 32 * 32);
for (int r0 = 0; r0 < rows; r0 += rb) {
const int nr = std::min(rb, rows - r0), nrp = (nr + 31) / 32 * 32;
float* effp = reinterpret_cast<float*>(scr + static_cast<size_t>(nrp) * nsb * 256);
w2_pack_q_kernel<<<static_cast<unsigned>((static_cast<size_t>(nrp / 32) * nsb * 1024 + 255) / 256), 256, 0, s>>>(W, rows, nsb, r0, nrp, scr);
w2_pack_eff_kernel<<<static_cast<unsigned>((static_cast<size_t>(nrp / 32) * nsb * 128 + 255) / 256), 256, 0, s>>>(W, rows, nsb, r0, nrp, effp);
const dim3 grid((nrp / 32 + kW2Waves - 1) / kW2Waves, (N + 63) / 64);
gemm_sk_w2p_kernel<<<grid, 128, 0, s>>>(scr, effp, nr, K, xh, xh + dl, reinterpret_cast<const float*>(xh + 3 * dl), N, out + r0, out_stride, accumulate ? 1 : 0);
}
return;
}
}
}
if (g_w2_nt >= 4) { // 64 tokens per block: every decoded weight fragment feeds twice the WMMAs (gfx12 only by default)
const dim3 grid((rows + kW2Rows * kW2Waves - 1) / (kW2Rows * kW2Waves), (N + 63) / 64);
gemm_sk_w2_kernel<CODE, MODE, 4><<<grid, 128, 0, s>>>(W, rows, K, xh, xh + dl, (MODE & 1) ? xh + dm : nullptr, reinterpret_cast<const float*>(xh + 3 * dl), N, out, out_stride, accumulate ? 1 : 0);
@@ -11,6 +11,7 @@
namespace strata::ling32::gpu {
int g_w2_nt = 0; // AMD WMMA tile knobs: no meaning on SYCL, kept so that shared code links
int g_w2_etn = 0;
int g_w2_pack = -1; // AMD trunk GEMM packed-weight switch: no meaning on SYCL, kept so that shared code links
int g_tc_min_n = 0;
int g_tc_mode = 0;
int g_kda_chunk_force = 0;
+55 -22
View File
@@ -32343,7 +32343,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 1236,
"line": 1239,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -32376,7 +32376,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_kernels.cu",
"line": 586,
"line": 588,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -32693,11 +32693,11 @@
"launch_sets": [],
"launch_reads": [],
"doc_mentions": [],
"first_commit": null,
"first_date": null,
"first_commit": "e1b809c30e",
"first_date": "2026-12-03",
"since": null,
"last_commit": null,
"last_date": null,
"last_commit": "e1b809c30e",
"last_date": "2026-12-03",
"status": "research",
"owner": "L32",
"note": "measurement: bit mask of the lookahead predictors the tier run computes (1: the k=2 list, 2: the k=4 list, 3: both); default by tier (B: k=4). Use with STRATA_L32_PF_K.",
@@ -32745,7 +32745,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 1789,
"line": 1793,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33069,7 +33069,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_engine.cu",
"line": 1919,
"line": 1922,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33135,7 +33135,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_engine.cu",
"line": 1647,
"line": 1650,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33168,7 +33168,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_engine.cu",
"line": 1648,
"line": 1651,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33207,7 +33207,7 @@
},
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 859,
"line": 862,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33240,7 +33240,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_engine.cu",
"line": 1753,
"line": 1756,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -33389,7 +33389,7 @@
"first_commit": "f0586e6c71",
"first_date": "2026-12-03",
"since": null,
"last_commit": "f0586e6c71",
"last_commit": "e1b809c30e",
"last_date": "2026-12-03",
"status": "research",
"owner": "L32",
@@ -34011,7 +34011,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 894,
"line": 897,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -34025,11 +34025,11 @@
"launch_sets": [],
"launch_reads": [],
"doc_mentions": [],
"first_commit": null,
"first_date": null,
"first_commit": "e1b809c30e",
"first_date": "2026-12-03",
"since": null,
"last_commit": null,
"last_date": null,
"last_commit": "e1b809c30e",
"last_date": "2026-12-03",
"status": "research",
"owner": "L32",
"note": "experiment, NOT exact: drop a decode / verify token's routed experts whose share of its routing weight is below this value (the top expert is kept, weights renormalized, the tier store fetches nothing for them); default 0 (off)",
@@ -34077,7 +34077,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_engine.cu",
"line": 1687,
"line": 1690,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -34143,7 +34143,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 931,
"line": 934,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -34275,7 +34275,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_main.cpp",
"line": 922,
"line": 925,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -34491,7 +34491,7 @@
"reads": [
{
"file": "engine/src/ling32/ling32_kernels.cu",
"line": 20,
"line": 21,
"backend": "cuda-hip",
"fn": "getenv"
}
@@ -34549,6 +34549,39 @@
"retire_after": "",
"retired_in": ""
},
{
"name": "STRATA_L32_W2_PACK",
"backends": [
"cuda-hip"
],
"reads": [
{
"file": "engine/src/ling32/ling32_kernels.cu",
"line": 20,
"backend": "cuda-hip",
"fn": "getenv"
}
],
"parse": "int",
"default_state": null,
"code_default": "-1",
"engine_sets": [],
"engine_defaults": [],
"launch_files": [],
"launch_sets": [],
"launch_reads": [],
"doc_mentions": [],
"first_commit": null,
"first_date": null,
"since": null,
"last_commit": null,
"last_date": null,
"status": "rollback",
"owner": "L32",
"note": "AMD gfx12 trunk GEMM (S8, tc-mode 2): repack the weights per call into the fragment layout, bit-identical; default 1 on gfx12, 0 = the unpacked kernel (rollback). Config parts pack0 / pack1.",
"retire_after": "",
"retired_in": ""
},
{
"name": "STRATA_L3_PF",
"backends": [