Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

automatically detect GPU compute capability and set -arch correctly #35

Open
hjk41 opened this issue Jun 15, 2015 · 2 comments
Open

automatically detect GPU compute capability and set -arch correctly #35

hjk41 opened this issue Jun 15, 2015 · 2 comments

Comments

@hjk41
Copy link
Member

hjk41 commented Jun 15, 2015

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

@hjk41
Copy link
Member Author

hjk41 commented Jul 23, 2015

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:/PointCloudLibrary/pcl/blob/master/cmake/pcl_find_cuda.cmake
https:/Itseez/opencv/blob/master/cmake/OpenCVDetectCUDA.cmake


Reply to this email directly or view it on GitHub
#35 (comment).

HONG Chuntao
System Research Group
Microsoft Research Asia

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants