Skip to content

Commit 524acb4

Browse files
authored
use sycl printf over fprintf
1 parent ba661a4 commit 524acb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ static void pool2d_nchw_kernel(
17971797
default:
17981798
res = NAN;
17991799
op_valid = false;
1800-
fprintf(stdout, "An unsupported op is passed as argument.\n");
1800+
sycl::intel::experimental::printf("An unsupported op is passed as argument.\n");
18011801
break;
18021802
}
18031803

@@ -1819,7 +1819,7 @@ static void pool2d_nchw_kernel(
18191819
case GGML_OP_POOL_MAX: res = sycl::max(res, (To)cur); break;
18201820
default:
18211821
op_valid = false;
1822-
fprintf(stdout, "An unsupported op is passed as argument.\n");
1822+
sycl::intel::experimental::printf("An unsupported op is passed as argument.\n");
18231823
break;
18241824
}
18251825
}

0 commit comments

Comments
 (0)