compute-runtime
compute-runtime copied to clipboard
%% string breaks printf
Link to OpenCL reproducer: https://github.com/pocl/pocl/blob/master/tests/spirv/printf-kernels.cl#L55.
Instead of printing the expected output:
hello
%
hello % world
%s
It print something like this instead (output may vary):
hello
%%\n,%\n,%\n,%\n,%\n,%\n,%\n,%\n,%\n,%\n,%\n
Test environment: OS: Ubuntu 20.04.4 LTS Intel Compute Runtime version: 22.16.22992 Device: Intel(R) HD Graphics 530 [0x1912]