Skip to content

Commit d992a94

Browse files
committed
Update on "[Executorch][optimized] Fix op_div impl to use portable for fallback path"
Earlier we just copy pasted from portable impl. This diff refactors portable to make it usable from optimized lib. As a result we get all the size reduction benefit from build and size optimizations landed in portable. Differential Revision: [D65606665](https://our.internmc.facebook.com/intern/diff/D65606665/) [ghstack-poisoned]
2 parents 84b7029 + 20b5915 commit d992a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shim/xplat/executorch/kernels/portable/op_registration_util.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,4 +1271,4 @@ def portable_source_list():
12711271

12721272
def portable_header_list():
12731273
"""All the header file names from //executorch/kernels/portable/cpu/"""
1274-
return ["selective_build.h", "scalar_utils.h", "math_constants.h", "vec_ops.h"]
1274+
return ["selective_build.h", "scalar_utils.h", "math_constants.h", "vec_ops.h", "op_div_impl.h"]

0 commit comments

Comments
 (0)