Quantcast
Viewing all articles
Browse latest Browse all 1182

Existing code using OpenCL C++ Wrapper would not compile properly

Hi,

I have an existing C++ application that uses OpenCL C++ Wrapper API, which compiled on an earlier Intel OpenCL SDK (I forgot the version), but after I upgrade my laptop to Windows 8.1, Visual Studio 2013 Ultmate, with the below spec:

Intel® Driver Update Utility 

Product Detected  Intel® HD Graphics 4400  
Current Driver Installed  10.18.10.3907  
Your driver is current.  

Intel® SDK for OpenCL Applications 2014 version 4.6.0.92

My code would no longer compile.  The errors is:

Warning    1    warning C4996: 'clCreateSampler': was declared deprecated    C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    4312    1    OpenCLProject1
Warning    2    warning C4996: 'clCreateCommandQueue': was declared deprecated    C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    5118    1    OpenCLProject1
Warning    3    warning C4996: 'clCreateCommandQueue': was declared deprecated    C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    5148    1    OpenCLProject1
Warning    4    warning C4996: 'clCreateCommandQueue': was declared deprecated    C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    5166    1    OpenCLProject1
Warning    5    warning C4996: 'clEnqueueTask': was declared deprecated    C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    5947    1    OpenCLProject1
    6    IntelliSense: member "cl::detail::Wrapper<cl_device_id>::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible    c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    1819    23    OpenCLProject1
    7    IntelliSense: member "cl::detail::Wrapper<cl_device_id>::object_" (declared at line 1787 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible    c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    1827    23    OpenCLProject1
    8    IntelliSense: member "cl::detail::Wrapper<cl_device_id>::referenceCountable_" (declared at line 1788 of "C:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL/cl.hpp") is inaccessible    c:\Program Files (x86)\Intel\OpenCL SDK\4.6\include\CL\cl.hpp    1828    35    OpenCLProject1

Is this because of version incompatiblity? If so, is there a way I can find out the correct version and specifically build my application against that version?

 

 


Viewing all articles
Browse latest Browse all 1182


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>