blob: 740fbdd5d9abb0fb179db44d771e210eb525d973 [file] [log] [blame]
enable chromium_experimental_subgroup_matrix;
enable f16;
@group(0) @binding(0) var<storage, read_write> prevent_dce : array<f16, 1024>;
struct SB_RO {
arg_0 : array<f16, 1024>,
}
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
fn subgroupMatrixLoad_d2b502() -> subgroup_matrix_result<f16, 8, 8> {
var res : subgroup_matrix_result<f16, 8, 8> = subgroupMatrixLoad<subgroup_matrix_result<f16, 8, 8>>(&(sb_ro.arg_0), 1u, true, 8u);
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
subgroupMatrixStore(&(prevent_dce), 0, subgroupMatrixLoad_d2b502(), false, 64);
}