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 4a7ba26 commit 4917358Copy full SHA for 4917358
runtime/kernel/thread_parallel_interface.h
@@ -74,7 +74,7 @@ inline int64_t get_thread_num() {
74
return 0;
75
}
76
77
-void set_thread_num(int64_t thread_num) {
+inline void set_thread_num(int64_t thread_num) {
78
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
79
80
#endif // ET_USE_THREADPOOL
0 commit comments