compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

%% string breaks printf

Open linehill opened this issue 3 years ago • 0 comments

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]

linehill avatar Apr 27 '22 06:04 linehill