-
CUDA+ROS:
https://github.com/UTFPR-Robotics/ros-cuda
- setup cmakelists.txt:
- add CUDA custom cmake configs from ref repo
- check -arch=compute_?? supported by nvcc
- check and add where nvidia-cuda-toolkit (cuda_runtime.h) in CUDA_DIR using
locate cuda-toolkit
- set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER flags (gcc and g++ found in cuda toolkit store)
- setup package.xml
- build using
catkin build
- setup cmakelists.txt:
-
Eigen+CUDA:
https://github.com/GPMueller/eigen-cuda
- edit CMakeLists.txt
- to create Makefile run:
cmake .
- to compile program run:
make