File tree 4 files changed +13
-1
lines changed
4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ if(NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*(iOS|ios\.toolchain)\.cmake$")
139
139
endif ()
140
140
141
141
target_link_libraries (
142
- xnn_executor_runner gflags portable_ops_lib ${xnn_executor_runner_libs}
142
+ xnn_executor_runner gflags optimized_native_cpu_ops_lib ${xnn_executor_runner_libs}
143
143
)
144
144
target_compile_options (xnn_executor_runner PUBLIC ${_common_compile_options} )
145
145
endif ()
Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ _OPTIMIZED_ATEN_OPS = (
95
95
"//executorch/kernels/portable/cpu/util:broadcast_util" ,
96
96
],
97
97
),
98
+ op_target (
99
+ name = "op_where" ,
100
+ deps = [
101
+ "//executorch/kernels/portable/cpu/util:elementwise_util" ,
102
+ ],
103
+ ),
98
104
)
99
105
100
106
Original file line number Diff line number Diff line change 101
101
kernels :
102
102
- arg_meta : null
103
103
kernel_name : torch::executor::opt_sub_scalar_out
104
+
105
+ - op : where.self_out
106
+ kernels :
107
+ - arg_meta : null
108
+ kernel_name : torch::executor::opt_where_out
Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ set(_optimized_kernels_test_sources
275
275
"op_native_layer_norm_test.cpp"
276
276
"op_neg_test.cpp"
277
277
"op_sub_test.cpp"
278
+ "op_where_test.cpp"
278
279
"UnaryUfuncRealHBBF16ToFloatHBF16Test.cpp"
279
280
${CMAKE_CURRENT_BINARY_DIR} /include /optimized/executorch/kernels/test /supported_features.cpp
280
281
)
You can’t perform that action at this time.
0 commit comments