diff --git a/sycl/test-e2e/DeviceLib/built-ins/printf.cpp b/sycl/test-e2e/DeviceLib/built-ins/printf.cpp index 36aee3b8f2fb0..27d72070aa98a 100644 --- a/sycl/test-e2e/DeviceLib/built-ins/printf.cpp +++ b/sycl/test-e2e/DeviceLib/built-ins/printf.cpp @@ -64,7 +64,7 @@ int main() { // On SPIRV devices, vectors can be printed via native OpenCL types: using ocl_int4 = sycl::vec::vector_t; { - static const CONSTANT char format[] = "%v4d\n"; + static const CONSTANT char format[] = "%v4hld\n"; ext::oneapi::experimental::printf(format, (ocl_int4)v4); }