Skip to content

Commit d762040

Browse files
author
Github Executorch
committed
Re-enable optimized gelu test in CMake
I missed this line disabling the test. (Splitting out re-enable of log_softmax because I think that one needs fixes.) Differential Revision: [D69929122](https://our.internmc.facebook.com/intern/diff/D69929122/) [ghstack-poisoned]
1 parent 86984f4 commit d762040

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

kernels/test/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ foreach(kernel ${_kernels})
6666
cp
6767
"${CMAKE_CURRENT_BINARY_DIR}/../../kernels/${kernel}/${kernel}_ops_lib/*.h"
6868
"${CMAKE_CURRENT_BINARY_DIR}/include/${kernel}/executorch/kernels/${kernel}/"
69-
DEPENDS "${kernel}_ops_lib"
69+
DEPENDS "${kernel}_ops_lib"
7070
)
7171
endforeach()
7272

@@ -278,10 +278,8 @@ set(_optimized_kernels_test_sources
278278
${CMAKE_CURRENT_BINARY_DIR}/include/portable/executorch/kernels/test/supported_features.cpp
279279
)
280280

281-
# We don't have sleef on OSS so we don't have gelu and log_softmax
282-
list(REMOVE_ITEM _optimized_kernels_test_sources "op_gelu_test.cpp"
283-
"op_log_softmax_test.cpp"
284-
)
281+
# We don't have sleef on OSS so we don't have log_softmax
282+
list(REMOVE_ITEM _optimized_kernels_test_sources "op_log_softmax_test.cpp")
285283

286284
et_cxx_test(
287285
optimized_kernels_test

0 commit comments

Comments
 (0)