I am trying to run a small program that uses 2D in jocl.
However, it seems that it does not work ..
I 'm tring to figure out what is wrong.. looking in the demos, but I didn't find any program (cl program) that runs in 2D .
I mean, I did not find any get_global_id(1) , only get_global_id(0) .
I 'm tring use queue.put2DRangeKernel on the java side .
I did a code by myself and realized that it works in 2D as we would expect.
For some kind a reason, I also noticed that there are situations that the OPENCL code finishs without any message, but it did not finish properly .
Let me try to clarify : I realized that there are situations, for instance, if I put a comment with some latin characters in the code (as in Brazilian Portuguese) that the code really did not run , but it finished without any error message.
So, it makes me wonder several times trying to figure out what happened in the code.
By the way, sorry by the weird questions.. Most probably I would must go check the code previous put a question here (maybe a stupid one) .