mirror of
https://github.com/amd/blis.git
synced 2026-04-20 15:48:50 +00:00
Bugfix: Group Size Validation for s8s8s32o32_sym_quant
- Fixed the group size validation logic to correctly check if the group_size is a multiple of 4. - Previously the condition was incorrectly performing bitwise AND with decimal 11 instead of binary 11 (decimal 3). AMD-Internal: [CPUPL-6754]
This commit is contained in:
committed by
Sharma, Arnav
parent
9b7e1105dc
commit
62d4fcb398
@@ -169,7 +169,7 @@ AOCL_GEMM_GET_REORDER_BUF_SIZE_SYM_QUANT(s8s8s32os32_sym_quant)
|
||||
#endif
|
||||
dim_t group_size = meta_data->group_size;
|
||||
|
||||
if( group_size & 11 )
|
||||
if( group_size & 3 )
|
||||
{
|
||||
bli_print_msg(" Group size should be multiple of 4 for s8s8s32os32_sym_quant", __FILE__, __LINE__ );
|
||||
return 0; // Error.
|
||||
@@ -345,7 +345,7 @@ AOCL_GEMM_REORDER_SYM_QUANT(int8_t,s8s8s32os32_sym_quant)
|
||||
}
|
||||
|
||||
dim_t group_size = meta_data->group_size;
|
||||
if( group_size & 11 )
|
||||
if( group_size & 3 )
|
||||
{
|
||||
bli_print_msg(" Group size should be multiple of 4 for s8s8s32os32_sym_quant", __FILE__, __LINE__ );
|
||||
return; // Error.
|
||||
|
||||
Reference in New Issue
Block a user