Skip to content

Commit 1da554a

Browse files
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
1 parent 7243a5d commit 1da554a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bench/bench_aocl_gemm/bench_lpgemm_helpers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,7 @@ static inline aocl_post_op* lpgemm_create_post_ops_struct_ ## BLAS_SFX \
13771377
post_ops->matrix_add = NULL; \
13781378
post_ops->matrix_mul = NULL; \
13791379
post_ops->pre_ops = NULL; \
1380+
post_ops->post_op_grp = NULL; \
13801381
\
13811382
/* Only supporting 8 post ops at max for now.*/ \
13821383
dim_t max_post_ops_seq_length = 8; \

0 commit comments

Comments
 (0)