From 0a342d718ede0c363da223345607d493584c4591 Mon Sep 17 00:00:00 2001 From: Edmond Yoo <hj3yoo@uwaterloo.ca> Date: Sat, 13 Oct 2018 06:16:06 +0000 Subject: [PATCH] Cleaning & commenting #1 - opencv_dnn.py --- Makefile | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 5c39df1..2ffccf7 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -GPU=0 -CUDNN=0 +GPU=1 +CUDNN=1 CUDNN_HALF=0 -OPENCV=0 +OPENCV=1 AVX=0 OPENMP=0 -LIBSO=0 +LIBSO=1 # set GPU=1 and CUDNN=1 to speedup on GPU # set CUDNN_HALF=1 to further speedup 3 x times (Mixed-precision using Tensor Cores) on GPU Tesla V100, Titan V, DGX-2 @@ -29,8 +29,8 @@ # GP100/Tesla P100 � DGX-1 # ARCH= -gencode arch=compute_60,code=sm_60 -# For Jetson Tx1 uncomment: -# ARCH= -gencode arch=compute_51,code=[sm_51,compute_51] +# For Jetson TX1, Tegra X1, DRIVE CX, DRIVE PX - uncomment: +# ARCH= -gencode arch=compute_53,code=[sm_53,compute_53] # For Jetson Tx2 or Drive-PX2 uncomment: # ARCH= -gencode arch=compute_62,code=[sm_62,compute_62] @@ -57,7 +57,7 @@ OPTS= -O0 -g else ifeq ($(AVX), 1) -CFLAGS+= -ffp-contract=fast -mavx -msse4.1 -msse4a +CFLAGS+= -ffp-contract=fast -mavx -mavx2 -msse3 -msse4.1 -msse4.2 -msse4a endif endif -- Gitblit v1.10.0