Introduce WebCLTransformerClient for use in AST visitors.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Make parts of opencl-validator reusable.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>

Fixed Xcode compile error.

Signed-off-by: Mikael Lepistö <mikael.lepisto@vincit.fi>
Add example transformation test case.

You should note that the transformations introduced in this commit
will be refactored heavily in the near future and they don't represent
the final transformation forms yet. At this point we simply need a
test case to see that we don't break anything when we start converging
the transformations towards the final form.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Add information about OpenCL driver issues.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Make it possible to build OpenCL C code on all or specific devices.

This allows us to find out the most restrictive interpretation of
OpenCL specification by compiler writers. In the ideal case, the test
cases should compile and pass with all OpenCL ICD drivers.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>