We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54598a9 commit b47c37eCopy full SHA for b47c37e
extension/threadpool/threadpool.cpp
@@ -127,7 +127,7 @@ ThreadPool* get_threadpool() {
127
#else
128
// Set threads equal to the number of performance cores.
129
auto result =
130
- ::executorch::extension::cpuinfo::get_num_performant_cores();
+ static_cast<int>(::executorch::extension::cpuinfo::get_num_performant_cores());
131
#endif
132
133
/*
0 commit comments