Skip to content

Commit 3fe478d

Browse files
committed
Update
[ghstack-poisoned]
2 parents f408201 + 4a43b35 commit 3fe478d

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
@@ -85,7 +85,7 @@ inline int64_t get_thread_num() {
8585
return 0;
8686
}
8787

88-
void set_thread_num(int64_t thread_num) {
88+
inline void set_thread_num(int64_t thread_num) {
8989
ET_DCHECK_MSG(false, "cannot set_thread_num without threading support!");
9090
}
9191
#endif // ET_USE_THREADPOOL

0 commit comments

Comments
 (0)