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 18d5dde + f5bac6a commit c44fda6Copy full SHA for c44fda6
runtime/kernel/thread_parallel_interface.h
@@ -88,7 +88,7 @@ inline int64_t get_thread_num() {
88
return 0;
89
}
90
91
-void set_thread_num(int64_t thread_num) {
+inline void set_thread_num(int64_t thread_num) {
92
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
93
94
#endif // ET_USE_THREADPOOL
0 commit comments