Target older cuda architecture for compatibility

This commit is contained in:
loki-47-6F-64 2021-09-22 14:49:49 +02:00
parent d0529fb234
commit b3304a059d
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ else()
if(CMAKE_CUDA_COMPILER)
if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
set(CMAKE_CUDA_ARCHITECTURES 75)
set(CMAKE_CUDA_ARCHITECTURES 35)
endif()
set(CUDA_FOUND ON)

View File

@ -461,7 +461,7 @@ public:
}
cursor_visible = cursor;
if(false && cursor) {
if(cursor) {
capture_params.bPushModel = nv_bool(false);
capture_params.bWithCursor = nv_bool(true);
capture_params.bAllowDirectCapture = nv_bool(false);