Skip to content

Commit 27b1379

Browse files
committed
Update base for Update on "[Executorch] optimized sigmoid"
basically use exp approximation using sleef instead of std::exp Differential Revision: [D64156864](https://our.internmc.facebook.com/intern/diff/D64156864/) [ghstack-poisoned]
1 parent 71b3eeb commit 27b1379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def define_op_library(name, deps):
9898
deps = [
9999
"//executorch/runtime/kernel:kernel_includes",
100100
] + augmented_deps,
101-
fbandroid_platform_preprocessor_flags = get_vec_android_preprocessor_flags(),
101+
preprocessor_flags = get_vec_preprocessor_flags(),
102102
# sleef needs to be added as a direct dependency of the operator target when building for Android,
103103
# or a linker error may occur. Not sure why this happens; it seems that fbandroid_platform_deps of
104104
# dependencies are not transitive

0 commit comments

Comments
 (0)