As I did months away I checked Intel OpenCL Linux under Nvidia SDK samples finding to my surprise that some examples work in Windows but not in Linux..
For example oclNbody fails compilation of kernel sources oclNbodykernel.cl
:80:44: error: call to 'mul24' is ambiguous
:3585:35: note: candidate function
:3586:36: note: candidate function
+ many more similar errors
after that I declare that at the start of oclNbodykernel.cl
#define mul24(a,b) (a*b)
then we get at kernel compilation:
Loading Uncompiled kernel from .cl file, using oclNbodyKernel.cl
0. Running pass 'CallGraph Pass Manager' on module ''.
1. Running pass 'Sparse Conditional Constant Propagation' on function '@gravitation'
Violacin de segmento (`core' generado)
Some other samples have problems also with mul24 ambigous errors but not on Windows..