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.Ubuntu16.example 3.6 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
96
97
98
99
100
101
  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. -gencode arch=compute_60,code=sm_60 \
  33. -gencode arch=compute_61,code=sm_61 \
  34. -gencode arch=compute_61,code=compute_61
  35. # Deprecated
  36. # CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
  37. # -gencode arch=compute_20,code=sm_21 \
  38. # -gencode arch=compute_30,code=sm_30 \
  39. # -gencode arch=compute_35,code=sm_35 \
  40. # -gencode arch=compute_50,code=sm_50 \
  41. # -gencode arch=compute_52,code=sm_52 \
  42. # -gencode arch=compute_60,code=sm_60 \
  43. # -gencode arch=compute_61,code=sm_61 \
  44. # -gencode arch=compute_61,code=compute_61
  45. # Uncomment to enable op::Profiler
  46. # PROFILER_ENABLED := 1
  47. # DEEP_NET choice:
  48. # caffe for Caffe (default and only option so far)
  49. DEEP_NET := caffe
  50. # BLAS choice:
  51. # atlas for ATLAS (default)
  52. # mkl for MKL
  53. # open for OpenBlas
  54. BLAS := atlas
  55. # Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
  56. # Leave commented to accept the defaults for your choice of BLAS
  57. # (which should work)!
  58. # BLAS_INCLUDE := /path/to/your/blas
  59. # BLAS_LIB := /path/to/your/blas
  60. # Homebrew puts openblas in a directory that is not on the standard search path
  61. # BLAS_INCLUDE := $(shell brew --prefix openblas)/include
  62. # BLAS_LIB := $(shell brew --prefix openblas)/lib
  63. # Caffe directory
  64. CAFFE_DIR := 3rdparty/caffe/distribute
  65. # Whatever else you find you need goes here.
  66. INCLUDE_DIRS := /usr/local/include $(CAFFE_DIR)/include /usr/include/hdf5/serial
  67. LIBRARY_DIRS := /usr/local/lib /usr/lib $(CAFFE_DIR)/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/hdf5/serial
  68. # If Homebrew is installed at a non standard location (for example your home directory) and you use it for general dependencies
  69. # INCLUDE_DIRS += $(shell brew --prefix)/include
  70. # LIBRARY_DIRS += $(shell brew --prefix)/lib
  71. # Uncomment to use `pkg-config` to specify OpenCV library paths.
  72. # (Usually not necessary -- OpenCV libraries are normally installed in one of the above $LIBRARY_DIRS.)
  73. # USE_PKG_CONFIG := 1
  74. BUILD_DIR := build
  75. DISTRIBUTE_DIR := distribute
  76. # Uncomment for debugging. Does not work on OSX due to https://github.com/BVLC/caffe/issues/171
  77. # DEBUG := 1
  78. # The ID of the GPU that 'make runtest' will use to run unit tests.
  79. TEST_GPUID := 0
  80. # enable pretty build (comment to see full commands)
  81. Q ?= @
Tip!

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

Comments

Loading...