Fixed compiler warnings in LPGEMM

- Modified the correct variables to be passed for the batch_gemm_thread_decorator() for
 u8s8s32os32 API.
 - Removed commented lines in f32 GEMV_M kernels.
 - Modified some instructions in F32 GEMV M and N Kernels to re-use the existing macros.
 - Re-aligned the BIAS macro in the macro definition file.

[ AMD - Internal : CPUPL - 7013 ]
This commit is contained in:
V, Varsha
2025-07-18 16:15:52 +05:30
committed by GitHub
parent 2f54bc1e14
commit 9e8c9e2764
5 changed files with 33 additions and 31 deletions

View File

@@ -231,9 +231,9 @@ AOCL_BGEMM_MATMUL(uint8_t,int8_t,int32_t,int32_t,u8s8s32os32)
#else
batch_lpgemm_u8s8s32o32_thread_decorator
(
g_sz, m, n, k,
a, rs_a, cs_a, mtag_a,
b, rs_b, cs_b, mtag_b,
g_sz, m_local, n_local, k_local,
(const uint8_t**)a_local, rs_a, cs_a, mtag_a,
(const int8_t**)b_local, rs_b, cs_b, mtag_b,
&c[mat_idx], rs_c, cs_c,
alpha[gc_i], beta[gc_i],
&rntm_g, lcntx_g,

View File

@@ -246,7 +246,7 @@ GEN_LPGEMM_DECORATOR_FN(int8_t,int8_t,int32_t,s8s8s32o32)
#define GEN_BATCH_LPGEMM_DECORATOR_FN(A_type,B_type,C_type,LPGEMM_SFX) \
void batch_lpgemm_ ## LPGEMM_SFX ## _thread_decorator \
( \
const dim_t bs, \
const dim_t group_size, \
const dim_t* m, \
const dim_t* n, \
const dim_t* k, \
@@ -277,7 +277,7 @@ GEN_BATCH_LPGEMM_DECORATOR_FN(int8_t,int8_t,int32_t,s8s8s32o32)
#define GEN_BATCH_LPGEMM_DECORATOR_FN_MP(A_type,B_type,C_type,LPGEMM_SFX) \
void batch_lpgemm_ ## LPGEMM_SFX ## _thread_decorator \
( \
const dim_t bs, \
const dim_t group_size, \
const dim_t* m, \
const dim_t* n, \
const dim_t* k, \