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
jerrrrry
infinicore
Commits
d790f7b4
Commit
d790f7b4
authored
Mar 05, 2026
by
wooway777
Browse files
issue/1033 - fix format
parent
b1ee0a8a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
41 deletions
+41
-41
src/infiniop/ops/attention/operator.cc
src/infiniop/ops/attention/operator.cc
+17
-17
src/infiniop/ops/conv/operator.cc
src/infiniop/ops/conv/operator.cc
+9
-9
src/infiniop/ops/dequantize_awq/operator.cc
src/infiniop/ops/dequantize_awq/operator.cc
+1
-1
src/infiniop/ops/quant/per_channel_quant_int8/operator.cc
src/infiniop/ops/quant/per_channel_quant_int8/operator.cc
+12
-12
src/infiniop/ops/random_sample/nvidia/random_sample_kernel.cuh
...nfiniop/ops/random_sample/nvidia/random_sample_kernel.cuh
+2
-2
No files found.
src/infiniop/ops/attention/operator.cc
View file @
d790f7b4
src/infiniop/ops/conv/operator.cc
View file @
d790f7b4
src/infiniop/ops/dequantize_awq/operator.cc
View file @
d790f7b4
src/infiniop/ops/quant/per_channel_quant_int8/operator.cc
View file @
d790f7b4
src/infiniop/ops/random_sample/nvidia/random_sample_kernel.cuh
View file @
d790f7b4
...
...
@@ -18,8 +18,8 @@ static cudaError argMax_(
cudaStream_t
stream
)
{
#if CUDART_VERSION >= 11000
// New interface: separate value and index outputs
T
*
max_value
=
&
kv_pair
->
value
;
int
*
max_index
=
&
kv_pair
->
key
;
T
*
max_value
=
&
kv_pair
->
value
;
int
*
max_index
=
&
kv_pair
->
key
;
return
cub
::
DeviceReduce
::
ArgMax
(
workspace_ptr
,
workspace_len
,
logits
,
max_value
,
max_index
,
n
,
...
...
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