From: Charles D. <cde...@gm...> - 2017-08-11 16:03:10
|
Greetings, I have another curious situation. I have installed pocl 0.14 on a ubuntu 14.04 system. I can install and run clinfo without any problems. However, when I compile and run my context.cpp file ( https://github.com/cdeterman/gpuR/blob/develop/src/context.cpp) and try to run the initContexts function I keep getting a -1001 error for the get_platforms call. Any idea why this script would be failing to find the platforms whereas even a basic query file like this ( https://github.com/cdeterman/pocl_test/blob/master/clDeviceQuery.cpp) can be compiled simply with g++ -o clDeviceQuery clDeviceQuery.cpp -lOpenCL and run without a problem. Thanks, Charles |