Bug fix in post-op creator of bench application

Details:
- Setting post_op_grp to NULL at the start of post-op
- creator to ensure that there is no junk value(non-null)
- which might lead to destroyer trying to free
-  non-allocated buffers.

AMD-Internal: [SWLCSG-3274]
Change-Id: I45a54d01f0d128d072d5d9c7e66fc08412c7c79c
This commit is contained in:
Meghana Vankadari
2025-03-03 07:25:58 +00:00
parent 7243a5d521
commit 1da554a9e5

View File

@@ -1377,6 +1377,7 @@ static inline aocl_post_op* lpgemm_create_post_ops_struct_ ## BLAS_SFX \
post_ops->matrix_add = NULL; \
post_ops->matrix_mul = NULL; \
post_ops->pre_ops = NULL; \
post_ops->post_op_grp = NULL; \
\
/* Only supporting 8 post ops at max for now.*/ \
dim_t max_post_ops_seq_length = 8; \