visual studio 2010 - OpenCL compiling with C++ bindings -
i'm trying compile cl.hpp khronos groups vs2010, , have following message:
1>c:\users\facundo\documents\visual studio 2010\projects\opencl\opencl\cl.hpp(4757): error c2039: 'resize' : not member of 'cl::vector<t>' 1> 1> [ 1> t=cl_context_properties 1> ]
how compile c++/opencl projects on vs2010 correctly?
cl::vector<>
has been deprecated.
by default cl.hpp should pick std::vector<>
default vector class.
maybe defined __no_std_vector
or using cl::vector<>
yourself?
Comments
Post a Comment