CEA-LIST / N2D2

N2D2 is an open source CAD framework for Deep Neural Network simulation and full DNN-based applications building.
Other
147 stars 35 forks source link

FORCE N2D2 TO NOT USE CUDA #90

Closed DavidBoccara closed 2 years ago

DavidBoccara commented 3 years ago

Hello CEA, Is it possible to force N2D2 to use cpu rather than CUDA ? My graphics card is too old to operate CUDA Thanks for your help

olivierbichler-cea commented 3 years ago

Hello, Yes you can compile N2D2 without CUDA. If you don't have CUDA installed, you can use the CMake directly. If CUDA is installed, there is no flag to disable CUDA with CMake right now, but you can use the Makefile, with the make command and it will compile without CUDA by default (make CUDA=1 to compile with CUDA with the Makefile).