| enable chromium_experimental_subgroup_matrix; |
| enable f16; |
| |
| @group(0) @binding(0) var<storage, read_write> prevent_dce : array<f16, 1024>; |
| |
| struct SB_RW { |
| arg_0 : array<f16>, |
| } |
| |
| @group(0) @binding(1) var<storage, read_write> sb_rw : SB_RW; |
| |
| fn subgroupMatrixLoad_c71ce4() -> subgroup_matrix_right<f16, 8, 8> { |
| var res : subgroup_matrix_right<f16, 8, 8> = subgroupMatrixLoad<subgroup_matrix_right<f16, 8, 8>>(&(sb_rw.arg_0), 1u, true, 1u); |
| return res; |
| } |
| |
| @compute @workgroup_size(1) |
| fn compute_main() { |
| subgroupMatrixStore(&(prevent_dce), 0, subgroupMatrixLoad_c71ce4(), false, 64); |
| } |