-
Notifications
You must be signed in to change notification settings - Fork 536
Split delinearize_index out of broadcast_util #9056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d0b11e8
9437be1
643e10e
6f2842b
e47dfeb
231ebc3
296513c
845a01e
a92958a
3fa99d6
a6c69a6
3bd6437
675f01b
5f3a768
9fdebee
70a7096
337dc23
f388177
2949daf
7347915
1a8481d
e48e816
3351d50
0102e25
a1aeae7
c658163
7e0ccd4
d9cd27c
c130224
754a4f6
11c5707
7ca7627
d428ca2
b478275
0470870
5a283c8
a8a0e57
df93cd4
6350e07
bd20770
e7190a8
4dd58a0
e4af3bb
9c9e31e
34423ae
ef1a0ce
6844013
e417a3b
4a7ba26
c0d1daa
f408201
4917358
4a43b35
3fe478d
73f37ee
a8dd330
0088cd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
# This source code is licensed under the BSD-style license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
# @generated by test/utils/generate_gtest_cmakelists.py | ||
# | ||
# This file should be formatted with | ||
# ~~~ | ||
# cmake-format -i CMakeLists.txt | ||
|
@@ -12,28 +14,14 @@ | |
# | ||
|
||
cmake_minimum_required(VERSION 3.19) | ||
project(extension_parallel_test) | ||
|
||
# Use C++17 for test. | ||
set(CMAKE_CXX_STANDARD 17) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why'd the standard line go away? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we don't need it |
||
|
||
set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..) | ||
|
||
include(${EXECUTORCH_ROOT}/build/Test.cmake) | ||
|
||
set(_test_srcs thread_parallel_test.cpp ../thread_parallel.cpp) | ||
set(_test_srcs thread_parallel_test.cpp threadpool_test.cpp) | ||
|
||
et_cxx_test( | ||
extension_parallel_test | ||
SOURCES | ||
${_test_srcs} | ||
EXTRA_LIBS | ||
pthreadpool | ||
cpuinfo | ||
extension_threadpool_test SOURCES ${_test_srcs} EXTRA_LIBS | ||
extension_threadpool | ||
) | ||
target_include_directories( | ||
extension_parallel_test | ||
PRIVATE ${EXECUTORCH_ROOT}/backends/xnnpack/third-party/cpuinfo/include | ||
${EXECUTORCH_ROOT}/backends/xnnpack/third-party/pthreadpool/include | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were any of our tutorials using thread_parallel.h?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code search says no