Skip to content

Instantly share code, notes, and snippets.

@tharindu-mathew
Created June 12, 2017 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tharindu-mathew/83df3905f73ab224511dc08219c87dd9 to your computer and use it in GitHub Desktop.
Save tharindu-mathew/83df3905f73ab224511dc08219c87dd9 to your computer and use it in GitHub Desktop.
Theanorc with gpu
[global]
cuda.root=/usr/local/cuda-8.0
device = cuda
floatX = float32
force_device = True
[gpuarray]
preallocate=0.8
[blas]
ldflags=-L/usr/lib/ -lblas
[nvcc]
flags=-D_FORCE_INLINES
[dnn]
enabled = False
include_path=/usr/local/cuda-8.0/include
library_path=/usr/local/cuda-8.0/lib64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment