-
Notifications
You must be signed in to change notification settings - Fork 1
Building from source
Oleg Tarasov edited this page Feb 12, 2019
·
9 revisions
You can build Retia with or without GPU support. If you just want to take a look at the source and tinker around for a bit, build without GPU support. You can always build the full version later.
You will need Visual Studio with C# and basic C++ capabilities.
The process is very simple: just build Retia.CPUOnly.sln and you are done :)
You will need a couple of things to build Retia from source:
- Visual Studio 2017.
- CUDA Toolkit 10.0 from NVidia. Get it here.
- CuDNN 7 library. Download (you will need to register a free account with NVidia).
- Visual C++ (comes with Visual Studio, just be sure to check appropriate boxes during installation).
To build Retia.Cuda.Tests, you need to install vcpkg and Google Test. To do this you will need:
- Visual Studio 2015 Update 3 or higher
- git accesible from your command line
Now open admin command prompt and execute:
git clone https://github.com/Microsoft/vcpkg.git [vcpkg install dir]
cd [vcpkg install dir]
powershell -exec bypass scripts\bootstrap.ps1
vcpkg integrate install
vcpkg install gtest:x64-windows
Restart Visual Studio if you had it open. Now you can build the test project.