Skip to content

Commit f6194e6

Browse files
committed
Update on "[ET-VK][7/n] Slice, with lots of codegen improvements"
1. Add slice operation. Instead of using copy in LI, we implement a simple shader with offsets. 2. Improvement in codegen. - add support of optional variables - improve indent of the code, for better readability - allow user to specify tensor value generation, possible to generate sequential values for easier debugging for index operations - sample code improve test-case specification, particularly with long and optional values. Differential Revision: [D56295985](https://our.internmc.facebook.com/intern/diff/D56295985/) [ghstack-poisoned]
1 parent d0e0324 commit f6194e6

File tree

1 file changed

+0
-3
lines changed
  • backends/vulkan/runtime/graph/ops/impl

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@
88

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

11-
#include <executorch/backends/vulkan/runtime/api/api.h>
1211
#include <executorch/backends/vulkan/runtime/graph/Logging.h>
1312

1413
#include <executorch/backends/vulkan/runtime/graph/ops/impl/utils/DimUtils.h>
1514
#include <executorch/backends/vulkan/runtime/graph/ops/impl/utils/KernelUtils.h>
1615
#include <executorch/backends/vulkan/runtime/graph/ops/impl/utils/TensorUtils.h>
1716
#include <executorch/backends/vulkan/runtime/graph/ops/utils/ShaderNameUtils.h>
1817

19-
#include <iostream>
20-
2118
namespace vkcompute {
2219

2320
void add_slice_tensor_out_node(

0 commit comments

Comments
 (0)