Skip to content

Commit

Permalink
kompute : fix validation error in op_mul
Browse files Browse the repository at this point in the history
  • Loading branch information
cebtenzzre committed Oct 26, 2023
1 parent b277b18 commit 523faa7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kompute/op_mul.comp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ layout(push_constant) uniform PushConstants {
uint inAOff;
uint inBOff;
uint outOff;
uint row;
} pcs;

void main() {
const uint i = gl_WorkGroupID.x;

out_[i + pcs.outOff] = inA[i + pcs.inAOff] * inB[(i) + pcs.inBOff];
}
}

0 comments on commit 523faa7

Please sign in to comment.