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
226b452a
Unverified
Commit
226b452a
authored
Jul 22, 2025
by
Wentao Ye
Committed by
GitHub
Jul 22, 2025
Browse files
Revert "[Refactor] Fix Compile Warning #1444-D (#21208)" (#21384)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
f38ee34a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
csrc/moe/topk_softmax_kernels.cu
csrc/moe/topk_softmax_kernels.cu
+1
-2
No files found.
csrc/moe/topk_softmax_kernels.cu
View file @
226b452a
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include <ATen/cuda/CUDAContext.h>
#include <ATen/cuda/CUDAContext.h>
#include <c10/cuda/CUDAGuard.h>
#include <c10/cuda/CUDAGuard.h>
#include "../cuda_compat.h"
#include "../cuda_compat.h"
#include <cuda/std/functional>
#ifndef USE_ROCM
#ifndef USE_ROCM
#include <cub/util_type.cuh>
#include <cub/util_type.cuh>
...
@@ -63,7 +62,7 @@ __launch_bounds__(TPB) __global__
...
@@ -63,7 +62,7 @@ __launch_bounds__(TPB) __global__
const
int
thread_row_offset
=
blockIdx
.
x
*
num_cols
;
const
int
thread_row_offset
=
blockIdx
.
x
*
num_cols
;
cu
da
::
std
::
plus
<
float
>
sum
;
cu
b
::
Sum
sum
;
float
threadData
(
-
FLT_MAX
);
float
threadData
(
-
FLT_MAX
);
// Don't touch finished rows.
// Don't touch finished rows.
...
...
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