I found that you cannot use OpenCL. I would have to rewrite my algorithm in OpenGL and use shaders and vertices - then I can get "general-purpose" programming (welcome to the past, about 4-5 years ago, to be more precise).
Take a look at the following thread, which talks about what is possible and what is impossible to do in the current state (November 14, 2010): link text
source share