Skip to content

Commit aa8e237

Browse files
committed
Update on "[ET-VK][3/n] aten.permute_copy.default"
Implementation adopted from LI, with clean-up. Differential Revision: [D56093765](https://our.internmc.facebook.com/intern/diff/D56093765/) [ghstack-poisoned]
1 parent 7aeef4b commit aa8e237

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

backends/vulkan/runtime/graph/ops/glsl/permute.glsl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ void main() {
5151

5252
const int out_channel_4up = int(uBlock.ch_info.x);
5353
const int in_channel_4up = int(uBlock.ch_info.y);
54-
5554
const int out_batch = int(out_sizes.data[3]);
5655
const int max_dst_index = out_batch * out_channel_4up;
5756
VEC4_T outval = VEC4_T(0.0);

backends/vulkan/runtime/graph/ops/impl/Permute.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@
88

99
#include <executorch/backends/vulkan/runtime/graph/ops/OperatorRegistry.h>
1010

11-
#include <executorch/backends/vulkan/runtime/api/api.h>
12-
1311
#include <executorch/backends/vulkan/runtime/graph/ops/impl/utils/KernelUtils.h>
1412
#include <executorch/backends/vulkan/runtime/graph/ops/impl/utils/TensorUtils.h>
1513
#include <executorch/backends/vulkan/runtime/graph/ops/utils/ShaderNameUtils.h>
1614

17-
#include <executorch/backends/vulkan/runtime/graph/Logging.h>
18-
#include <iostream>
19-
2015
namespace vkcompute {
2116

2217
using api::utils::ivec3;

0 commit comments

Comments
 (0)