Using openCL in ROS
Hi,
I've been using openMP to get some multi-core parallelism going in ROS but I'd like to try to use the GPU for this instead. Can someone please instruct me on how to edit my CMakeLists.txt to get ROS to compile a node so that it can use openCL? Typically, I'd go about compiling an openCL program is like this:
gcc -c -I /path-to-the-include-dir-with-cl.h/ main.c -o main.o
gcc -L /path-to-the-lib-folder-with-OpenCL-libfile/ -l OpenCL main.o -o host
I know there is a CUDA package somewhere, but it's not an option due to the ATI hardware (plus, cross-platform is nice, right?)