You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
today we tried to set up a PC with PetaVision. After we found out cuDNN is not compatible with the graphic card (compute probability 3.0 needed, this one had 2.1, so most of the tests failed) we wanted to compile without cuDNN. Compilation went through without a problem but the CIFAR tutorial threw an error saying Petavision was compiled without CUDA support.
In the OpenPV/cmake/PVConfigProject.cmake file at line 228 I found this code:
find_package(CUDA)
find_package(CUDNN)
# Set cuda compile flags if(CUDA_FOUND AND CUDNN_FOUND)
# Used later to set an variable in cMakeHeader.h PV_USE_CUDNN.# Without this, none of the CUDNN code will be compiled and all# CUDA code will fail set(PV_USE_CUDNN ON)
if(CMAKE_BUILD_TYPESTREQUAL"Release"ORCMAKE_BUILD_TYPESTREQUAL"MinRelSize")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS};${CUDA_RELEASE_FLAGS}")
else()
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS};${CUDA_DEBUG_FLAGS}")
endif()
else()
set(PV_USE_CUDA OFF)
endif()
where I understand from that CUDA is set to OFF at compile time if cuDNN is not found. Is this desired behaviour? I would understand otherwise from here. So, can we still use our NVIDIA GPU without cuDNN or not?
Anyways, if cuDNN is necessary, shouldn't there be at least pop up a warning like:
message(WARNING "-- CUDA cannot be used without cuDNN. Disabling CUDA build")
The text was updated successfully, but these errors were encountered:
Currently, PetaVision can only use the GPU with cuDNN. We are in the process of adding support for cuSPARSE, which would be able to run on older graphics cards. We'll add a warning saying that currently CUDA cannot be used without cuDNN; thanks for the suggestion.
Dear all,
today we tried to set up a PC with PetaVision. After we found out cuDNN is not compatible with the graphic card (compute probability 3.0 needed, this one had 2.1, so most of the tests failed) we wanted to compile without cuDNN. Compilation went through without a problem but the CIFAR tutorial threw an error saying Petavision was compiled without CUDA support.
In the OpenPV/cmake/PVConfigProject.cmake file at line 228 I found this code:
where I understand from that CUDA is set to OFF at compile time if cuDNN is not found. Is this desired behaviour? I would understand otherwise from here. So, can we still use our NVIDIA GPU without cuDNN or not?
Anyways, if cuDNN is necessary, shouldn't there be at least pop up a warning like:
The text was updated successfully, but these errors were encountered: