Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: OpenGL 1.4 for general purpose programming

  1. #11
    Junior Member Regular Contributor
    Join Date
    Aug 2010
    Posts
    115

    Re: OpenGL 1.4 for general purpose programming

    You came here to ask for advice, and you do not listen ? How strange.
    Har?when I not listen?I just want to make thing clear for me.Got wrong?How strange?

  2. #12
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,728

    Re: OpenGL 1.4 for general purpose programming

    Texture and vertex buffer are graphic functions?You mean I can do it with Direct3D but using the graphic functions?Is it mean I need to translate graphic term into general purpose using D3D?
    Unless you're using a dedicated GPGPU API (which you can't, due to having an old GPU), like OpenCL, that's what GPGPU is: using graphics capabilities to do non-graphics works. Since your GPU doesn't really have any non-graphics capabilities, you have to sort of trick it into doing non-graphics work by transforming your non-graphics work into something that looks like graphics, then reading the image that results from it.

    Har?when I not listen?I just want to make thing clear for me.Got wrong?How strange?
    He's saying that you asked for advice. But when you got some advice (that GPGPU for packet filtering is a waste of time) you disregarded it. Which is strange for someone who is supposedly seeking advice.

  3. #13
    Junior Member Regular Contributor
    Join Date
    Aug 2010
    Posts
    115

    Re: OpenGL 1.4 for general purpose programming

    Quote Originally Posted by Alfonse Reinheart
    Texture and vertex buffer are graphic functions?You mean I can do it with Direct3D but using the graphic functions?Is it mean I need to translate graphic term into general purpose using D3D?
    Unless you're using a dedicated GPGPU API (which you can't, due to having an old GPU), like OpenCL, that's what GPGPU is: using graphics capabilities to do non-graphics works. Since your GPU doesn't really have any non-graphics capabilities, you have to sort of trick it into doing non-graphics work by transforming your non-graphics work into something that looks like graphics, then reading the image that results from it.

    Har?when I not listen?I just want to make thing clear for me.Got wrong?How strange?
    He's saying that you asked for advice. But when you got some advice (that GPGPU for packet filtering is a waste of time) you disregarded it. Which is strange for someone who is supposedly seeking advice.
    Ok..thank for your advice..

  4. #14
    Advanced Member Frequent Contributor Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    949

    Re: OpenGL 1.4 for general purpose programming

    Few advices more....

    1. Performances directly depends on the system you are executing your program. If you get some results on your Intel, it will be (I guess) several orders of magnitude slower then executed on CPU. Then your conclusions about slower execution on GPU will be useless, because nobody would try to execute something like that on Intel's GPUs. But if you have some GTX4xx, for example, it will be much much faster. For example, I got much slower execution on 8600M GT than on T8100 CPU using CUDA. And it was just buffer downsampling, which is the task that can easily be divided into thousands of threads. Further more, buffers were already in GPU's memory. The situation is much better on my desktop with GTX470. So it is hard to prove something with incapable hardware.

    2. Transferring data to GPU's memory costs. Mapping resources also costs. Considering some measurements on my laptop with 8600M, it costs a lot!

    I completely agree that you have chosen very interesting topic, but in order to be able to publish any useful results (and draw valid conclusions), you must have adequate hardware.

Posting Permissions

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