mirror of https://github.com/AlexeyAB/darknet.git
Makefile added hints to compile for Jetson Tx1 and Tx2
This commit is contained in:
parent
4373f897f1
commit
f03d486760
8
Makefile
8
Makefile
|
@ -11,9 +11,17 @@ ARCH= -gencode arch=compute_30,code=sm_30 \
|
|||
-gencode arch=compute_52,code=[sm_52,compute_52] \
|
||||
-gencode arch=compute_61,code=[sm_61,compute_61]
|
||||
|
||||
|
||||
# For Jetson Tx1 uncomment:
|
||||
# ARCH= -gencode arch=compute_51,code=[sm_51,compute_51]
|
||||
|
||||
# For Jetson Tx2 uncomment:
|
||||
# ARCH= -gencode arch=compute_62,code=[sm_62,compute_62]
|
||||
|
||||
# This is what I use, uncomment if you know your arch and want to specify
|
||||
# ARCH= -gencode arch=compute_52,code=compute_52
|
||||
|
||||
|
||||
VPATH=./src/
|
||||
EXEC=darknet
|
||||
OBJDIR=./obj/
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalIncludeDirectories>..\..\3rdparty\include;%(AdditionalIncludeDirectories);$(CudaToolkitIncludeDir);$(cudnn)\include</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>CUDNN;YOLODLL_EXPORTS;_TIMESPEC_DEFINED;_CRT_SECURE_NO_WARNINGS;GPU;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>CUDNN;GPU;YOLODLL_EXPORTS;_TIMESPEC_DEFINED;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<CLanguageStandard>c11</CLanguageStandard>
|
||||
<CppLanguageStandard>c++1y</CppLanguageStandard>
|
||||
<PrecompiledHeaderCompileAs>CompileAsCpp</PrecompiledHeaderCompileAs>
|
||||
|
|
Loading…
Reference in New Issue