Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Nov 26, 2023
1 parent ad0c2a2 commit b255737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/web/lib/wasm/jsep/webgpu/ops/einsum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ const createEinsumProgramInfo = (inputs: readonly TensorView[], einsumEquation:
const getShaderSource = (shaderHelper: ShaderHelper) => `
${
shaderHelper.registerUniforms(uniformsSymbols.map((symbol) => ({name: `${symbol}_max`, type: 'u32'})))
.registerUniform('outputSize', 'u32')
.declareVariables(...inputVars, output)}
.registerUniform('outputSize', 'u32')
.declareVariables(...inputVars, output)}
${shaderHelper.mainStart()}
${shaderHelper.guardAgainstOutOfBoundsWorkgroupSizes('uniforms.outputSize')}
Expand Down

0 comments on commit b255737

Please sign in to comment.