Skip to content

Commit 3fa5935

Browse files
committed
Open offset print for 1st time when call PIM functions.
1 parent 08cdc28 commit 3fa5935

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ggml/src/ggml.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17444,13 +17444,11 @@ static __inline__ int dpu_get_gemv_res(struct ggml_tensor *input, struct ggml_te
1744417444
float *mul_mat_res = (float *)res->data;
1744517445
uint32_t output_offset = res->inout_offset;
1744617446

17447-
#if PIM_DEBUG_PERF_PRINT
1744817447
static bool offset_printed = false;
1744917448
if( !offset_printed) {
17450-
printf("%s: offset = %d ", __FUNCTION__, output_offset);
17451-
offset_printed = true;
17449+
printf("%s: offset = %d ", __FUNCTION__, output_offset);
17450+
offset_printed = true;
1745217451
}
17453-
#endif
1745417452

1745517453
dpu_set = *(res->dpu_set);
1745617454
int nr_dpus;

0 commit comments

Comments
 (0)