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.
2 parents 994c5f5 + 21d8aac commit 2272c40Copy full SHA for 2272c40
runtime/kernel/thread_parallel_interface.h
@@ -85,7 +85,7 @@ inline int64_t get_thread_num() {
85
return 0;
86
}
87
88
-void set_thread_num(int64_t thread_num) {
+inline void set_thread_num(int64_t thread_num) {
89
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
90
91
#endif // ET_USE_THREADPOOL
0 commit comments