empty openCL program throws deprecation warning
I downloaded the AMD APP 3.0 SDK and as soon as I include #include <CL/cl.hpp> into my cpp it throws deprecation warnings: 1>c:\program files (x86)\amd app sdk\3.0\include\cl\cl.hpp(4240): warning C4996: 'clCreateSampler': was declared deprecated and many more. Am I doing something wrong? I feel uncomfortable starting to play with openCL having so many warnings already before writing a single line of useful code. The issue here is that cl.hpp is for OpenCL 1.X platforms, but the rest of AMD's SDK supports OpenCL 2.0. The clCreateSampler function was deprecated in OpenCL 2.0. Khronos have