Skip to content
Snippets Groups Projects
Commit 49fb42d8 authored by Soeren Peters's avatar Soeren Peters
Browse files

Restructure the cmake cuda process. Remove the policy and always set...

Restructure the cmake cuda process. Remove the policy and always set CMAKE_CUDA_ARCHITECTURE to 30, if not set. This will fail when someone is trying to build with cuda 10.2 or higher, as cuda 10.2 minimum support is 52.

NOTICE: preferred way is to set CMAKE_CUDA_ARCHITECTURE as cmake argument OR in the config file to the real gpu architecture. For example phoenix tesla P100 have the compute capability 60.
parent 0fd519d4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment