Results 1 to 3 of 3

Thread: OpenCL slower than openGL.

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    10

    OpenCL slower than openGL.

    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
    Megharaj.

  2. #2
    Senior Member
    Join Date
    May 2010
    Location
    Toronto, Canada
    Posts
    845

    Re: OpenCL slower than openGL.

    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?
    Disclaimer: Employee of Qualcomm Canada. Any opinions expressed here are personal and do not necessarily reflect the views of my employer. LinkedIn profile.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    10

    Re: OpenCL slower than openGL.

    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
    Megharaj

Similar Threads

  1. Point Sprites slower under ES 2.0 than 1.1 ?
    By RunSwimFly in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 2
    Last Post: 08-13-2010, 10:28 AM
  2. OpenCL on Windows much slower than on Mac?
    By ZhaoYu in forum OpenCL
    Replies: 6
    Last Post: 06-30-2010, 04:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •