OpenCL HelloWorld
问题 I've just started working in opencl and I'm currently working on what should be a relatively basic hello_world program in opencl. Unfortunately the program is not outputting the proper phrase or anything at all it instead hangs with no output. Any idea on why that is the case? Below is: openglsource.cpp and hello.cl #define CL_USE_DEPRECATED_OPENCL_2_0_APIS #include<CL/cl.hpp> #include<iostream> #include <fstream> int main() { std::vector<cl::Platform> platforms; cl::Platform::get(&platforms)