How do I compile NVIDIA OpenCL SDK Code Samples

OpenCL | NVIDIA Developer

I got several error trying to compile it.

I wanted to compile it because I’ve seen that the executable are running successfully on AMD GPU.