Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 3d8213f

Browse files
committed
Update threadpool api
1 parent 5dd5e42 commit 3d8213f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runner/run.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,9 @@ int main(int argc, char* argv[]) {
861861

862862
#if defined(ET_USE_ADAPTIVE_THREADS)
863863
uint32_t num_performant_cores =
864-
torch::executorch::cpuinfo::get_num_performant_cores();
864+
::executorch::extension::cpuinfo::get_num_performant_cores();
865865
if (num_performant_cores > 0) {
866-
torch::executorch::threadpool::get_threadpool()->_unsafe_reset_threadpool(
866+
::executorch::threadpool::get_threadpool()->_unsafe_reset_threadpool(
867867
num_performant_cores);
868868
}
869869
#endif

0 commit comments

Comments
 (0)