Skip to content

Commit f5bac6a

Browse files
committed
Update
[ghstack-poisoned]
2 parents b76240d + 2272c40 commit f5bac6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/kernel/thread_parallel_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ inline int64_t get_thread_num() {
8888
return 0;
8989
}
9090

91-
void set_thread_num(int64_t thread_num) {
91+
inline void set_thread_num(int64_t thread_num) {
9292
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
9393
}
9494
#endif // ET_USE_THREADPOOL

0 commit comments

Comments
 (0)