ACDSLab / MPPI-Generic

Templated C++/CUDA implementation of Model Predictive Path Integral Control (MPPI)
https://acdslab.github.io/mppi-generic-website/
BSD 2-Clause "Simplified" License
52 stars 4 forks source link

Add compilation flag only on CUDA versions 11.2+ #3

Closed bogidude closed 1 day ago

bogidude commented 2 days ago

The compilation flag --display-error-number was added to nvcc in CUDA 11.2. We find this compilation flag quite useful if available so I changed our CMake to only add it for CUDA versions 11.2 or greater.

Jaeyoung-Lim commented 1 day ago

Fixes https://github.com/ACDSLab/MPPI-Generic/issues/2