Skip to content

Commit 3a94f2e

Browse files
uditagarwal97KornevNikita
authored andcommitted
[SYCL][ESIMD][E2E] Fix printf's format specifier in dgetrf_8x8.cpp (#16541)
Fixes: CMPLRTST-26008
1 parent 69efc60 commit 3a94f2e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/test-e2e/ESIMD/regression/dgetrf_8x8.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//
1212
// Reduced version of dgetrf.cpp - M = 8, N = 8, single batch.
1313
//
14+
#include <inttypes.h>
1415
#include <math.h>
1516
#include <stdio.h>
1617
#include <stdlib.h>
@@ -218,7 +219,9 @@ static int dgetrfnp_batch_strided_check(int64_t m, int64_t n, double *a_in,
218219
double res = 0.0, nrm = 0.0, ulp = *(double *)prec_b;
219220
double *w = (double *)malloc(sizeof(double) * MAX(m * n, 1));
220221

221-
sprintf(label, "m=%ld, n=%ld, lda=%ld, batch=%ld", m, n, lda, batch);
222+
sprintf(label,
223+
"m=%" PRId64 ", n=%" PRId64 ", lda=%" PRId64 ", batch=%" PRId64, m, n,
224+
lda, batch);
222225

223226
for (k = 0; k < batch; k++) {
224227
/* info == 0 */

0 commit comments

Comments
 (0)