boostorg / compute

A C++ GPU Computing Library for OpenCL
http://boostorg.github.io/compute/
Boost Software License 1.0
1.55k stars 333 forks source link

Calling the method with value instead of a pointer (local_work_size[0]) for version 2.0 of OpenCL #793

Closed rrajpaul closed 6 years ago

rrajpaul commented 6 years ago

Please the error information below - I am compiling against OpenCL 2.0

/home/ryankr/repository/compute/test/test_kernel.cpp:201:5: required from here /home/ryankr/repository/compute/include/boost/compute/detail/get_object_info.hpp:46:9: error: invalid conversion from ‘size_t {aka long unsigned int}’ to ‘long unsigned int*’ [-fpermissive] ); ^

rrajpaul commented 6 years ago

This issue is not a real issue it occurs when the user environment is corrupted. I re-installed Linux mint to version 19 and did a git clone and compiled without any errors. Please close this ticket