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 20
20
- op : _softmax.out
21
21
kernels :
22
22
- arg_meta : null
23
- kernel_name : cadence::impl::G3::softmax_out
23
+ kernel_name : cadence::impl::G3::_softmax_out
24
24
25
25
- op : add.out
26
26
kernels :
71
71
kernels :
72
72
- arg_meta : null
73
73
kernel_name : cadence::impl::G3::mul_out
74
-
74
+
75
75
- op : mul.Scalar_out
76
76
kernels :
77
77
- arg_meta : null
111
111
kernels :
112
112
- arg_meta : null
113
113
kernel_name : torch::executor::where_out
114
-
114
+
115
115
- op : native_layer_norm.out
116
116
kernels :
117
117
- 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