File tree Expand file tree Collapse file tree 3 files changed +44
-4
lines changed Expand file tree Collapse file tree 3 files changed +44
-4
lines changed Original file line number Diff line number Diff line change 2020- op : _softmax.out
2121 kernels :
2222 - arg_meta : null
23- kernel_name : cadence::impl::G3::softmax_out
23+ kernel_name : cadence::impl::G3::_softmax_out
2424
2525- op : add.out
2626 kernels :
7171 kernels :
7272 - arg_meta : null
7373 kernel_name : cadence::impl::G3::mul_out
74-
74+
7575- op : mul.Scalar_out
7676 kernels :
7777 - arg_meta : null
111111 kernels :
112112 - arg_meta : null
113113 kernel_name : torch::executor::where_out
114-
114+
115115- op : native_layer_norm.out
116116 kernels :
117117 - arg_meta : null
118- kernel_name : cadence::impl::G3::native_layer_norm_out
118+ kernel_name : cadence::impl::G3::native_layer_norm_out
Original file line number Diff line number Diff line change 1+ load("targets.bzl", "define_common_targets")
2+
3+ oncall("odai_jarvis")
4+
5+ define_common_targets()
Original file line number Diff line number Diff line change 1+ load ("@fbsource//tools/build_defs:platform_defs.bzl" , "CXX" )
2+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
3+
4+ def define_common_targets ():
5+ """Defines targets that should be shared between fbcode and xplat.
6+
7+ The directory containing this targets.bzl file should also contain both
8+ TARGETS and BUCK files that call this function.
9+ """
10+
11+ # Define build targets for all operators registered in the tables above.
12+
13+ runtime .cxx_library (
14+ name = "cadence_g3_ops" ,
15+ srcs = glob ([
16+ "*.cpp" ,
17+ ]),
18+ platforms = CXX ,
19+ deps = [
20+ "//executorch/kernels/portable/cpu/util:all_deps" ,
21+ "//executorch/kernels/portable/cpu/pattern:all_deps" ,
22+ "//executorch/runtime/kernel:kernel_includes" ,
23+ "//executorch/kernels/portable/cpu:scalar_utils" ,
24+ "fbsource//third-party/nnlib-FusionG3/xa_nnlib:libxa_nnlib_common" ,
25+ "fbsource//third-party/nnlib-FusionG3/xa_nnlib:libxa_nnlib" ,
26+ ],
27+ visibility = [
28+ "//executorch/backends/cadence/..." ,
29+ "@EXECUTORCH_CLIENTS" ,
30+ ],
31+ exported_deps = [
32+ "fbsource//third-party/nnlib-FusionG3/xa_nnlib:libxa_nnlib_common" ,
33+ "fbsource//third-party/nnlib-FusionG3/xa_nnlib:libxa_nnlib" ,
34+ ],
35+ )
You can’t perform that action at this time.
0 commit comments