Thursday, December 16, 2010

Playing with AMD Apar Api

Learnt bit of AMD Java based Apar Api. Made one small demo where I ran Monte Carlo simulation using marsine twister random number algorithm. Well, I could not find good random float value algorithm so modified marsine twister according to my needs.

Good thing about AMD Apar Api is it looks for the compatible GPU and it does not find one that it runs code on CPU. so We do not need ADM ATI Redon GPU to learn Apar Api.

There are some restrictions to use Apar Api and I learnt it hard way by getting lots of exceptions. Those limitation are mentioned at link:

All AMD Apar Api SDK and related information can be found at link:

It also supports OPENCL. For more information visit the link:

Apar Api code is converted to make it run on GPU when ever possible. As AMD supports OPENCL, it would have be great if applications created using Apar Api ran on other GPUs like NVidia.

Recent Updates:
Aparapi was open sourced on September 14, 2011. See the blog post for Gary Frost’s blog to know more.

To download Aparapi, please visit the open source project site at


  1. For mathematical calculations multiple GPUs are not supported. People are facing issues with multple GPUs. Check out the blog: multiple GPUs problem:

  2. What is AMD's strategy for cloud computing?
    NVidia and Amazon are working together to provide GPU as service as part of their infrastructure as a service offerings. Compare to NVidia, AMD is far behind in cloud computing space. Check out the link for more details:


Example code to connect node.js REST service with Eureka discovery service

Eureka is Spring based discovery service developed by Netflix. To know how Eureka is used at Netflix visit: