We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f49367 commit d190de6Copy full SHA for d190de6
sycl/test-e2e/DeviceLib/built-ins/printf.cpp
@@ -64,7 +64,7 @@ int main() {
64
// On SPIRV devices, vectors can be printed via native OpenCL types:
65
using ocl_int4 = sycl::vec<int, 4>::vector_t;
66
{
67
- static const CONSTANT char format[] = "%v4d\n";
+ static const CONSTANT char format[] = "%v4hld\n";
68
ext::oneapi::experimental::printf(format, (ocl_int4)v4);
69
}
70
0 commit comments