View Full Version : OpenCL slower than openGL.

03-25-2012, 11:32 PM
Hi all,

I am working on OpenCL, have written a code in opencl which is 8 times slower than that of OpenGL.

Will opencl be powerful if we use image buffer objects.

Now next i am planning to work on opencl opengl interoperabiloity , what is the importance of this how actually can this give the increase in performance without compramising to quality.

Why is opencl 8 times slower than that of opengl than what is the use of opencl.

What are the advantages of opencl opengl interoprability.

what is the roll of image buffer in performance in opencl.

Best Regards

03-26-2012, 05:41 PM
Maybe the question you need to ask yourself is: how is it possible that running on the same hardware one version of my program is 8 times slower than the other? Could the problem be how the slower version of the program is written rather than the API?

03-26-2012, 10:29 PM
ha ha you are right . But let me say you one thing in my OpenCL code is bit exact to that of C code, but there are changes in OpenGL code , but that must not result in 8 times speed up. I just wanted to know the reason like why is that so , using textures is faster than buffer object?? if so to what extent?? what algorithm are good in OpenCL and OpenGL?? I have tried my level best we have many good performing modules (our median fillter is faster than NVIDIA's).

What type of algorithm comes good on OpenCL and OpenGL??
When must we use OpenCL, openGL interoperability??
PLease do replay me i am good at opencl but new to opengl sorry if i have any silly questions.:(
Device quadro NVS 295.

Best Regards