Skip to content

Commit

Permalink
fix: issue running Gemm on Windows (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelspark committed May 23, 2023
1 parent 62533bd commit c772653
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wonnx/templates/matrix/gemm.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ fn main(@builtin(global_invocation_id) global_id: vec3<u32>) {
);

product = mat_right * mat_left;

for(var index_mat: u32 = 0u; index_mat < {{ kernel_size }}u; index_mat = index_mat + 1u) {
tmpsum[index_mat] = tmpsum[index_mat] + product[index_mat];
}
tmpsum = tmpsum + product;
}

{% if i_lens | length == 3 %}
Expand Down

0 comments on commit c772653

Please sign in to comment.