  
  # ---[ Caffe version
  set(CAFFE_TARGET_VERSION "1.0.0" CACHE STRING "Caffe logical version")
-diff -aruN caffe-1.0.orig/Makefile.config.example caffe-1.0.apollo/Makefile.config.example
---- caffe-1.0.orig/Makefile.config.example	2017-04-16 00:17:48.000000000 +0800
-+++ caffe-1.0.apollo/Makefile.config.example	2020-05-14 19:36:51.637430151 +0800
-@@ -31,17 +31,13 @@
+diff -aruN caffe-1.0.orig/Makefile.config.example caffe-1.0/Makefile.config.example
+--- caffe-1.0.orig/Makefile.config.example	2020-06-05 19:54:00.866888345 +0800
++++ caffe-1.0/Makefile.config.example	2020-06-05 20:06:21.534364209 +0800
+@@ -31,17 +31,12 @@
  # CUDA_DIR := /usr
  
  # CUDA architecture setting: going with all of them.

+                                  VERSION_VAR   CUDNN_VERSION)
+
+
diff -aruN caffe-1.0.orig/CMakeLists.txt caffe-1.0.apollo/CMakeLists.txt
--- caffe-1.0.orig/CMakeLists.txt	2017-04-16 00:17:48.000000000 +0800
+++ caffe-1.0.apollo/CMakeLists.txt	2020-05-14 21:50:43.095191423 +0800
@@ -8,6 +8,8 @@
 
 # ---[ Caffe project

 
   bool success = proto->ParseFromCodedStream(coded_input);
 
diff -aruN caffe-1.0.orig/src/caffe/util/math_functions.cu caffe-1.0/src/caffe/util/math_functions.cu
--- caffe-1.0.orig/src/caffe/util/math_functions.cu	2020-06-05 19:54:00.910887778 +0800
+++ caffe-1.0/src/caffe/util/math_functions.cu	2020-06-05 19:54:09.626775454 +0800
@@ -1,4 +1,4 @@
-#include <math_functions.h>  // CUDA's, not caffe's, for fabs, signbit
+#include <cuda_runtime_api.h>
