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
7b9de7c8
Unverified
Commit
7b9de7c8
authored
Apr 07, 2026
by
Kyle Mylonakis
Committed by
GitHub
Apr 07, 2026
Browse files
[Bugfix] Correct mistake in chained comparison in static assert logic (#38699)
Signed-off-by:
Kyle Mylonakis
<
kyle@protopia.ai
>
parent
dd9342e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
csrc/cpu/cpu_attn_vec.hpp
csrc/cpu/cpu_attn_vec.hpp
+1
-1
csrc/cpu/cpu_attn_vec16.hpp
csrc/cpu/cpu_attn_vec16.hpp
+1
-1
csrc/cpu/micro_gemm/cpu_micro_gemm_vec.hpp
csrc/cpu/micro_gemm/cpu_micro_gemm_vec.hpp
+1
-1
No files found.
csrc/cpu/cpu_attn_vec.hpp
View file @
7b9de7c8
...
...
@@ -53,7 +53,7 @@ class TileGemm82 {
const
int64_t
ldb
,
const
int64_t
ldc
,
const
int32_t
block_size
,
const
int32_t
dynamic_k_size
,
const
bool
accum_c
)
{
static_assert
(
0
<
M
<=
8
);
static_assert
(
0
<
M
&&
M
<=
8
);
using
load_vec_t
=
typename
VecTypeTrait
<
kv_cache_t
>::
vec_t
;
kv_cache_t
*
__restrict__
curr_b_0
=
b_tile
;
...
...
csrc/cpu/cpu_attn_vec16.hpp
View file @
7b9de7c8
...
...
@@ -68,7 +68,7 @@ class TileGemm161 {
const
int64_t
ldb
,
const
int64_t
ldc
,
const
int32_t
block_size
,
const
int32_t
dynamic_k_size
,
const
bool
accum_c
)
{
static_assert
(
0
<
M
<=
16
);
static_assert
(
0
<
M
&&
M
<=
16
);
using
load_vec_t
=
typename
VecTypeTrait
<
kv_cache_t
>::
vec_t
;
kv_cache_t
*
__restrict__
curr_b_0
=
b_tile
;
...
...
csrc/cpu/micro_gemm/cpu_micro_gemm_vec.hpp
View file @
7b9de7c8
...
...
@@ -39,7 +39,7 @@ class TileGemm82 {
template
<
int32_t
M
>
static
void
gemm_micro
(
DEFINE_CPU_MICRO_GEMM_PARAMS
)
{
static_assert
(
0
<
M
<=
8
);
static_assert
(
0
<
M
&&
M
<=
8
);
using
load_vec_t
=
typename
cpu_utils
::
VecTypeTrait
<
scalar_t
>::
vec_t
;
scalar_t
*
__restrict__
curr_b_0
=
b_ptr
;
...
...
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