The host code (main.cpp) contains the OpenCL calls to invoke each of the kernels and test for accuracy compared to the CPU model (cpu.cpp).