minerva
minerva copied to clipboard
automatically detect GPU compute capability and set -arch correctly
Currently we set -arch sm_35, which leads to "invalid device function" in older GPUs. There seems to be some effort in automatically detecting GPU compute capability and set it correctly: https://public.kitware.com/Bug/view.php?id=11767
Let's see if we can use it in our CMakeLists.txt
https://github.com/PointCloudLibrary/pcl/blob/master/cmake/pcl_find_cuda.cmake https://github.com/Itseez/opencv/blob/master/cmake/OpenCVDetectCUDA.cmake
Thanks for the info.
@minjie, @yutian, could you check if we can use this?
On Thu, Jul 23, 2015 at 2:19 PM, futurely [email protected] wrote:
https://github.com/PointCloudLibrary/pcl/blob/master/cmake/pcl_find_cuda.cmake https://github.com/Itseez/opencv/blob/master/cmake/OpenCVDetectCUDA.cmake
— Reply to this email directly or view it on GitHub https://github.com/dmlc/minerva/issues/35#issuecomment-123990565.
HONG Chuntao System Research Group Microsoft Research Asia