use sycl printf over fprintf

This commit is contained in:
Abhilash Majumder 2024-12-12 14:48:23 +05:30 committed by GitHub
parent ba661a4df5
commit 524acb4279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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