DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Using GPUs to accelerate computations  (Read 5,391 times)

oBFusC8r

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 24
Using GPUs to accelerate computations
« on: November 10, 2006, 07:09 PM »
An interesting feature of the current, and future, generation of graphics processing units, GPU, is their ability to be programmed to process a massive amount of data in parallel...and the application using the GPU to accelerate data processing does not even have to be graphics related.

Stanford University recently upgraded their Folding@Home software ( works pretty much like SETI@Home, but is used to gain greater knowledge about diseases like cancer, Alzheimers disease etc) to make use of the power in the ATI GPUs, resulting in a massive performance increase.


http://folding.stanford.edu/FAQ-ATI.html


Quote
By writing highly optimized, hand tuned code to run on ATI X1900 class GPU’s, the science of Folding@home will see another 20x to 30x speed increase over its previous software (Gromacs) for certain applications. This great speed increase is achieved by running essentially the complete molecular dynamics calculation on the GPU

Recently NVidia released their latest generation of graphics cards, the 8800 series, using the G80 GPU, supporting "General purpose processing". What is especially cool with the latest gadget from NVidia is that they have developed a C compiler to make it easier for a programmer to use the GPU for general purpose processing. Check out this page on Anandtech.


http://www.anandtech.com/video/showdoc.aspx?i=2870&p=8


It sure will be interesting to see when ordinary CPU intense apps start to use GPU:s to speed up the data processing. Apps that benefit the most are of course those that gain the most from running multiple threads, i.e. dual core friendly apps, and the algorithm must also process data in ways that the GPU is especially good at.

Media encoders would benefit a lot. I sure wouldn't mind a 10 times faster mpeg4 or mpeg2 encoder. ATI actually made a Video converter that used the GPU in their X1xxx series of grahpics cards, but according to people that know about video quality it was fast but the quality was poor compared to the good free ones available...
« Last Edit: November 27, 2006, 11:08 PM by brotherS »

masu

  • Member
  • Joined in 2006
  • **
  • Posts: 401
Re: Using GPU:s to accelerate computations
« Reply #1 on: November 10, 2006, 07:27 PM »
I hope this technique will be used soon for media encoders !!
this would speedup things a lot
Find+Run Robot 2.90.01
Windows 7

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Using GPU:s to accelerate computations
« Reply #2 on: November 27, 2006, 08:19 AM »
Jeff Atwood had a post about this today:
http://www.codinghorror.com/blog/archives/000732.html

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Using GPU:s to accelerate computations
« Reply #3 on: November 27, 2006, 11:00 PM »
The 8800 is a pretty damn beefy GPU! But just how fast is it, compared to how much it costs and how much power it drains? (Remember the big version has power input from the PCI-e slot as well as TWO 6pin PCI-e power connectors!). Compare that to the core2duo processors... the interesting thing is, however, that the GPU has a different instruction set, and can do some operations insanely fast.

I wonder if the different floating-point formats could impose precision problems, though? Nvidia have been known for slacking a bit on image quality for speed purposes, hope that's not something so general it affects the FP quality.
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=6119.0