cuda 9.0 works great even with static linkage and -fPIC
@@ -110,11 +110,7 @@ ENDIF()
IF (HOST_OS_WINDOWS)
LDFLAGS(cublas.lib curand.lib cudart.lib cusparse.lib)
ELSE()
- IF (NOT PIC)
EXTRALIBS(-lcublas_static -lcurand_static -lcudart_static -lcusparse_static -lculibos)
- ELSE()
- EXTRALIBS(-lcublas -lcurand -lcudart -lcusparse)
- ENDIF()
ENDIF()
END()
