Compiler warnings fixes (2)

Fix compiler warning messages in LPGEMM code:
- Removed extraneous parentheses in aocl_batch_gemm_s8s8s32os32.c
- Removed unused variables in lpgemv_{m,n}_kernel_s8_grp_amd512vnni.c
- Changed ERR_UBOUND in math_utils_avx2.h and math_utils_avx512.h
  to match how it is specified in AOCL libm erff.c

AMD-Internal: [CPUPL-6579]
This commit is contained in:
Smyth, Edward
2025-09-17 18:28:34 +01:00
committed by GitHub
parent 31aba514fe
commit e59eabaf58
5 changed files with 10 additions and 24 deletions

View File

@@ -181,7 +181,7 @@ AOCL_BGEMM_MATMUL(int8_t,int8_t,int32_t,int32_t,s8s8s32os32)
// has to be transposed to row-major format. In col-maj case, inputs are
// swapped and B becomes A from kernel point of view. Hence, if B is packed,
// set B to unpacked and proceed with GEMM.
if ((mtag_b[gs_i] == PACK))
if ( mtag_b[gs_i] == PACK )
{
mtag_b[gs_i] = UNPACKED;
}
@@ -444,7 +444,7 @@ AOCL_BGEMM_MATMUL(int8_t,int8_t,int8_t,int32_t,s8s8s32os8)
// has to be transposed to row-major format. In col-maj case, inputs are
// swapped and B becomes A from kernel point of view. Hence, if B is packed,
// set B to unpacked and proceed with GEMM.
if ((mtag_b[gs_i] == PACK))
if ( mtag_b[gs_i] == PACK )
{
mtag_b[gs_i] = UNPACKED;
}
@@ -694,7 +694,7 @@ AOCL_BGEMM_MATMUL(int8_t,int8_t,float,int32_t,s8s8s32of32)
// has to be transposed to row-major format. In col-maj case, inputs are
// swapped and B becomes A from kernel point of view. Hence, if B is packed,
// set B to unpacked and proceed with GEMM.
if ((mtag_b[gs_i] == PACK))
if ( mtag_b[gs_i] == PACK )
{
mtag_b[gs_i] = UNPACKED;
}
@@ -964,7 +964,7 @@ AOCL_BGEMM_MATMUL(int8_t,int8_t,bfloat16,int32_t,s8s8s32obf16)
// has to be transposed to row-major format. In col-maj case, inputs are
// swapped and B becomes A from kernel point of view. Hence, if B is packed,
// set B to unpacked and proceed with GEMM.
if ((mtag_b[gs_i] == PACK))
if ( mtag_b[gs_i] == PACK )
{
mtag_b[gs_i] = UNPACKED;
}
@@ -1231,7 +1231,7 @@ AOCL_BGEMM_MATMUL(int8_t,int8_t,uint8_t,int32_t,s8s8s32ou8)
// has to be transposed to row-major format. In col-maj case, inputs are
// swapped and B becomes A from kernel point of view. Hence, if B is packed,
// set B to unpacked and proceed with GEMM.
if ((mtag_b[gs_i] == PACK))
if ( mtag_b[gs_i] == PACK )
{
mtag_b[gs_i] = UNPACKED;
}