If you are getting wrong values on Nvidia card, please post in Nvidia OpenCL forums.
I don't believe its a card problem - I am aware of Nvidia forums, i posted here hoping some one would point out the mistake on the example I am making. I assumed folks in here would have more familiarity with this particular example.
I don't beleive your suggestion has taken me any more closer to solving the problem, however thanks for taking the time to respond
clCreateContextFromType requires that the first parameter is non-NULL. Please see the examples in SDK 2.0 for how to correctly intialize the platform and the Installation notes for how to setup the ICD model on your machine.