Implement the macros to define the OpenCL kernels for the math functions