Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

OpenCL Flocking Demo

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,444
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 31, 2011

A demo showing the performance difference between the CPU and GPU in calculating the movement of a flock of boids and predator. The program is multithreaded for up to 32 threads when using the CPU. OpenCL is used when in GPU mode enable processing on the video card.

This demo was run on an AMD 1090T and ATI HD 5850. Also tested on my i7 laptop with a Geforce 425M card and it ran fine at about half the performance as my desktop.

The upper left shows the frames per second, if it is was using the CPU or GPU and how many nodes or particles are in the flock. The number of threads is also displayed and changeable when operating under the CPU mode.

The demo was programmed in C#. SlimDX was used for the graphics interface. OpenCLTemplate and Cloo was used to enable OpenCL acceleration.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • OpenCL is the future.

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • @AzteKpr1de really I hope it will be use for games!!

  • @DarkGhostlyDeath while it's true the processing is more dedicated, this isnt what causes the performance difference. It has to do with the number of calculations it can do simultaneously. while a 6 core can do 6 at the same time, gpu's can do many many more than that at the same time.

  • GPUs are pretty dedicated for the task they perform however CPUs are pretty generalized even with task specific instructions.

  • I guess a clear example of the parallel processing power of gpus for simple calculations compared to the more serialized cpu processing.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more