OpenCL 1.2 spec line 234 specifies "Variadic macros and functions are not supported"
In practice they seem to work on Nvidia and AMD implementations, however Intel implementation has a check for this and produces an error like this:
"opencl\nbnxn_ocl_kernels.clh:56:32: error: variadic macros are not allowed in OpenCL"
In order to work on all platforms the kernel generation should be written to work without variadic macros.
OpenCL 1.2 spec line 234 specifies "Variadic macros and functions are not supported"
In practice they seem to work on Nvidia and AMD implementations, however Intel implementation has a check for this and produces an error like this: "opencl\nbnxn_ocl_kernels.clh:56:32: error: variadic macros are not allowed in OpenCL"
In order to work on all platforms the kernel generation should be written to work without variadic macros.