Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $ gcc --version
  2. gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
  3. Copyright (C) 2016 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions. There is NO
  5. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  6.  
  7. ----
  8.  
  9. In all config.mk
  10.  
  11. -export NVCC = nvcc
  12. +export NVCC = nvcc -ccbin gcc-4.9 -std=c++11
  13.  
  14. -ADD_LDFLAGS =
  15. +ADD_LDFLAGS = -lopenblas
  16.  
  17. -USE_CUDA = 0
  18. +USE_CUDA = 1
  19.  
  20. -USE_CUDA_PATH = NONE
  21. +USE_CUDA_PATH = /usr/local/cuda
  22.  
  23. -USE_CUDNN = 0
  24. +USE_CUDNN = 1
  25.  
  26. make NVCCFLAGS="-ccbin gcc-4.9 -std=c++11" -j6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement