blob: 44c77d4d32d9b4c1684097dac3b74af28cab250b [file] [log] [blame]
enable chromium_experimental_subgroup_matrix;
enable f16;
@group(0) @binding(0) var<storage, read_write> prevent_dce : array<f16, 1024>;
fn subgroupMatrixMultiplyAccumulate_c4062a() -> subgroup_matrix_result<f16, 8, 8> {
var res : subgroup_matrix_result<f16, 8, 8> = subgroupMatrixMultiplyAccumulate(subgroup_matrix_left<f32, 8, 8>(), subgroup_matrix_right<f32, 8, 8>(), subgroup_matrix_result<f16, 8, 8>());
return res;
}
@compute @workgroup_size(1)
fn compute_main() {
subgroupMatrixStore(&(prevent_dce), 0, subgroupMatrixMultiplyAccumulate_c4062a(), false, 64);
}