Skip to content

Commit 6da8fa9

Browse files
committed
Update
[ghstack-poisoned]
1 parent 3b284ac commit 6da8fa9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

backends/webgpu/runtime/ops/quantized_linear/q4gsw_linear_coop4.wgsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ struct Params {
1818

1919
// Cooperative-over-K GEMV with u32-batched coalesced weight loads (64 lanes).
2020
const WG: u32 = 64u;
21-
var<workgroup> partial: array<f32, 64>;
21+
var<workgroup> partial: array<f32, WG>;
2222

23-
@compute @workgroup_size(64, 1, 1)
23+
@compute @workgroup_size(WG, 1, 1)
2424
fn main(
2525
@builtin(workgroup_id) wid: vec3<u32>,
2626
@builtin(num_workgroups) ngrp: vec3<u32>,

backends/webgpu/runtime/ops/quantized_linear/q4gsw_linear_coop4_wgsl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
namespace executorch::backends::webgpu {
1414

1515
// @generated from q4gsw_linear_coop4.wgsl - DO NOT EDIT.
16-
// wgsl-sha256: 6e296f0583118d1ff0df914dd3ac078e7f4e526d99be7d233531a47fddb93f89
16+
// wgsl-sha256: 3031886e68c375e617dfb263da39c492c6de4d8c1fb4073d70b18823a3e6a4fe
1717
inline constexpr const char* kQ4gswLinearCoop4WGSL = R"(
1818
@group(0) @binding(0) var<storage, read_write> t_out: array<f32>;
1919
@group(0) @binding(1) var<storage, read> t_input: array<f32>;
@@ -35,9 +35,9 @@ struct Params {
3535
3636
// Cooperative-over-K GEMV with u32-batched coalesced weight loads (64 lanes).
3737
const WG: u32 = 64u;
38-
var<workgroup> partial: array<f32, 64>;
38+
var<workgroup> partial: array<f32, WG>;
3939
40-
@compute @workgroup_size(64, 1, 1)
40+
@compute @workgroup_size(WG, 1, 1)
4141
fn main(
4242
@builtin(workgroup_id) wid: vec3<u32>,
4343
@builtin(num_workgroups) ngrp: vec3<u32>,

0 commit comments

Comments
 (0)