Skip to content

Commit

Permalink
Removed unused broadcastImpl.
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Nov 3, 2023
1 parent 2764df0 commit ac0b80d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/web/lib/wasm/jsep/webgpu/ops/binary-op.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const createBinaryOpProgramShader =
expressionVector = funcCall.vector;
}

let broadcastImpl = '';
const inputAShapeOrRank = useShapesUniforms ? dimsA.length : dimsA;
const inputBShapeOrRank = useShapesUniforms ? dimsB.length : dimsB;
const outputShapeOrRank = useShapesUniforms ? dimsOutput.length : dimsOutput;
Expand Down Expand Up @@ -104,7 +103,6 @@ const createBinaryOpProgramShader =
${shaderHelper.registerUniform('vec_size', 'u32').declareVariables(a, b, output)}
${additionalImplementation ?? ''}
${broadcastImpl}
${shaderHelper.mainStart()}
${shaderHelper.guardAgainstOutOfBoundsWorkgroupSizes('uniforms.vec_size')}
Expand Down

0 comments on commit ac0b80d

Please sign in to comment.