Skip to content

Instantly share code, notes, and snippets.

@gglanzani
Created October 3, 2016 07:41
Show Gist options
  • Save gglanzani/21ab06e770ce0ecce35dca5e64ede0ad to your computer and use it in GitHub Desktop.
Save gglanzani/21ab06e770ce0ecce35dca5e64ede0ad to your computer and use it in GitHub Desktop.
Theano + CUDA on Windows
[general]
device=gpu
floatX=float32
[cuda]
root=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0
[nvcc]
compiler_bindir=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin
[lib]
cnmem=0.2
#"cuda.root=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0,device=gpu,floatX=float32,nvcc.compiler_bindir=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin,lib.cnmem=0.2"
TOP = $(_HERE_)/..
NVVMIR_LIBRARY_DIR = $(TOP)/nvvm/libdevice
PATH += $(TOP)/open64/bin;$(TOP)/nvvm/bin;$(_HERE_);$(TOP)/lib;
INCLUDES += "-I$(TOP)/include" "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.14393.0/ucrt" "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.14393.0/shared" "-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.14393.0/um/" "-IC:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include" $(_SPACE_)
LIBRARIES =+ $(_SPACE_) "/LIBPATH:$(TOP)/lib/$(_WIN_PLATFORM_)" "-LIBPATH:C:/Program Files (x86)/Windows Kits/10/Lib/10.0.14393.0/um/x64" "-LIBPATH:C:/Program Files (x86)/Windows Kits/10/Lib/10.0.14393.0/ucrt/x64"
CUDAFE_FLAGS +=
PTXAS_FLAGS +=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment