Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Makefile.config.Ubuntu14_cuda_7.example 3.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  1. ## Refer to http://caffe.berkeleyvision.org/installation.html
  2. # Contributions simplifying and improving our build system are welcome!
  3. # cuDNN acceleration switch (uncomment to build with cuDNN).
  4. USE_CUDNN := 1
  5. # CPU-only switch (uncomment to build without GPU support).
  6. # CPU_ONLY := 1
  7. # uncomment to disable IO dependencies and corresponding data layers
  8. # USE_OPENCV := 0
  9. # USE_LEVELDB := 0
  10. # USE_LMDB := 0
  11. # uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary)
  12. # You should not set this flag if you will be reading LMDBs with any
  13. # possibility of simultaneous read and write
  14. # ALLOW_LMDB_NOLOCK := 1
  15. # Uncomment if you're using OpenCV 3
  16. # OPENCV_VERSION := 3
  17. # To customize your choice of compiler, uncomment and set the following.
  18. # N.B. the default for Linux is g++ and the default for OSX is clang++
  19. # CUSTOM_CXX := g++
  20. # CUDA directory contains bin/ and lib/ directories that we need.
  21. CUDA_DIR := /usr/local/cuda
  22. # On Ubuntu 14.04, if cuda tools are installed via
  23. # "sudo apt-get install nvidia-cuda-toolkit" then use this instead:
  24. # CUDA_DIR := /usr
  25. # CUDA architecture setting: going with all of them.
  26. # For CUDA < 6.0, comment the *_50 through *_61 lines for compatibility.
  27. # For CUDA < 8.0, comment the *_60 and *_61 lines for compatibility.
  28. CUDA_ARCH := -gencode arch=compute_30,code=sm_30 \
  29. -gencode arch=compute_35,code=sm_35 \
  30. -gencode arch=compute_50,code=sm_50 \
  31. -gencode arch=compute_52,code=sm_52
  32. # Deprecated
  33. # CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
  34. # -gencode arch=compute_20,code=sm_21 \
  35. # -gencode arch=compute_30,code=sm_30 \
  36. # -gencode arch=compute_35,code=sm_35 \
  37. # -gencode arch=compute_50,code=sm_50 \
  38. # -gencode arch=compute_52,code=sm_52
  39. # Uncomment to enable op::Profiler
  40. # PROFILER_ENABLED := 1
  41. # DEEP_NET choice:
  42. # caffe for Caffe (default and only option so far)
  43. DEEP_NET := caffe
  44. # BLAS choice:
  45. # atlas for ATLAS (default)
  46. # mkl for MKL
  47. # open for OpenBlas
  48. BLAS := atlas
  49. # Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
  50. # Leave commented to accept the defaults for your choice of BLAS
  51. # (which should work)!
  52. # BLAS_INCLUDE := /path/to/your/blas
  53. # BLAS_LIB := /path/to/your/blas
  54. # Homebrew puts openblas in a directory that is not on the standard search path
  55. # BLAS_INCLUDE := $(shell brew --prefix openblas)/include
  56. # BLAS_LIB := $(shell brew --prefix openblas)/lib
  57. # Caffe directory
  58. CAFFE_DIR := 3rdparty/caffe/distribute
  59. # Whatever else you find you need goes here.
  60. INCLUDE_DIRS := /usr/local/include
  61. LIBRARY_DIRS := /usr/local/lib /usr/lib
  62. # If Homebrew is installed at a non standard location (for example your home directory) and you use it for general dependencies
  63. # INCLUDE_DIRS += $(shell brew --prefix)/include
  64. # LIBRARY_DIRS += $(shell brew --prefix)/lib
  65. # Uncomment to use `pkg-config` to specify OpenCV library paths.
  66. # (Usually not necessary -- OpenCV libraries are normally installed in one of the above $LIBRARY_DIRS.)
  67. # USE_PKG_CONFIG := 1
  68. BUILD_DIR := build
  69. DISTRIBUTE_DIR := distribute
  70. # Uncomment for debugging. Does not work on OSX due to https://github.com/BVLC/caffe/issues/171
  71. # DEBUG := 1
  72. # The ID of the GPU that 'make runtest' will use to run unit tests.
  73. TEST_GPUID := 0
  74. # enable pretty build (comment to see full commands)
  75. Q ?= @
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...