From 37921caad3c9a09bcdaba56453e35ab12dabb30f Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Mon, 24 Jul 2017 18:43:44 +0000 Subject: [PATCH] Fix that allows speedup usage of Yolo-DLL --- Makefile | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index f5524b9..3d3d5e4 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,14 @@ OPENCV=0 DEBUG=0 -ARCH= --gpu-architecture=compute_52 --gpu-code=compute_52 +ARCH= -gencode arch=compute_20,code=[sm_20,sm_21] \ + -gencode arch=compute_30,code=sm_30 \ + -gencode arch=compute_35,code=sm_35 \ + -gencode arch=compute_50,code=[sm_50,compute_50] \ + -gencode arch=compute_52,code=[sm_52,compute_52] + +# 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 -- Gitblit v1.10.0