Skip to content

Commit 4917358

Browse files
committed
Update
[ghstack-poisoned]
1 parent 4a7ba26 commit 4917358

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
@@ -74,7 +74,7 @@ inline int64_t get_thread_num() {
7474
return 0;
7575
}
7676

77-
void set_thread_num(int64_t thread_num) {
77+
inline void set_thread_num(int64_t thread_num) {
7878
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
7979
}
8080
#endif // ET_USE_THREADPOOL

0 commit comments

Comments
 (0)