PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

Ifdef'ed CUDA calls #283

Closed haydn-jones closed 5 years ago

haydn-jones commented 5 years ago

Calls to CUDA specific functions not #ifdef'ed so they are called even if PV_USE_CUDA is set to false. This pull request adds the necessary #ifdef's