File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Chapter10/10_deep_learning Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11CUDA_PATH =/usr/local/cuda
2- # CUDA_PATH=/cm/extra/apps/CUDA.linux86-64/10.0.130_410.48
32HOST_COMPILER ?= g++
43NVCC =${CUDA_PATH}/bin/nvcc -ccbin ${HOST_COMPILER}
54TARGET =train
65
76INCLUDES = -I${CUDA_PATH}/samples/common/inc -I$(CUDA_PATH ) /include
87NVCC_FLAGS =-G --resource-usage -Xcompiler -rdynamic -Xcompiler -fopenmp -rdc=true -lnvToolsExt
98
10- IS_CUDA_11: =$( shell echo `$(NVCC ) --version | grep compilation | grep -Eo -m 1 '[0-9]+.[0-9]' | head -1` \>= 11.0 | bc)
9+ IS_CUDA_11: =${ shell expr ` $( NVCC) --version | grep compilation | grep -Eo -m 1 ' [0-9]+.[0-9]' | head -1` \>= 11.0}
1110
1211# Gencode argumentes
1312SMS = 35 37 50 52 60 61 70 75
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ TARGET=train
66INCLUDES = -I${CUDA_PATH}/samples/common/inc -I$(CUDA_PATH ) /include
77NVCC_FLAGS =-G --resource-usage -Xcompiler -rdynamic -Xcompiler -fopenmp -rdc=true -lnvToolsExt
88
9- IS_CUDA_11: =$( shell echo `$(NVCC ) --version | grep compilation | grep -Eo -m 1 '[0-9]+.[0-9]' | head -1` \>= 11.0 | bc)
9+ IS_CUDA_11: =${ shell expr ` $( NVCC) --version | grep compilation | grep -Eo -m 1 ' [0-9]+.[0-9]' | head -1` \>= 11.0}
1010
1111# Gencode argumentes
1212SMS = 35 37 50 52 60 61 70 75
You can’t perform that action at this time.
0 commit comments