Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
704ced1b
Unverified
Commit
704ced1b
authored
Aug 21, 2025
by
Hubert Lu
Committed by
GitHub
Aug 21, 2025
Browse files
[AMD] Remove the deprecated C10_WARP_SIZE (#9356)
parent
3cc3d9b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
sgl-kernel/include/utils.h
sgl-kernel/include/utils.h
+5
-3
No files found.
sgl-kernel/include/utils.h
View file @
704ced1b
...
@@ -331,9 +331,11 @@ inline bool getEnvEnablePDL() {
...
@@ -331,9 +331,11 @@ inline bool getEnvEnablePDL() {
#ifndef USE_ROCM
#ifndef USE_ROCM
#define WARP_SIZE 32
#define WARP_SIZE 32
#else
#else
#include <ATen/cuda/CUDAContext.h>
#if defined(__GFX9__) || !defined(__HIP_DEVICE_COMPILE__)
#include <c10/macros/Macros.h>
#define WARP_SIZE 64
#define WARP_SIZE C10_WARP_SIZE
#else
#define WARP_SIZE 32
#endif
#endif
#endif
#ifdef USE_ROCM
#ifdef USE_ROCM
...
...
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