mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 05:31:12 +00:00
Hotfix for bug #472, compute_11 not supported, changed for now to hard-coded compute_20. Awating dynamic fix.
This commit is contained in:
parent
16a79abeca
commit
c3c258d00f
@ -106,7 +106,7 @@ if (NOT NO_LIB)
|
|||||||
if( CUDA_FOUND )
|
if( CUDA_FOUND )
|
||||||
include_directories( "${CUDA_INCLUDE_DIRS}" )
|
include_directories( "${CUDA_INCLUDE_DIRS}" )
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
list( APPEND CUDA_NVCC_FLAGS -Xcompiler -fPIC --gpu-architecture compute_11 )
|
list( APPEND CUDA_NVCC_FLAGS -Xcompiler -fPIC --gpu-architecture compute_20 )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user