Skip to content

Commit

Permalink
fix error caused by resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Aug 16, 2024
1 parent a147ae0 commit 549a8d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
12 changes: 0 additions & 12 deletions js/web/lib/wasm/jsep/webgpu/ops/3rd-party/conv2d_mm_webgpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,18 +291,6 @@ export const createConv2DMatMulProgramInfo = (
elementsSize[2],
t,
)}
${conv2dCommonSnippet(
isChannelsLast,
fitAOuter,
fitBOuter,
fitInner,
hasBias,
attributes,
elementsSize[0],
elementsSize[1],
elementsSize[2],
t,
)}
${
isVec4
? makeMatMulPackedVec4Source(elementsPerThread, workGroupSize, t, undefined, !isChannelsLast, tileInner)
Expand Down
4 changes: 1 addition & 3 deletions js/web/lib/wasm/jsep/webgpu/ops/matmul.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ export const createNaiveMatmulProgramInfo = (

for (let j = 0; j < aComponents; j++) {
calcStr += `
values[${i}] = fma(${b.type.value}(a_data${
aComponents === 1 ? '' : `[${j}]`
}), b_data${j}, values[${i}]);\n`;
values[${i}] = fma(${b.type.value}(a_data${aComponents === 1 ? '' : `[${j}]`}), b_data${j}, values[${i}]);\n`;
}
}
return calcStr;
Expand Down

0 comments on commit 549a8d3

Please sign in to comment.