Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
axinging committed Sep 18, 2024
1 parent 2ddd64b commit 6300ce1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion onnxruntime/core/providers/webgpu/tensor/transpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ Status Transpose::ComputeInternal(ComputeContext& context) const {
uint32_t output_size = gsl::narrow_cast<int32_t>(input_tensor->Shape().Size());
TransposeProgram program{*p_perm, use_shared};
const auto tileSize = 16; //todo
program.SetWorkgroupSize(tileSize,tileSize,1);
if (use_shared) {
program.SetWorkgroupSize(tileSize,tileSize,1);
}

/*
useShared
Expand Down

0 comments on commit 6300ce1

Please sign in to comment.