Collaboroate

Introducing Collaborate

Collaborate is the latest OS X software from TheSpicyChicken. This real-time collaborative document editor lets you share and edit documents with your friends over any Jabber server. Just sign in with your Google Talk or Jabber username and start editing.

Finally… back to Science.

With the election behind and a collective sigh of relief from the science community we can get back to the good stuff– throwing some fuel into the engine we call SCIENCE!  For my part, I got some much needed time to learn about and implement some simple algorithms utilizing CUDA.  CUDA is a c-extension from Nvidia for leveraging the massive computational power in your GPU.  In my case my GeForce 8600M graphics card in my MacBook Pro.

I have to give some serious props to the devs of CUDA because it is very straight forward and makes programming for the GPU rather intuitive.  I have been able to implement the Lloyd’s Algorithm for the K-Means problem in just a few days.  The speed increase is graphically represented in the following graph.

In green is the time in seconds required to compute the kmeans solution using the CPU and in red is the time required for the GPU.  The variance in the times comes from the nature of Lloyd’s algorithm which, depding on the input, can take a variable amount of time.  The GPU times are also varied but it is difficult to see in the figure.

These results are just from running the application on my MBP.  If you have a machine with many graphics processors (or many machines each with their own GPU) then you can parallelize this even more and massively boost your computational power.  In my opinion the GPU architecture is the future of scientific computing as so many of our computational challenges can be addressed using parallelization.

For those that are interested I will be writing up some CUDA tutorials covering Installation/Set Up, A “Hello World” example, and the full K-Means implementation over at MacResearch.org.

Tags: , , , ,

Filed under:Science

4 Responses to “Finally… back to Science.”

Leave a Reply

Spam protection by WP Captcha-Free