Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4e9cf8c1
Unverified
Commit
4e9cf8c1
authored
Apr 09, 2025
by
rongfu.leng
Committed by
GitHub
Apr 08, 2025
Browse files
[Bugfix] fix gettid method is not define (#16084)
Signed-off-by:
rongfu.leng
<
rongfu.leng@daocloud.io
>
parent
2976dc27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
csrc/cpu/utils.cpp
csrc/cpu/utils.cpp
+5
-0
No files found.
csrc/cpu/utils.cpp
View file @
4e9cf8c1
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
#include <string>
#include <string>
#include <sched.h>
#include <sched.h>
#endif
#endif
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
#endif
#include "cpu_types.hpp"
#include "cpu_types.hpp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment