I started a search and came across this reference although it seems to be 'outdated' to 2011 (Don't know how much change has/may been applied to the specification since then.
OpenCL Programming Guide by Munshi, Gaster, Mattson, Fung and Ginsburg
I'm looking for a good paper book reference so as I 'play' around with trying some coding, from my experience it's much faster to browse through a paper book to get some more info on a query.
I can't remember the name of the book, but it was a long time ago, and similar the K&R. It was very concise and had everything one needed to know syntax wise about the C language.
Looking for something similar for OpenCL.
As an example.
I was looking at some OpenCl for Copernicus. It had the following line in the opencl node and although it looks self explanatory in it's easy to understand what is happening - The syntax does seem unique and I haven't seen it expressed elsewhere like this.
This is why I thought I would get a reference book. So I could look some reference as to why certain things are done a certain way, or some context.
float4 color = (float4)(1.0f,0.0f,0.0f,1.0f);