mihaibujanca / dynamicfusion

Implementation of Newcombe et al. CVPR 2015 DynamicFusion paper
BSD 3-Clause "New" or "Revised" License
391 stars 105 forks source link

Improve CMakeLists to detect CUDA compute capability #39

Open mihaibujanca opened 6 years ago

mihaibujanca commented 6 years ago

Currently, the compute capability is added as a function of the CUDA version, whereas it's dependent on the GPU rather than the CUDA version. See #19 #55

Possible solutions https://github.com/BVLC/caffe/blob/6eae122a8eb84f8371dde815986cd7524fc4cbaa/cmake/Cuda.cmake#L9-L132 https://stackoverflow.com/questions/2285185/easiest-way-to-test-for-existence-of-cuda-capable-gpu-from-cmake