Skip to content

Commit 1a53b35

Browse files
committed
Update
[ghstack-poisoned]
1 parent 5dd96c3 commit 1a53b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/portable/executor_runner/executor_runner.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ int main(int argc, char** argv) {
133133
return 1;
134134
}
135135

136-
auto cpu_threads = FLAGS_cpu_threads;
137136
#if defined(ET_USE_THREADPOOL)
137+
auto cpu_threads = FLAGS_cpu_threads;
138138
uint32_t num_performant_cores = cpu_threads == -1
139139
? ::executorch::extension::cpuinfo::get_num_performant_cores()
140140
: static_cast<uint32_t>(cpu_threads);

0 commit comments

Comments
 (0)