OpenCL on IntelliJ IDEA

Hi. I think we can narrow it down to the way the printf works. I simplified the program to the bare bone:

__kernel void PrintfTest()
{
    printf("%s\n", "hello world1");
    printf("hello world2");
};

It produces on the IntelliJ IDEA console:
hello world1
It appears that printf doesn’t do anything without arguments. The specification https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf is - I think - not quite clear that there has to be at least one argument. However, on page 292 of said spec an example of a valid use of printf is given as follows:

kernel void my_kernel( … )
{
    printf("%s\n", "this is a test string\n");
}

That seems to suggest, that you have to formally use a string argument, even if you have just that one argument.

So, I guess: case closed. Thanks again for your effort.