Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 812 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 812 Bytes

CUDA MODE

  1. CUDA+ROS:

    https://github.com/UTFPR-Robotics/ros-cuda

    1. 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)
    2. setup package.xml
    3. build using
      catkin build
      
  2. Eigen+CUDA:

    https://github.com/GPMueller/eigen-cuda

    1. edit CMakeLists.txt
    2. to create Makefile run:
    cmake .
    
    1. to compile program run:
    make