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
50704f52
Unverified
Commit
50704f52
authored
Jul 26, 2024
by
Tyler Michael Smith
Committed by
GitHub
Jul 26, 2024
Browse files
[Bugfix][Kernel] Promote another index to int64_t (#6838)
parent
07278c37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/quantization/fp8/common.cu
csrc/quantization/fp8/common.cu
+1
-1
No files found.
csrc/quantization/fp8/common.cu
View file @
50704f52
...
@@ -48,7 +48,7 @@ __global__ void segmented_max_reduction(float* __restrict__ scale,
...
@@ -48,7 +48,7 @@ __global__ void segmented_max_reduction(float* __restrict__ scale,
const
scalar_t
*
__restrict__
input
,
const
scalar_t
*
__restrict__
input
,
int64_t
num_elems
)
{
int64_t
num_elems
)
{
__shared__
float
cache
[
1024
];
__shared__
float
cache
[
1024
];
int
i
=
blockDim
.
x
*
blockIdx
.
x
+
threadIdx
.
x
;
int
64_t
i
=
blockDim
.
x
*
blockIdx
.
x
+
threadIdx
.
x
;
// First store maximum for all values processes by
// First store maximum for all values processes by
// the current thread in cache[threadIdx.x]
// the current thread in cache[threadIdx.x]
...
...
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