Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

struggling when trying to install waifu2x-caffe on google colab #9

Closed
mikebilly opened this issue Dec 8, 2021 · 19 comments
Closed

Comments

@mikebilly
Copy link

mikebilly commented Dec 8, 2021

Hi!, I'm not sure if I can ask this here but, I'm pretty new to Github stuffs, can anyone teach me install waifu2x-caffe on Google Colab from scratch? Thank you so much! Waifu2x is an awesome project, I really appreciate everything you guys have done for this project and anything related. It's just that my laptop is too weak to run waifu2x, so I'm trying to run it on Google Colab. hope anyone would help me complete this notebook and I'll definitely share it once it's finished and working!

Edit:
I've read through the issue at #3 posted by @sjscotti, this is what I've done so far:

%%shell
sudo apt update
sudo apt upgrade
# add a bunch of libraries to try and fix the ld error (none seem to help)
!sudo apt-get update
!sudo apt-get install build-essential
!sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev 
!sudo apt-get install libboost-dev libboost-all-dev libhdf5-serial-dev libgflags-dev
!sudo apt-get install libgoogle-glog-dev liblmdb-dev protobluf-compiler
!sudo apt-get install libprotoc-dev libpthread-stubs0-dev 
!sudo apt-get install python-dev python-pip gfortran
!sudo apt-get -y install libboost-tools-dev libboost-thread-dev magics++

# apt calls required to install dependencies needed to build caffe library
!apt update
!apt install g++-5
!sudo apt-get install dialog # fixes "debconf: unable to initialize frontend: Dialog..." error
!sudo apt-get install libprotobuf-dev protobuf-c-compiler protobuf-compiler 
!sudo apt-get install libgflags-dev # from https://github.com/BVLC/caffe/wiki/Commonly-encountered-build-issues
!sudo apt-get install libgoogle-glog-dev # from https://github.com/BVLC/caffe/wiki/Commonly-encountered-build-issues
!sudo apt-get install liblmdb-dev # from https://github.com/BVLC/caffe/wiki/Commonly-encountered-build-issues
!sudo apt-get install libleveldb-dev # from https://gist.github.com/dustismo/6203329#file-gistfile1-sh
!sudo apt-get install libsnappy-dev # from https://github.com/BVLC/caffe/issues/4490
!git clone -b waifu2x-caffe-ubuntu https://github.com/nagadomi/caffe.git lltcggie-caffe
!cd lltcggie-caffe
!cp /content/Makefile.config .
# Makefile.config was edited to remove -gencode arch=compute_20,code=sm_21 and placed on /content
!make
%%shell
git clone --recursive -b ubuntu https://github.com/nagadomi/waifu2x-caffe.git
cd waifu2x-caffe
git submodule update --init --recursive
# create symlink to ltcggie-caffe
!ln -s ../lltcggie-caffe ./caffe
!ln -s ../lltcggie-caffe ./libcaffe
import os 
os.chdir('/content/waifu2x-caffe')
# build 
!rm -fr build # clean
!mkdir build
os.chdir('/content/lltcggie-caffe')
!cmake /content/lltcggie-caffe

running the above block of codes gave me this:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/include  
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include  
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") 
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1") found components:  HL 
-- Found LMDB: /usr/include  
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB: /usr/include  
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy: /usr/include  
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7") 
-- Found NumPy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.16.4", minimum required is "1.7.1") 
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Not found
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   No
--   config_file       :   
-- 
-- Install:
--   Install path      :   /content/lltcggie-caffe/install
-- 
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
    linked by target "caffe" in directory /content/lltcggie-caffe/src/caffe

-- Configuring incomplete, errors occurred!
See also "/content/lltcggie-caffe/CMakeFiles/CMakeOutput.log".
See also "/content/lltcggie-caffe/CMakeFiles/CMakeError.log".

what should I do to make waifu-caffe work?

@nagadomi
Copy link
Owner

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)

This error occurs with older versions of CMake (FindCUDA) that do not support CUDA 10 or later. You should upgrade CMake.
Also I have never built waifu2x-caffe-ubuntu with CUDA11.

@mikebilly
Copy link
Author

mikebilly commented Dec 12, 2021

thank you @nagadomi, that old CMake version was the problem, I installed Cmake with these commands:

%cd /content
!sudo apt remove cmake
!sudo apt purge --auto-remove cmake
!mkdir ~/temp
%cd ~/temp
!wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh
!sudo mkdir /opt/cmake
!sudo sh cmake-3.12.3-Linux-x86_64.sh --prefix=/opt/cmake --skip-license

then I deleted /usr/local/bin/cmake, and ran the following command:

!sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
!cmake --version

outputs:

cmake version 3.12.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

I then ran !cmake .., and this is the output:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/include  
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include  
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") 
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1") found components:  HL 
-- Found LMDB: /usr/include  
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB: /usr/include  
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy: /usr/include  
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7") 
-- Found NumPy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.16.4", minimum required is "1.7.1") 
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Not found
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found OpenCV: /usr (found version "3.2.0") found components:  core imgproc highgui 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Found GLOG: /usr/include  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: /content/waifu2x-caffe-ubuntu/build

however, cuDNN was not found, although I have installed it using these commands:

!sudo dpkg -i libcudnn8-dev_8.0.5.39-1+cuda11.1_amd64.deb libcudnn8_8.0.5.39-1+cuda11.1_amd64.deb

and

%cd /usr/local/
!tar -xzvf "cudnn-11.1-linux-x64-v8.0.5.39.tgz"

!chmod a+r /usr/local/cuda/include/cudnn.h
!cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

%cd /content/

the current Cuda version is 11.1 so I downloaded cuDNN for for Cuda 11.1.
So how to make it detect cuDNN?

this is the output after running !make :

[  1%] Running C++/Python protocol buffer compiler on /content/waifu2x-caffe-ubuntu/caffe/src/caffe/proto/caffe.proto
Scanning dependencies of target proto
[  1%] Building CXX object libcaffe/src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
[  1%] Linking CXX static library ../../lib/libproto.a
[  1%] Built target proto
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_axpy_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_center_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/crop_layer.cu(8): warning: function "caffe::compute_uncropped_index" was declared but never referenced

[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_relu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 29%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Scanning dependencies of target caffe
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/blob.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/common.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_reader.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/axpy_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_center_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_deconv_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o
[ 43%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o
[ 43%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o
[ 43%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o
[ 44%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o
[ 44%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o
[ 44%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o
[ 48%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o
[ 48%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o
[ 51%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o
[ 51%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o
[ 51%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o
[ 52%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o
[ 52%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o
[ 52%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/input_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o
[ 55%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o
[ 55%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lstm_layer.cpp.o
[ 55%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lstm_unit_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o
[ 58%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o
[ 58%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/parameter_layer.cpp.o
[ 59%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o
[ 59%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o
[ 59%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o
[ 60%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o
[ 60%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o
[ 60%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o
[ 62%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o
[ 62%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/rnn_layer.cpp.o
[ 62%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o
[ 66%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o
[ 66%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o
[ 66%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o
[ 67%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o
[ 67%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o
[ 68%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o
[ 68%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/net.cpp.o
[ 68%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o
[ 70%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solver.cpp.o
[ 70%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o
[ 70%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o
[ 74%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o
[ 74%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o
[ 74%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/cudnn_func.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o
[ 77%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o
[ 77%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o
[ 77%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o
[ 78%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o
[ 78%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o
[ 79%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o
[ 79%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o
[ 79%] Linking CXX shared library ../../lib/libcaffe.so
[ 79%] Built target caffe
Scanning dependencies of target waifu2x-caffe
[ 79%] Building CXX object CMakeFiles/waifu2x-caffe.dir/waifu2x-caffe/Source.cpp.o
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp: In function ‘int main(int, char**)’:
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp:459:16: warning: unknown escape sequence: '\222'
   tprintf(TEXT("�G���[: �l�b�g���[�N�̍\�z�Ɏ��s���܂���\n"));
                ^
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp:39:17: note: in definition of macro ‘TEXT’
 #define TEXT(x) x
                 ^
[ 79%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/cNet.cpp.o
/content/waifu2x-caffe-ubuntu/common/cNet.cpp: In member function ‘Waifu2x::eWaifu2xError cNet::LoadParameterFromJson(const boost::filesystem::path&, const boost::filesystem::path&, const boost::filesystem::path&, const boost::filesystem::path&, const string&)’:
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:516:8: warning: unused variable ‘lk’ [-Wunused-variable]
   auto lk = l->type();
        ^~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:531:15: warning: unused variable ‘nInputPlane’ [-Wunused-variable]
    const auto nInputPlane = (*it)["nInputPlane"].GetInt();
               ^~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:532:15: warning: unused variable ‘nOutputPlane’ [-Wunused-variable]
    const auto nOutputPlane = (*it)["nOutputPlane"].GetInt();
               ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:533:15: warning: unused variable ‘kW’ [-Wunused-variable]
    const auto kW = (*it)["kW"].GetInt();
               ^~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:569:11: warning: unused variable ‘weightCount’ [-Wunused-variable]
    size_t weightCount = 0;
           ^~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp: In member function ‘Waifu2x::eWaifu2xError cNet::ReconstructImage(bool, int, int, int, int, float*, const cv::Mat&, cv::Mat&)’:
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:746:18: warning: unused variable ‘LinePixel’ [-Wunused-variable]
       const auto LinePixel = someimg.step1() / someimg.channels();
                  ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:657:13: warning: unused variable ‘InputLine’ [-Wunused-variable]
  const auto InputLine = inMat.step1();
             ^~~~~~~~~
[ 81%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/stImage.cpp.o
/content/waifu2x-caffe-ubuntu/common/stImage.cpp: In static member function ‘static Waifu2x::eWaifu2xError stImage::WriteMat(const cv::Mat&, const boost::filesystem::path&, const boost::optional<int>&)’:
/content/waifu2x-caffe-ubuntu/common/stImage.cpp:917:15: warning: unused variable ‘Line’ [-Wunused-variable]
    const auto Line = im.step1();
               ^~~~
[ 81%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/waifu2x.cpp.o
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp: In constructor ‘{anonymous}::CudaDeviceSet::CudaDeviceSet(const string&, int)’:
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:157:39: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaGetDeviceCount(&count) != CUDA_SUCCESS)
                                       ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:163:38: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaGetDevice(&orgDevice) != CUDA_SUCCESS)
                                      ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:166:33: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaSetDevice(devno) != CUDA_SUCCESS)
                                 ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp: In member function ‘Waifu2x::eWaifu2xError Waifu2x::waifu2x(double, const void*, void*, int, int, int, int, int, int, int, int, bool, int)’:
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:848:14: warning: unused variable ‘width’ [-Wunused-variable]
   const auto width = out_image.size().width;
              ^~~~~
[ 82%] Linking CXX executable waifu2x-caffe
[ 82%] Built target waifu2x-caffe
Scanning dependencies of target upgrade_solver_proto_text
[ 82%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_solver_proto_text.dir/upgrade_solver_proto_text.cpp.o
[ 83%] Linking CXX executable upgrade_solver_proto_text
[ 83%] Built target upgrade_solver_proto_text
Scanning dependencies of target device_query
[ 83%] Building CXX object libcaffe/tools/CMakeFiles/device_query.dir/device_query.cpp.o
[ 85%] Linking CXX executable device_query
[ 85%] Built target device_query
Scanning dependencies of target caffe.bin
[ 86%] Building CXX object libcaffe/tools/CMakeFiles/caffe.bin.dir/caffe.cpp.o
[ 86%] Linking CXX executable caffe
[ 86%] Built target caffe.bin
Scanning dependencies of target test_net
[ 87%] Building CXX object libcaffe/tools/CMakeFiles/test_net.dir/test_net.cpp.o
[ 87%] Linking CXX executable test_net
[ 87%] Built target test_net
Scanning dependencies of target train_net
[ 87%] Building CXX object libcaffe/tools/CMakeFiles/train_net.dir/train_net.cpp.o
[ 89%] Linking CXX executable train_net
[ 89%] Built target train_net
Scanning dependencies of target compute_image_mean
[ 89%] Building CXX object libcaffe/tools/CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o
[ 89%] Linking CXX executable compute_image_mean
[ 89%] Built target compute_image_mean
Scanning dependencies of target convert_imageset
[ 89%] Building CXX object libcaffe/tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o
[ 90%] Linking CXX executable convert_imageset
[ 90%] Built target convert_imageset
Scanning dependencies of target upgrade_net_proto_binary
[ 90%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_net_proto_binary.dir/upgrade_net_proto_binary.cpp.o
[ 90%] Linking CXX executable upgrade_net_proto_binary
[ 90%] Built target upgrade_net_proto_binary
Scanning dependencies of target upgrade_net_proto_text
[ 91%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_net_proto_text.dir/upgrade_net_proto_text.cpp.o
[ 91%] Linking CXX executable upgrade_net_proto_text
[ 91%] Built target upgrade_net_proto_text
Scanning dependencies of target extract_features
[ 93%] Building CXX object libcaffe/tools/CMakeFiles/extract_features.dir/extract_features.cpp.o
[ 93%] Linking CXX executable extract_features
[ 93%] Built target extract_features
Scanning dependencies of target finetune_net
[ 93%] Building CXX object libcaffe/tools/CMakeFiles/finetune_net.dir/finetune_net.cpp.o
[ 94%] Linking CXX executable finetune_net
[ 94%] Built target finetune_net
Scanning dependencies of target net_speed_benchmark
[ 94%] Building CXX object libcaffe/tools/CMakeFiles/net_speed_benchmark.dir/net_speed_benchmark.cpp.o
[ 94%] Linking CXX executable net_speed_benchmark
[ 94%] Built target net_speed_benchmark
Scanning dependencies of target convert_cifar_data
[ 95%] Building CXX object libcaffe/examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o
[ 95%] Linking CXX executable cifar10/convert_cifar_data
[ 95%] Built target convert_cifar_data
Scanning dependencies of target convert_mnist_data
[ 95%] Building CXX object libcaffe/examples/CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o
[ 95%] Linking CXX executable mnist/convert_mnist_data
[ 95%] Built target convert_mnist_data
Scanning dependencies of target classification
[ 95%] Building CXX object libcaffe/examples/CMakeFiles/classification.dir/cpp_classification/classification.cpp.o
[ 97%] Linking CXX executable cpp_classification/classification
[ 97%] Built target classification
Scanning dependencies of target convert_mnist_siamese_data
[ 98%] Building CXX object libcaffe/examples/CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o
[ 98%] Linking CXX executable siamese/convert_mnist_siamese_data
[ 98%] Built target convert_mnist_siamese_data
Scanning dependencies of target pycaffe
[100%] Building CXX object libcaffe/python/CMakeFiles/pycaffe.dir/caffe/_caffe.cpp.o
[100%] Linking CXX shared library ../lib/_caffe.so
Creating symlink /content/waifu2x-caffe-ubuntu/caffe/python/caffe/_caffe.so -> /content/waifu2x-caffe-ubuntu/build/libcaffe/lib/_caffe.so
[100%] Built target pycaffe

does it look right to you?

@mikebilly
Copy link
Author

mikebilly commented Dec 12, 2021

after opening video2x.yaml and changing from

waifu2x_caffe:
  path: '%LOCALAPPDATA%\video2x\waifu2x-caffe\waifu2x-caffe-cui'

to this

waifu2x_caffe:
  path: '/content/waifu2x-caffe-ubuntu/build/waifu2x-caffe'

I tried to run video2x with waifu2x_caffe:

!python /content/video2x/src/video2x.py -i /content/birdo.png -o testwaifu2x.png -d waifu2x_caffe -r 2

but I got this:


    __      __  _       _                  ___   __   __
    \ \    / / (_)     | |                |__ \  \ \ / /
     \ \  / /   _    __| |   ___    ___      ) |  \ V /
      \ \/ /   | |  / _` |  / _ \  / _ \    / /    > <
       \  /    | | | (_| | |  __/ | (_) |  / /_   / . \
        \/     |_|  \__,_|  \___|  \___/  |____| /_/ \_\


                  Video2X Video Enlarger

                       Version 4.3.3

Traceback (most recent call last):
  File "/content/video2x/src/video2x.py", line 282, in <module>
    config = read_config(video2x_args.config)
  File "/content/video2x/src/video2x.py", line 234, in read_config
    return yaml.load(config, Loader=yaml.FullLoader)
AttributeError: module 'yaml' has no attribute 'FullLoader'

how to get it to work?

@nagadomi
Copy link
Owner

So how to make it detect cuDNN?

Set USE_CUDNN := 1 in Makefile.config.
Also, the first time you run cmake command, cuDNN will be undetected for some unknown reason; running cmake command twice will detect cuDNN.

AttributeError: module 'yaml' has no attribute 'FullLoader'

Python's yaml module is outdated. However, it is a video2x issue, so I don't know about it.

@mikebilly
Copy link
Author

Thank you @nagadomi for your reply, could you tell me where I should place Makefile.config? and exactly how should I run !cmake .. command?.

If I run these two commands in this directory /content/waifu2x-caffe-ubuntu/build:

!cmake ..
!cmake ..

I get this output

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Found cuDNN: ver. ??? found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
CMake Error at caffe/cmake/Cuda.cmake:230 (message):
  cuDNN version >3 is required.
Call Stack (most recent call first):
  caffe/cmake/Cuda.cmake:258 (detect_cuDNN)
  caffe/cmake/Dependencies.cmake:84 (include)
  caffe/CMakeLists.txt:44 (include)


-- Configuring incomplete, errors occurred!
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeOutput.log".
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeError.log".

and If I do this:

!rm -rf /content/waifu2x-caffe-ubuntu/build
os.mkdir('/content/waifu2x-caffe-ubuntu/build')
os.chdir('/content/waifu2x-caffe-ubuntu/build')
!cmake ..

and get the same output as before, which is still:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/include  
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include  
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") 
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1") found components:  HL 
-- Found LMDB: /usr/include  
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB: /usr/include  
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy: /usr/include  
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7") 
-- Found NumPy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.16.4", minimum required is "1.7.1") 
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Not found
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found OpenCV: /usr (found version "3.2.0") found components:  core imgproc highgui 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Found GLOG: /usr/include  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: /content/waifu2x-caffe-ubuntu/build

with -- cuDNN : Not found

@mikebilly
Copy link
Author

thank you @nagadomi again, I updated yaml and it allowed me to run video2x (sorry if this might be off-topic)
If I run

!/content/waifu2x-caffe-ubuntu/build/waifu2x-caffe -i /content/birdo.png -o testwaifu2x.png 

it gives a weird output:

�G���[: ���f���t�@�C�����J���܂���ł���

if I try to run waifu2x-caffe through video2x, I get this:


    __      __  _       _                  ___   __   __
    \ \    / / (_)     | |                |__ \  \ \ / /
     \ \  / /   _    __| |   ___    ___      ) |  \ V /
      \ \/ /   | |  / _` |  / _ \  / _ \    / /    > <
       \  /    | | | (_| | |  __/ | (_) |  / /_   / . \
        \/     |_|  \__,_|  \___|  \___/  |____| /_/ \_\


                  Video2X Video Enlarger

                       Version 4.3.3

[+] INFO: Loading files into processing queue
2021-12-12 18:33:44.974242 [+] INFO: Input path(s): /content/birdo.png
2021-12-12 18:33:44.975170 [+] INFO: File MIME type: image/png
[+] INFO: Loaded files into processing queue
2021-12-12 18:33:44.976671 [+] INFO: Input file: /content/birdo.png
[+] INFO: Reading file information
2021-12-12 18:33:44.976879 [+] INFO: Executing: /usr/bin/ffprobe -v quiet -print_format json -show_format -show_streams -i /content/birdo.png
2021-12-12 18:33:45.042314 [+] INFO: Creating cache directory /tmp/video2x
2021-12-12 18:33:45.042739 [+] INFO: Extracted frames are being saved to: /tmp/video2x/tmpkbbgcioa
2021-12-12 18:33:45.042973 [+] INFO: Upscaled frames are being saved to: /tmp/video2x/tmplmb7vc4z
[+] INFO: Starting upscaling image
[+] INFO: Calculating scaling parameters
2021-12-12 18:33:45.043644 [+] INFO: Framerate: 1
2021-12-12 18:33:45.043739 [+] INFO: Width: 197
2021-12-12 18:33:45.043828 [+] INFO: Height: 162
2021-12-12 18:33:45.043916 [+] INFO: Total number of frames: 1
2021-12-12 18:33:45.044011 [+] INFO: Output width: 394
2021-12-12 18:33:45.044131 [+] INFO: Output height: 324
2021-12-12 18:33:45.044301 [+] INFO: Required scale ratio: 2.0
2021-12-12 18:33:45.044417 [+] INFO: Upscaling jobs queue: [2.0]
2021-12-12 18:33:45.044578 [+] INFO: Executing: /usr/bin/ffprobe -v quiet -pix_fmts
2021-12-12 18:33:45.105631 [+] INFO: {'yuv420p': 12, 'yuyv422': 16, 'rgb24': 24, 'bgr24': 24, 'yuv422p': 16, 'yuv444p': 24, 'yuv410p': 9, 'yuv411p': 12, 'gray': 8, 'monow': 1, 'monob': 1, 'pal8': 8, 'yuvj420p': 12, 'yuvj422p': 16, 'yuvj444p': 24, 'xvmcmc': 0, 'xvmcidct': 0, 'uyvy422': 16, 'uyyvyy411': 12, 'bgr8': 8, 'bgr4': 4, 'bgr4_byte': 4, 'rgb8': 8, 'rgb4': 4, 'rgb4_byte': 4, 'nv12': 12, 'nv21': 12, 'argb': 32, 'rgba': 32, 'abgr': 32, 'bgra': 32, 'gray16be': 16, 'gray16le': 16, 'yuv440p': 16, 'yuvj440p': 16, 'yuva420p': 20, 'vdpau_h264': 0, 'vdpau_mpeg1': 0, 'vdpau_mpeg2': 0, 'vdpau_wmv3': 0, 'vdpau_vc1': 0, 'rgb48be': 48, 'rgb48le': 48, 'rgb565be': 16, 'rgb565le': 16, 'rgb555be': 15, 'rgb555le': 15, 'bgr565be': 16, 'bgr565le': 16, 'bgr555be': 15, 'bgr555le': 15, 'vaapi_moco': 0, 'vaapi_idct': 0, 'vaapi_vld': 0, 'yuv420p16le': 24, 'yuv420p16be': 24, 'yuv422p16le': 32, 'yuv422p16be': 32, 'yuv444p16le': 48, 'yuv444p16be': 48, 'vdpau_mpeg4': 0, 'dxva2_vld': 0, 'rgb444le': 12, 'rgb444be': 12, 'bgr444le': 12, 'bgr444be': 12, 'ya8': 16, 'bgr48be': 48, 'bgr48le': 48, 'yuv420p9be': 13, 'yuv420p9le': 13, 'yuv420p10be': 15, 'yuv420p10le': 15, 'yuv422p10be': 20, 'yuv422p10le': 20, 'yuv444p9be': 27, 'yuv444p9le': 27, 'yuv444p10be': 30, 'yuv444p10le': 30, 'yuv422p9be': 18, 'yuv422p9le': 18, 'vda_vld': 0, 'gbrp': 24, 'gbrp9be': 27, 'gbrp9le': 27, 'gbrp10be': 30, 'gbrp10le': 30, 'gbrp16be': 48, 'gbrp16le': 48, 'yuva422p': 24, 'yuva444p': 32, 'yuva420p9be': 22, 'yuva420p9le': 22, 'yuva422p9be': 27, 'yuva422p9le': 27, 'yuva444p9be': 36, 'yuva444p9le': 36, 'yuva420p10be': 25, 'yuva420p10le': 25, 'yuva422p10be': 30, 'yuva422p10le': 30, 'yuva444p10be': 40, 'yuva444p10le': 40, 'yuva420p16be': 40, 'yuva420p16le': 40, 'yuva422p16be': 48, 'yuva422p16le': 48, 'yuva444p16be': 64, 'yuva444p16le': 64, 'vdpau': 0, 'xyz12le': 36, 'xyz12be': 36, 'nv16': 16, 'nv20le': 20, 'nv20be': 20, 'rgba64be': 64, 'rgba64le': 64, 'bgra64be': 64, 'bgra64le': 64, 'yvyu422': 16, 'vda': 0, 'ya16be': 32, 'ya16le': 32, 'gbrap': 32, 'gbrap16be': 64, 'gbrap16le': 64, 'qsv': 0, 'mmal': 0, 'd3d11va_vld': 0, 'cuda': 0, '0rgb': 24, 'rgb0': 24, '0bgr': 24, 'bgr0': 24, 'yuv420p12be': 18, 'yuv420p12le': 18, 'yuv420p14be': 21, 'yuv420p14le': 21, 'yuv422p12be': 24, 'yuv422p12le': 24, 'yuv422p14be': 28, 'yuv422p14le': 28, 'yuv444p12be': 36, 'yuv444p12le': 36, 'yuv444p14be': 42, 'yuv444p14le': 42, 'gbrp12be': 36, 'gbrp12le': 36, 'gbrp14be': 42, 'gbrp14le': 42, 'yuvj411p': 12, 'bayer_bggr8': 8, 'bayer_rggb8': 8, 'bayer_gbrg8': 8, 'bayer_grbg8': 8, 'bayer_bggr16le': 16, 'bayer_bggr16be': 16, 'bayer_rggb16le': 16, 'bayer_rggb16be': 16, 'bayer_gbrg16le': 16, 'bayer_gbrg16be': 16, 'bayer_grbg16le': 16, 'bayer_grbg16be': 16, 'yuv440p10le': 20, 'yuv440p10be': 20, 'yuv440p12le': 24, 'yuv440p12be': 24, 'ayuv64le': 64, 'ayuv64be': 64, 'videotoolbox_vld': 0, 'p010le': 15, 'p010be': 15, 'gbrap12be': 48, 'gbrap12le': 48, 'gbrap10be': 40, 'gbrap10le': 40, 'mediacodec': 0, 'gray12be': 12, 'gray12le': 12, 'gray10be': 10, 'gray10le': 10, 'p016le': 24, 'p016be': 24, 'd3d11': 0, 'gray9be': 9, 'gray9le': 9, 'gbrpf32be': 96, 'gbrpf32le': 96, 'gbrapf32be': 128, 'gbrapf32le': 128, 'drm_prime': 0}
[+] INFO: Starting to upscale extracted frames
2021-12-12 18:33:45.106353 [+] INFO: [upscaler] Subprocess 13693 executing: /content/waifu2x-caffe-ubuntu/build/waifu2x-caffe --tta 0 --gpu 0 --batch_size 1 --crop_size 128 --output_depth 24 --output_quality -1 --process gpu --noise_level 3 --mode noise_scale --output_extention png --scale_width 394 --scale_height 324 --input_path /tmp/video2x/tmpkbbgcioa/0 --output_path /tmp/video2x/tmplmb7vc4z
2021-12-12 18:33:45.107531 [+] INFO: Starting progress monitor
2021-12-12 18:33:45.108303 [+] INFO: Starting upscaled image cleaner
2021-12-12 18:33:45.120033 [+] INFO: Main process waiting for subprocesses to exit
Processing: birdo.png (pass 1/1):   0%|          | 0/1 [00:00<?, ?it/s][!] ERROR: Subprocess 13702 exited with code 1
[!] ERROR: Subprocess execution ran into an error
[!] WARNING: Terminating all processes
2021-12-12 18:33:45.321423 [+] INFO: Killing progress monitor
Processing: birdo.png (pass 1/1):   0%|          | 0/1 [00:01<?, ?it/s]
2021-12-12 18:33:46.125061 [+] INFO: Killing upscaled image cleaner
Cleaning up cache directory: /tmp/video2x/tmpkbbgcioa
Cleaning up cache directory: /tmp/video2x/tmplmb7vc4z
Cleaning up cache directory: /tmp/video2x
[!] ERROR: An exception has occurred
Traceback (most recent call last):
  File "/content/video2x/src/video2x.py", line 350, in <module>
    upscaler.run()
  File "/content/video2x/src/upscaler.py", line 1024, in run
    raise e
  File "/content/video2x/src/upscaler.py", line 851, in run
    self._upscale_frames(self.extracted_frames, self.upscaled_frames)
  File "/content/video2x/src/upscaler.py", line 418, in _upscale_frames
    raise e
  File "/content/video2x/src/upscaler.py", line 410, in _upscale_frames
    self._wait()
  File "/content/video2x/src/upscaler.py", line 491, in _wait
    raise e
  File "/content/video2x/src/upscaler.py", line 470, in _wait
    process_status, process.args
subprocess.CalledProcessError: Command '['/content/waifu2x-caffe-ubuntu/build/waifu2x-caffe', '--tta', '0', '--gpu', '0', '--batch_size', '1', '--crop_size', '128', '--output_depth', '24', '--output_quality', '-1', '--process', 'gpu', '--noise_level', '3', '--mode', 'noise_scale', '--output_extention', 'png', '--scale_width', '394', '--scale_height', '324', '--input_path', '/tmp/video2x/tmpkbbgcioa/0', '--output_path', '/tmp/video2x/tmplmb7vc4z']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/content/video2x/src/video2x.py", line 350, in <module>
    upscaler.run()
  File "/content/video2x/src/upscaler.py", line 1024, in run
    raise e
  File "/content/video2x/src/upscaler.py", line 851, in run
    self._upscale_frames(self.extracted_frames, self.upscaled_frames)
  File "/content/video2x/src/upscaler.py", line 418, in _upscale_frames
    raise e
  File "/content/video2x/src/upscaler.py", line 410, in _upscale_frames
    self._wait()
  File "/content/video2x/src/upscaler.py", line 491, in _wait
    raise e
  File "/content/video2x/src/upscaler.py", line 470, in _wait
    process_status, process.args
subprocess.CalledProcessError: Command '['/content/waifu2x-caffe-ubuntu/build/waifu2x-caffe', '--tta', '0', '--gpu', '0', '--batch_size', '1', '--crop_size', '128', '--output_depth', '24', '--output_quality', '-1', '--process', 'gpu', '--noise_level', '3', '--mode', 'noise_scale', '--output_extention', 'png', '--scale_width', '394', '--scale_height', '324', '--input_path', '/tmp/video2x/tmpkbbgcioa/0', '--output_path', '/tmp/video2x/tmplmb7vc4z']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/content/video2x/src/video2x.py", line 373, in <module>
    permanent_log_file.write(log_file.read())
  File "/usr/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 5500: invalid start byte

looks like there's a problem with waifu2x-caffe

@nagadomi
Copy link
Owner

nagadomi commented Dec 13, 2021

could you tell me where I should place Makefile.config? and exactly how should I run !cmake .. command?.

Makefile.config is a file of lltcggie-caffe. lltcggie-caffe/Makefile.config.
At first, it is necessary to detect cudnn with lltcggie-caffe.

If I run these two commands in this directory /content/waifu2x-caffe-ubuntu/build:
!cmake ..
!cmake ..
Found cuDNN: ver. ??? found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
CMake Error at caffe/cmake/Cuda.cmake:230 (message):
cuDNN version >3 is required.

It seems that cudnn is detected, but for some reason it fails to get the version.
Also, it may not be possible to build with cudnn8 (I have not tested).

it gives a weird output:
�G���[: ���f���t�@�C�����J���܂���ł���

waifu2x-caffe uses CP932 encoding, not utf-8.
You can use nkf command to convert the output to utf-8.

./waifu2x-caffe --model_dir ../bin/models/cunet/ -p gpu -m scale -i -i /content/birdo.png -o testwaifu2x.png  | nkf 

Also, the error is probably due to the fact that the models directory does not exist in the build directory. The models directory is located under ../bin.
It is better to create a symbolic link to waifu2x-caffe under bin and use bin as working directory.

@nagadomi
Copy link
Owner

from https://forums.developer.nvidia.com/t/cudnn-found-but-version-cant-be-deduced/145551/5

Caffe doesn’t support cuDNN 8. Most libraries parse version information from cudnn.h. cuDNN 8 moved version information to a new header cudnn_version.h which breaks existing CMake scripts.

in Openpose change the cmake/cuda.cmake file and the /cmake/modules/FindCuDNN.cmake file.
Find the line that reads:
file(READ {CUDNN_INCLUDE}/cudnn.h CUDNN_VERSION_FILE_CONTENTS) change to: file(READ {CUDNN_INCLUDE}/cudnn_version.h CUDNN_VERSION_FILE_CONTENTS)

You need to build with CUDA10 and cuDNN7 or fix it yourself.

@mikebilly
Copy link
Author

mikebilly commented Dec 13, 2021

thank you @nagadomi for your fast reply!, i opened and edited /content/waifu2x-caffe-ubuntu/caffe/cmake/Cuda.cmake:
changing line 204 from:

file(READ ${CUDNN_INCLUDE}/cudnn.h CUDNN_VERSION_FILE_CONTENTS)

into:

file(READ ${CUDNN_INCLUDE}/cudnn_version.h CUDNN_VERSION_FILE_CONTENTS)

I then created a Makefile.config in the /content directory by:

os.chdir('/content')
!cp /content/waifu2x-caffe-ubuntu/caffe/Makefile.config.example-ubuntu Makefile.config

because I found that Makefile.config.example-ubuntu has this

# cuDNN acceleration switch (comment to build without cuDNN).
USE_CUDNN := 1

(lltcggie-caffe is /content/waifu2x-caffe-ubuntu/caffe/ in my code)

I then tried to cmake.
the first !cmake .. command gave:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/include  
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include  
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") 
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1") found components:  HL 
-- Found LMDB: /usr/include  
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB: /usr/include  
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy: /usr/include  
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7") 
-- Found NumPy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.16.4", minimum required is "1.7.1") 
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3-dirty
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Not found
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found OpenCV: /usr (found version "3.2.0") found components:  core imgproc highgui 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Found GLOG: /usr/include  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: /content/waifu2x-caffe-ubuntu/build

and running !cmake .. again gave:

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Found cuDNN: ver. 8.0.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3-dirty
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Yes (ver. 8.0.5)
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Configuring done
CMake Warning at CMakeLists.txt:42 (add_executable):
  Cannot generate a safe runtime search path for target waifu2x-caffe because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/src/caffe/CMakeLists.txt:21 (add_library):
  Cannot generate a safe runtime search path for target caffe because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/src/caffe/test/CMakeLists.txt:29 (add_executable):
  Cannot generate a safe runtime search path for target test.testbin because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_solver_proto_text because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target device_query because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target caffe.bin because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target test_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target train_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target compute_image_mean
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target convert_imageset
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_net_proto_binary because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_net_proto_text because files in some directories may conflict with
  libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target extract_features
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target finetune_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target net_speed_benchmark
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target convert_cifar_data
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target convert_mnist_data
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target classification
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target
  convert_mnist_siamese_data because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/python/CMakeLists.txt:9 (add_library):
  Cannot generate a safe runtime search path for target pycaffe because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


-- Generating done
-- Build files have been written to: /content/waifu2x-caffe-ubuntu/build

although cuDNN was found:

--   cuDNN             :   Yes (ver. 8.0.5)

there were lots of warnings

Edit:
this time, it failed to build:
running !make gave:

[  1%] Running C++/Python protocol buffer compiler on /content/waifu2x-caffe-ubuntu/caffe/src/caffe/proto/caffe.proto
Scanning dependencies of target proto
[  1%] Building CXX object libcaffe/src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
[  1%] Linking CXX static library ../../lib/libproto.a
[  1%] Built target proto
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_axpy_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_center_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/crop_layer.cu(8): warning: function "caffe::compute_uncropped_index" was declared but never referenced

[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 14%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 18%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_relu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 22%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 25%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 29%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Scanning dependencies of target caffe
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/blob.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/common.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_reader.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o
[ 33%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/axpy_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o
[ 37%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_center_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o
[ 40%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o
In file included from /content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/device_alternate.hpp:40:0,
                 from /content/waifu2x-caffe-ubuntu/caffe/include/caffe/common.hpp:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/include/caffe/blob.hpp:8,
                 from /content/waifu2x-caffe-ubuntu/caffe/include/caffe/layers/cudnn_conv_layer.hpp:6,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:5:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp: In member function ‘virtual void caffe::CuDNNConvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&)’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:208:7: error: ‘CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT’ was not declared in this scope
       CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT,
       ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:208:7: note: suggested alternative: ‘CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT’
       CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT,
       ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:206:18: warning: there are no arguments to ‘cudnnGetConvolutionBackwardFilterAlgorithm’ that depend on a template parameter, so a declaration of ‘cudnnGetConvolutionBackwardFilterAlgorithm’ must be available [-fpermissive]
      CUDNN_CHECK(cudnnGetConvolutionBackwardFilterAlgorithm(handle_[0],
                  ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:219:7: error: ‘CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT’ was not declared in this scope
       CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT,
       ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:219:7: note: suggested alternative: ‘CUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT’
       CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT,
       ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:217:18: warning: there are no arguments to ‘cudnnGetConvolutionBackwardDataAlgorithm’ that depend on a template parameter, so a declaration of ‘cudnnGetConvolutionBackwardDataAlgorithm’ must be available [-fpermissive]
      CUDNN_CHECK(cudnnGetConvolutionBackwardDataAlgorithm(handle_[0],
                  ^
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp: In instantiation of ‘void caffe::CuDNNConvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = float]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:324:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:206:60: error: ‘cudnnGetConvolutionBackwardFilterAlgorithm’ was not declared in this scope
      CUDNN_CHECK(cudnnGetConvolutionBackwardFilterAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:206:60: note: suggested alternative: ‘cudnnGetConvolutionBackwardFilterAlgorithm_v7’
      CUDNN_CHECK(cudnnGetConvolutionBackwardFilterAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:217:58: error: ‘cudnnGetConvolutionBackwardDataAlgorithm’ was not declared in this scope
      CUDNN_CHECK(cudnnGetConvolutionBackwardDataAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:217:58: note: suggested alternative: ‘cudnnGetConvolutionBackwardDataAlgorithm_v7’
      CUDNN_CHECK(cudnnGetConvolutionBackwardDataAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp: In instantiation of ‘void caffe::CuDNNConvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = double]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:324:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:206:60: error: ‘cudnnGetConvolutionBackwardFilterAlgorithm’ was not declared in this scope
      CUDNN_CHECK(cudnnGetConvolutionBackwardFilterAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:206:60: note: suggested alternative: ‘cudnnGetConvolutionBackwardFilterAlgorithm_v7’
      CUDNN_CHECK(cudnnGetConvolutionBackwardFilterAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:217:58: error: ‘cudnnGetConvolutionBackwardDataAlgorithm’ was not declared in this scope
      CUDNN_CHECK(cudnnGetConvolutionBackwardDataAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:217:58: note: suggested alternative: ‘cudnnGetConvolutionBackwardDataAlgorithm_v7’
      CUDNN_CHECK(cudnnGetConvolutionBackwardDataAlgorithm(handle_[0],
/content/waifu2x-caffe-ubuntu/caffe/include/caffe/util/cudnn.hpp:15:29: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = (condition); \
                             ^~~~~~~~~
libcaffe/src/caffe/CMakeFiles/caffe.dir/build.make:782: recipe for target 'libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o' failed
make[2]: *** [libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o] Error 1
CMakeFiles/Makefile2:354: recipe for target 'libcaffe/src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [libcaffe/src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@nagadomi
Copy link
Owner

nagadomi commented Dec 13, 2021

It's a problem that is incompatible with cuDNN8.
The original lltcggie/caffe seems to support cuDNN8, so you can just apply the following patch.

lltcggie/caffe@ed6cff4
lltcggie/caffe@9d5aa36 (You can simply delete this commented-out code. It will only be used when training.)

@mikebilly
Copy link
Author

@nagadomi, I may have used the wrong caffe, which one should I use and place under /content/waifu2x-caffe-ubuntu:
is it:
https://github.com/lltcggie/caffe
or:
https://github.com/nagadomi/caffe
and where should I get Makefile.config, and where should I place it?

@mikebilly
Copy link
Author

mikebilly commented Dec 13, 2021

for the whole time I downloaded caffe from https://github.com/nagadomi/caffe, and placed inside /content/waifu2x-caffe-ubuntu. All the errors above were given by nagadomi's caffe.

Edit:
If I use Cmake.cuda from your mentioned patch lltcggie/caffe@ed6cff4, with nagadomi's caffe, it gives:

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Found cuDNN: ver. 8.0.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Automatic GPU detection failed. Building for all known architectures.
-- Added CUDA NVCC flags for: sm_30 sm_35 sm_50 sm_60 sm_61 sm_62 sm_70 sm_72
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.7") 
-- Found NumPy: /usr/local/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.16.4", minimum required is "1.7.1") 
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
CMake Error at caffe/src/caffe/CMakeLists.txt:22 (target_link_libraries):
  The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument,
  just after the target name.


-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3-dirty
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_30 sm_35 sm_50 sm_60 sm_61 sm_62 sm_70 sm_72
--   cuDNN             :   Yes (ver. 8.0.5)
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found OpenCV: /usr (found version "3.2.0") found components:  core imgproc highgui 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Found GLOG: /usr/include  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
-- Configuring incomplete, errors occurred!
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeOutput.log".
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeError.log".

and If I use that Cmake.cuda patch with lltcggie's caffe, I get:

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
CMake Error at /opt/cmake/share/cmake-3.12/Modules/FindHDF5.cmake:136 (message):
  static is not a valid HDF5 component.
Call Stack (most recent call first):
  caffe/cmake/Dependencies.cmake:30 (find_package)
  caffe/CMakeLists.txt:44 (include)


-- Configuring incomplete, errors occurred!
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeOutput.log".
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeError.log".

Edit2:
running !make gave:

make: *** No targets specified and no makefile found.  Stop.

I suppose I have to restart notebook and redo everything.

@nagadomi
Copy link
Owner

I may have used the wrong caffe, which one should I use and place under /content/waifu2x-caffe-ubuntu:
is it:

https://github.com/lltcggie/caffe is the original lltcggie/caffe, which is intended to be built on Windows Visual Studio.
https://github.com/nagadomi/caffe is my fork of that, I have made some changes for waifu2x-caffe-ubuntu.
So you should use https://github.com/nagadomi/caffe, but I have not merged the cuDNN8 support (The above two patches).

@mikebilly
Copy link
Author

@nagadomi , with your patched cuda.cmake, it failed to !cmake .., this is what I get:

-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Found cuDNN: ver. 8.0.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Automatic GPU detection failed. Building for all known architectures.
-- Added CUDA NVCC flags for: sm_30 sm_35 sm_50 sm_60 sm_61 sm_62 sm_70 sm_72
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- NumPy ver. 1.16.4 found (include: /usr/local/lib/python2.7/dist-packages/numpy/core/include)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
CMake Error at caffe/src/caffe/CMakeLists.txt:22 (target_link_libraries):
  The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument,
  just after the target name.


-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-320-gde4a5dc3-dirty
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_30 sm_35 sm_50 sm_60 sm_61 sm_62 sm_70 sm_72
--   cuDNN             :   Yes (ver. 8.0.5)
-- 
-- Python:
--   Interpreter       :   /usr/bin/python2.7 (ver. 2.7.17)
--   Libraries         :   /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.17)
--   NumPy             :   /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.16.4)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Configuring incomplete, errors occurred!
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeOutput.log".
See also "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeError.log".

this is from /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeOutput.log:

The system is: Linux - 5.4.104+ - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc 
Build flags: 
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/3.12.3/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++ 
Build flags: 
Id flags:  

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/content/waifu2x-caffe-ubuntu/build/CMakeFiles/3.12.3/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a5ee5/fast"
/usr/bin/make -f CMakeFiles/cmTC_a5ee5.dir/build.make CMakeFiles/cmTC_a5ee5.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a5ee5.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_a5ee5.dir/testCCompiler.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_a5ee5
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5ee5.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_a5ee5.dir/testCCompiler.c.o  -o cmTC_a5ee5 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


Detecting C compiler ABI info compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1f23b/fast"
/usr/bin/make -f CMakeFiles/cmTC_1f23b.dir/build.make CMakeFiles/cmTC_1f23b.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o   -c /opt/cmake/share/cmake-3.12/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_1f23b
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f23b.dir/link.txt --verbose=1
/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o  -o cmTC_1f23b 
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/local/cuda/lib64/stubs/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_1f23b' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDBmoRQ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_1f23b /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/local/cuda/lib64/stubs -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_1f23b' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_1f23b/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_1f23b.dir/build.make CMakeFiles/cmTC_1f23b.dir/build]
  ignore line: [make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp']
  ignore line: [Building C object CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o   -c /opt/cmake/share/cmake-3.12/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_1f23b]
  ignore line: [/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f23b.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o  -o cmTC_1f23b ]
  ignore line: [Using built-in specs.]
  ignore line: [COLLECT_GCC=/usr/bin/cc]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
  ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
  ignore line: [OFFLOAD_TARGET_DEFAULT=1]
  ignore line: [Target: x86_64-linux-gnu]
  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
  ignore line: [Thread model: posix]
  ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/local/cuda/lib64/stubs/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_1f23b' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDBmoRQ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_1f23b /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/local/cuda/lib64/stubs -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccDBmoRQ.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [--as-needed] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-znow] ==> ignore
    arg [-zrelro] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_1f23b] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
    arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/local/cuda/lib64/stubs] ==> dir [/usr/local/cuda/lib64/stubs]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
    arg [CMakeFiles/cmTC_1f23b.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--push-state] ==> ignore
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--pop-state] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--push-state] ==> ignore
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--pop-state] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/local/cuda/lib64/stubs] ==> [/usr/local/cuda/lib64/stubs]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
  implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib;/usr/local/cuda/lib64/stubs]
  implicit fwks: []




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_14959/fast"
/usr/bin/make -f CMakeFiles/cmTC_14959.dir/build.make CMakeFiles/cmTC_14959.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_14959.dir/feature_tests.c.o
/usr/bin/cc   -std=c11 -o CMakeFiles/cmTC_14959.dir/feature_tests.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_14959
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_14959.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_14959.dir/feature_tests.c.o  -o cmTC_14959 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a85c5/fast"
/usr/bin/make -f CMakeFiles/cmTC_a85c5.dir/build.make CMakeFiles/cmTC_a85c5.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a85c5.dir/feature_tests.c.o
/usr/bin/cc   -std=c99 -o CMakeFiles/cmTC_a85c5.dir/feature_tests.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_a85c5
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a85c5.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_a85c5.dir/feature_tests.c.o  -o cmTC_a85c5 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_49de5/fast"
/usr/bin/make -f CMakeFiles/cmTC_49de5.dir/build.make CMakeFiles/cmTC_49de5.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_49de5.dir/feature_tests.c.o
/usr/bin/cc   -std=c90 -o CMakeFiles/cmTC_49de5.dir/feature_tests.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_49de5
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_49de5.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_49de5.dir/feature_tests.c.o  -o cmTC_49de5 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d900c/fast"
/usr/bin/make -f CMakeFiles/cmTC_d900c.dir/build.make CMakeFiles/cmTC_d900c.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d900c.dir/testCXXCompiler.cxx.o
/usr/bin/c++     -o CMakeFiles/cmTC_d900c.dir/testCXXCompiler.cxx.o -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_d900c
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d900c.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_d900c.dir/testCXXCompiler.cxx.o  -o cmTC_d900c 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d6a17/fast"
/usr/bin/make -f CMakeFiles/cmTC_d6a17.dir/build.make CMakeFiles/cmTC_d6a17.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++     -o CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o -c /opt/cmake/share/cmake-3.12/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_d6a17
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d6a17.dir/link.txt --verbose=1
/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_d6a17 
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/local/cuda/lib64/stubs/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d6a17' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc0POI5j.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_d6a17 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/local/cuda/lib64/stubs -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d6a17' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_d6a17/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_d6a17.dir/build.make CMakeFiles/cmTC_d6a17.dir/build]
  ignore line: [make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp']
  ignore line: [Building CXX object CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o -c /opt/cmake/share/cmake-3.12/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTC_d6a17]
  ignore line: [/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d6a17.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_d6a17 ]
  ignore line: [Using built-in specs.]
  ignore line: [COLLECT_GCC=/usr/bin/c++]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
  ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
  ignore line: [OFFLOAD_TARGET_DEFAULT=1]
  ignore line: [Target: x86_64-linux-gnu]
  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
  ignore line: [Thread model: posix]
  ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/local/cuda/lib64/stubs/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_d6a17' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc0POI5j.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_d6a17 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/local/cuda/lib64/stubs -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/cc0POI5j.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [--as-needed] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-znow] ==> ignore
    arg [-zrelro] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_d6a17] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
    arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/local/cuda/lib64/stubs] ==> dir [/usr/local/cuda/lib64/stubs]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
    arg [CMakeFiles/cmTC_d6a17.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lm] ==> lib [m]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [-lc] ==> lib [c]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/local/cuda/lib64/stubs] ==> [/usr/local/cuda/lib64/stubs]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
  implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
  implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib;/usr/local/cuda/lib64/stubs]
  implicit fwks: []




Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1d28b/fast"
/usr/bin/make -f CMakeFiles/cmTC_1d28b.dir/build.make CMakeFiles/cmTC_1d28b.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_1d28b.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++1z -o CMakeFiles/cmTC_1d28b.dir/feature_tests.cxx.o -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_1d28b
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d28b.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_1d28b.dir/feature_tests.cxx.o  -o cmTC_1d28b 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_88cc5/fast"
/usr/bin/make -f CMakeFiles/cmTC_88cc5.dir/build.make CMakeFiles/cmTC_88cc5.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_88cc5.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++14 -o CMakeFiles/cmTC_88cc5.dir/feature_tests.cxx.o -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_88cc5
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88cc5.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_88cc5.dir/feature_tests.cxx.o  -o cmTC_88cc5 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_01609/fast"
/usr/bin/make -f CMakeFiles/cmTC_01609.dir/build.make CMakeFiles/cmTC_01609.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_01609.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++11 -o CMakeFiles/cmTC_01609.dir/feature_tests.cxx.o -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_01609
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01609.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_01609.dir/feature_tests.cxx.o  -o cmTC_01609 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d4896/fast"
/usr/bin/make -f CMakeFiles/cmTC_d4896.dir/build.make CMakeFiles/cmTC_d4896.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d4896.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++98 -o CMakeFiles/cmTC_d4896.dir/feature_tests.cxx.o -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_d4896
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d4896.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_d4896.dir/feature_tests.cxx.o  -o cmTC_d4896 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_d46aa/fast"
/usr/bin/make -f CMakeFiles/cmTC_d46aa.dir/build.make CMakeFiles/cmTC_d46aa.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d46aa.dir/CheckIncludeFile.c.o
/usr/bin/cc   -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable     -o CMakeFiles/cmTC_d46aa.dir/CheckIncludeFile.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fpermissive’ is valid for C++/ObjC++ but not for C
Linking C executable cmTC_d46aa
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d46aa.dir/link.txt --verbose=1
/usr/bin/cc  -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable      -rdynamic CMakeFiles/cmTC_d46aa.dir/CheckIncludeFile.c.o  -o cmTC_d46aa 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'


Determining if the function pthread_create exists in the pthread passed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f3f1b/fast"
/usr/bin/make -f CMakeFiles/cmTC_f3f1b.dir/build.make CMakeFiles/cmTC_f3f1b.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f3f1b.dir/CheckFunctionExists.c.o
/usr/bin/cc   -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable  -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_f3f1b.dir/CheckFunctionExists.c.o   -c /opt/cmake/share/cmake-3.12/Modules/CheckFunctionExists.c
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fpermissive’ is valid for C++/ObjC++ but not for C
Linking C executable cmTC_f3f1b
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3f1b.dir/link.txt --verbose=1
/usr/bin/cc  -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_f3f1b.dir/CheckFunctionExists.c.o  -o cmTC_f3f1b -lpthread 
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'



and this is from /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeError.log

Determining if the pthread_create exist failed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_69f31/fast"
/usr/bin/make -f CMakeFiles/cmTC_69f31.dir/build.make CMakeFiles/cmTC_69f31.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_69f31.dir/CheckSymbolExists.c.o
/usr/bin/cc   -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable     -o CMakeFiles/cmTC_69f31.dir/CheckSymbolExists.c.o   -c /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fpermissive’ is valid for C++/ObjC++ but not for C
Linking C executable cmTC_69f31
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69f31.dir/link.txt --verbose=1
/usr/bin/cc  -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable      -rdynamic CMakeFiles/cmTC_69f31.dir/CheckSymbolExists.c.o  -o cmTC_69f31 
CMakeFiles/cmTC_69f31.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_69f31.dir/build.make:86: recipe for target 'cmTC_69f31' failed
make[1]: *** [cmTC_69f31] Error 1
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_69f31/fast' failed
make: *** [cmTC_69f31/fast] Error 2

File /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_25767/fast"
/usr/bin/make -f CMakeFiles/cmTC_25767.dir/build.make CMakeFiles/cmTC_25767.dir/build
make[1]: Entering directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_25767.dir/CheckFunctionExists.c.o
/usr/bin/cc   -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable  -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_25767.dir/CheckFunctionExists.c.o   -c /opt/cmake/share/cmake-3.12/Modules/CheckFunctionExists.c
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fpermissive’ is valid for C++/ObjC++ but not for C
Linking C executable cmTC_25767
/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/cmTC_25767.dir/link.txt --verbose=1
/usr/bin/cc  -std=c++11 -fpermissive -Wunused-variable  -Wunused-variable  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_25767.dir/CheckFunctionExists.c.o  -o cmTC_25767 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_25767.dir/build.make:86: recipe for target 'cmTC_25767' failed
make[1]: *** [cmTC_25767] Error 1
make[1]: Leaving directory '/content/waifu2x-caffe-ubuntu/build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_25767/fast' failed
make: *** [cmTC_25767/fast] Error 2



@nagadomi
Copy link
Owner

I have made changes to support CUDA11, cuDNN8, and OpenCV4.
https://github.com/nagadomi/caffe
https://github.com/nagadomi/waifu2x-caffe-ubuntu

% ./waifu2x-caffe --model_dir ./models/cunet -p cudnn -m scale -i miku_small.png -o out.png | nkf
変換に成功しました

@mikebilly
Copy link
Author

mikebilly commented Dec 14, 2021

thanks for your reply @nagadomi , this is the output of !cmake .. this time:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/include  
-- Found gflags  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found Glog: /usr/include  
-- Found glog    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") 
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1") found components:  HL 
-- Found LMDB: /usr/include  
-- Found lmdb    (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found LevelDB: /usr/include  
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so)
-- Found Snappy: /usr/include  
-- Found Snappy  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libsnappy.so)
-- CUDA detected: 11.1
-- Found cuDNN: ver. 8.0.5 found (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Added CUDA NVCC flags for: sm_37
-- OpenCV found (/usr/share/OpenCV)
-- Found Atlas: /usr/include/x86_64-linux-gnu  
-- Found Atlas (include: /usr/include/x86_64-linux-gnu, library: /usr/lib/x86_64-linux-gnu/libatlas.so)
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Python interface is disabled or not all required dependencies found. Building without it...
-- Python interpeter is not found. Can't include *.ipynb files in docs. Skipping...
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc3
--   Git               :   rc3-327-g2221ec62
--   System            :   Linux
--   C++ compiler      :   /usr/bin/c++
--   Release CXX flags :   -O3 -DNDEBUG -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -std=c++11 -fpermissive -Wunused-variable  -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   OFF
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   ON
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (Atlas)
--   Boost             :   Yes (ver. 1.65)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.0.0)
--   lmdb              :   Yes (ver. 0.9.21)
--   LevelDB           :   Yes (ver. 1.20)
--   Snappy            :   Yes (ver. ..)
--   OpenCV            :   Yes (ver. 3.2.0)
--   CUDA              :   Yes (ver. 11.1)
-- 
-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_37
--   cuDNN             :   Yes (ver. 8.0.5)
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.13)
--   config_file       :   /content/waifu2x-caffe-ubuntu/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /content/waifu2x-caffe-ubuntu/build/libcaffe/install
-- 
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found cuDNN (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libcudnn.so)
-- Found OpenCV: /usr (found version "3.2.0") found components:  core imgproc highgui 
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   iostreams
--   regex
-- Found GLOG: /usr/include  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
-- Configuring done
CMake Warning at CMakeLists.txt:42 (add_executable):
  Cannot generate a safe runtime search path for target waifu2x-caffe because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/src/caffe/CMakeLists.txt:21 (add_library):
  Cannot generate a safe runtime search path for target caffe because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/src/caffe/test/CMakeLists.txt:29 (add_executable):
  Cannot generate a safe runtime search path for target test.testbin because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_solver_proto_text because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target device_query because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target caffe.bin because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target test_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target train_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target compute_image_mean
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target convert_imageset
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_net_proto_binary because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target
  upgrade_net_proto_text because files in some directories may conflict with
  libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target extract_features
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target finetune_net because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/tools/CMakeLists.txt:14 (add_executable):
  Cannot generate a safe runtime search path for target net_speed_benchmark
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target convert_cifar_data
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target convert_mnist_data
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target classification
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


CMake Warning at caffe/examples/CMakeLists.txt:11 (add_executable):
  Cannot generate a safe runtime search path for target
  convert_mnist_siamese_data because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libcudnn.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/cuda/lib64

  Some of these libraries may not be found correctly.


-- Generating done
-- Build files have been written to: /content/waifu2x-caffe-ubuntu/build

with a lot of CMake Warning
Edit:
I think it's missing pthread_create

@mikebilly
Copy link
Author

and this is the output of !make:

[  0%] Running C++/Python protocol buffer compiler on /content/waifu2x-caffe-ubuntu/caffe/src/caffe/proto/caffe.proto
Scanning dependencies of target proto
[  1%] Building CXX object libcaffe/src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
[  1%] Linking CXX static library ../../lib/libproto.a
[  1%] Built target proto
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_math_functions.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:1:0:
/usr/local/cuda/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/util/math_functions.cu:2:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  1%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_axpy_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_base_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_norm_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  2%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_batch_reindex_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bias_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_bnll_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  4%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_concat_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_contrastive_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  5%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_center_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_crop_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/crop_layer.cu(8): warning: function "caffe::compute_uncropped_index" was declared but never referenced

[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_conv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  6%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lcn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  8%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_relu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[  9%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_softmax_layer.cu:4:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_cudnn_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 10%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_deconv_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_dropout_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_eltwise_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 12%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_elu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_embed_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_euclidean_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 13%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_exp_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 15%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_filter_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 15%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_data_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 15%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_hdf5_output_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_im2col_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_inner_product_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 16%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_log_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lrn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 17%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_lstm_unit_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 19%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_mvn_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 19%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_pooling_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 19%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_power_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_prelu_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_recurrent_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 20%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_reduction_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_scale_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 21%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_cross_entropy_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 23%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_sigmoid_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 23%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 23%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda/include/thrust/detail/config/config.h:27:0,
                 from /usr/local/cuda/include/thrust/detail/config.h:23,
                 from /usr/local/cuda/include/thrust/device_vector.h:24,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/thrust/detail/config/cpp_dialect.h:104:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda/include/cub/util_arch.cuh:36:0,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda/include/thrust/for_each.h:279,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda/include/thrust/transform.h:724,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.inl:21,
                 from /usr/local/cuda/include/thrust/detail/allocator/copy_construct_range.h:46,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.inl:23,
                 from /usr/local/cuda/include/thrust/detail/contiguous_storage.h:235,
                 from /usr/local/cuda/include/thrust/detail/vector_base.h:30,
                 from /usr/local/cuda/include/thrust/device_vector.h:25,
                 from /content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/softmax_layer.cu:5:
/usr/local/cuda/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 24%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 26%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tanh_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 26%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_threshold_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_tile_layer.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adadelta_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 27%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adagrad_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_adam_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_nesterov_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 28%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_rmsprop_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 30%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/solvers/cuda_compile_1_generated_sgd_solver.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 30%] Building NVCC (Device) object libcaffe/src/caffe/CMakeFiles/cuda_compile_1.dir/util/cuda_compile_1_generated_im2col.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Scanning dependencies of target caffe
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/blob.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/common.cpp.o
[ 31%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_reader.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o
[ 32%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer.cpp.o
[ 34%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o
[ 34%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o
[ 35%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/axpy_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o
[ 36%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o
[ 38%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o
[ 38%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o
[ 38%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o
[ 39%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_center_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/crop_layer.cpp.o
[ 41%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp: In instantiation of ‘void caffe::CuDNNConvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = float]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:326:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:148:11: warning: unused variable ‘workspace_limit_bytes’ [-Wunused-variable]
    size_t workspace_limit_bytes = 8 * 1024 * 1024;
           ^~~~~~~~~~~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp: In instantiation of ‘void caffe::CuDNNConvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = double]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:326:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_conv_layer.cpp:148:11: warning: unused variable ‘workspace_limit_bytes’ [-Wunused-variable]
[ 42%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_deconv_layer.cpp.o
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp: In instantiation of ‘void caffe::CuDNNDeconvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = float]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp:346:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp:145:11: warning: unused variable ‘workspace_limit_bytes’ [-Wunused-variable]
    size_t workspace_limit_bytes = 8 * 1024 * 1024;
           ^~~~~~~~~~~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp: In instantiation of ‘void caffe::CuDNNDeconvolutionLayer<Dtype>::Reshape(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&) [with Dtype = double]’:
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp:346:1:   required from here
/content/waifu2x-caffe-ubuntu/caffe/src/caffe/layers/cudnn_deconv_layer.cpp:145:11: warning: unused variable ‘workspace_limit_bytes’ [-Wunused-variable]
[ 42%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o
[ 42%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o
[ 43%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o
[ 43%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o
[ 45%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o
[ 46%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o
[ 46%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o
[ 46%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o
[ 47%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o
[ 49%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o
[ 49%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o
[ 49%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o
[ 50%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o
[ 52%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o
[ 52%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o
[ 53%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o
[ 53%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o
[ 53%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/input_layer.cpp.o
[ 54%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o
[ 56%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lstm_layer.cpp.o
[ 57%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/lstm_unit_layer.cpp.o
[ 57%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o
[ 57%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o
[ 58%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o
[ 58%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o
[ 58%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/parameter_layer.cpp.o
[ 60%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o
[ 60%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o
[ 61%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o
[ 61%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o
[ 61%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o
[ 63%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/rnn_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o
[ 64%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o
[ 65%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o
[ 65%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o
[ 65%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o
[ 67%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o
[ 67%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o
[ 67%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o
[ 68%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o
[ 68%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o
[ 69%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o
[ 69%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o
[ 69%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/net.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solver.cpp.o
[ 71%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o
[ 72%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o
[ 73%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o
[ 73%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o
[ 73%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o
[ 75%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o
[ 76%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/cudnn_func.cpp.o
[ 76%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o
[ 76%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o
[ 78%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o
[ 78%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o
[ 79%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o
[ 79%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o
[ 79%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o
[ 80%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o
[ 80%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o
[ 80%] Building CXX object libcaffe/src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o
[ 82%] Linking CXX shared library ../../lib/libcaffe.so
[ 82%] Built target caffe
Scanning dependencies of target waifu2x-caffe
[ 82%] Building CXX object CMakeFiles/waifu2x-caffe.dir/waifu2x-caffe/Source.cpp.o
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp: In function ‘int main(int, char**)’:
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp:459:16: warning: unknown escape sequence: '\222'
   tprintf(TEXT("�G���[: �l�b�g���[�N�̍\�z�Ɏ��s���܂���\n"));
                ^
/content/waifu2x-caffe-ubuntu/waifu2x-caffe/Source.cpp:39:17: note: in definition of macro ‘TEXT’
 #define TEXT(x) x
                 ^
[ 82%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/cNet.cpp.o
/content/waifu2x-caffe-ubuntu/common/cNet.cpp: In member function ‘Waifu2x::eWaifu2xError cNet::LoadParameterFromJson(const boost::filesystem::path&, const boost::filesystem::path&, const boost::filesystem::path&, const boost::filesystem::path&, const string&)’:
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:516:8: warning: unused variable ‘lk’ [-Wunused-variable]
   auto lk = l->type();
        ^~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:531:15: warning: unused variable ‘nInputPlane’ [-Wunused-variable]
    const auto nInputPlane = (*it)["nInputPlane"].GetInt();
               ^~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:532:15: warning: unused variable ‘nOutputPlane’ [-Wunused-variable]
    const auto nOutputPlane = (*it)["nOutputPlane"].GetInt();
               ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:533:15: warning: unused variable ‘kW’ [-Wunused-variable]
    const auto kW = (*it)["kW"].GetInt();
               ^~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:569:11: warning: unused variable ‘weightCount’ [-Wunused-variable]
    size_t weightCount = 0;
           ^~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp: In member function ‘Waifu2x::eWaifu2xError cNet::ReconstructImage(bool, int, int, int, int, float*, const cv::Mat&, cv::Mat&)’:
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:746:18: warning: unused variable ‘LinePixel’ [-Wunused-variable]
       const auto LinePixel = someimg.step1() / someimg.channels();
                  ^~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/cNet.cpp:657:13: warning: unused variable ‘InputLine’ [-Wunused-variable]
  const auto InputLine = inMat.step1();
             ^~~~~~~~~
[ 83%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/stImage.cpp.o
/content/waifu2x-caffe-ubuntu/common/stImage.cpp: In static member function ‘static Waifu2x::eWaifu2xError stImage::WriteMat(const cv::Mat&, const boost::filesystem::path&, const boost::optional<int>&)’:
/content/waifu2x-caffe-ubuntu/common/stImage.cpp:917:15: warning: unused variable ‘Line’ [-Wunused-variable]
    const auto Line = im.step1();
               ^~~~
[ 83%] Building CXX object CMakeFiles/waifu2x-caffe.dir/common/waifu2x.cpp.o
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp: In constructor ‘{anonymous}::CudaDeviceSet::CudaDeviceSet(const string&, int)’:
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:157:39: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaGetDeviceCount(&count) != CUDA_SUCCESS)
                                       ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:163:38: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaGetDevice(&orgDevice) != CUDA_SUCCESS)
                                      ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:166:33: warning: comparison between ‘cudaError_t {aka enum cudaError}’ and ‘enum cudaError_enum’ [-Wenum-compare]
     if (cudaSetDevice(devno) != CUDA_SUCCESS)
                                 ^~~~~~~~~~~~
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp: In member function ‘Waifu2x::eWaifu2xError Waifu2x::waifu2x(double, const void*, void*, int, int, int, int, int, int, int, int, bool, int)’:
/content/waifu2x-caffe-ubuntu/common/waifu2x.cpp:848:14: warning: unused variable ‘width’ [-Wunused-variable]
   const auto width = out_image.size().width;
              ^~~~~
[ 84%] Linking CXX executable waifu2x-caffe
[ 84%] Built target waifu2x-caffe
Scanning dependencies of target upgrade_solver_proto_text
[ 84%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_solver_proto_text.dir/upgrade_solver_proto_text.cpp.o
[ 86%] Linking CXX executable upgrade_solver_proto_text
[ 86%] Built target upgrade_solver_proto_text
Scanning dependencies of target device_query
[ 86%] Building CXX object libcaffe/tools/CMakeFiles/device_query.dir/device_query.cpp.o
[ 86%] Linking CXX executable device_query
[ 86%] Built target device_query
Scanning dependencies of target caffe.bin
[ 86%] Building CXX object libcaffe/tools/CMakeFiles/caffe.bin.dir/caffe.cpp.o
[ 86%] Linking CXX executable caffe
[ 86%] Built target caffe.bin
Scanning dependencies of target test_net
[ 87%] Building CXX object libcaffe/tools/CMakeFiles/test_net.dir/test_net.cpp.o
[ 87%] Linking CXX executable test_net
[ 87%] Built target test_net
Scanning dependencies of target train_net
[ 87%] Building CXX object libcaffe/tools/CMakeFiles/train_net.dir/train_net.cpp.o
[ 89%] Linking CXX executable train_net
[ 89%] Built target train_net
Scanning dependencies of target compute_image_mean
[ 89%] Building CXX object libcaffe/tools/CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o
[ 90%] Linking CXX executable compute_image_mean
[ 90%] Built target compute_image_mean
Scanning dependencies of target convert_imageset
[ 91%] Building CXX object libcaffe/tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o
[ 91%] Linking CXX executable convert_imageset
[ 91%] Built target convert_imageset
Scanning dependencies of target upgrade_net_proto_binary
[ 91%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_net_proto_binary.dir/upgrade_net_proto_binary.cpp.o
[ 91%] Linking CXX executable upgrade_net_proto_binary
[ 91%] Built target upgrade_net_proto_binary
Scanning dependencies of target upgrade_net_proto_text
[ 93%] Building CXX object libcaffe/tools/CMakeFiles/upgrade_net_proto_text.dir/upgrade_net_proto_text.cpp.o
[ 93%] Linking CXX executable upgrade_net_proto_text
[ 93%] Built target upgrade_net_proto_text
Scanning dependencies of target extract_features
[ 93%] Building CXX object libcaffe/tools/CMakeFiles/extract_features.dir/extract_features.cpp.o
[ 93%] Linking CXX executable extract_features
[ 93%] Built target extract_features
Scanning dependencies of target finetune_net
[ 94%] Building CXX object libcaffe/tools/CMakeFiles/finetune_net.dir/finetune_net.cpp.o
[ 94%] Linking CXX executable finetune_net
[ 94%] Built target finetune_net
Scanning dependencies of target net_speed_benchmark
[ 94%] Building CXX object libcaffe/tools/CMakeFiles/net_speed_benchmark.dir/net_speed_benchmark.cpp.o
[ 95%] Linking CXX executable net_speed_benchmark
[ 95%] Built target net_speed_benchmark
Scanning dependencies of target convert_cifar_data
[ 95%] Building CXX object libcaffe/examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o
[ 95%] Linking CXX executable cifar10/convert_cifar_data
[ 95%] Built target convert_cifar_data
Scanning dependencies of target convert_mnist_data
[ 97%] Building CXX object libcaffe/examples/CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o
[ 97%] Linking CXX executable mnist/convert_mnist_data
[ 97%] Built target convert_mnist_data
Scanning dependencies of target classification
[ 98%] Building CXX object libcaffe/examples/CMakeFiles/classification.dir/cpp_classification/classification.cpp.o
[ 98%] Linking CXX executable cpp_classification/classification
[ 98%] Built target classification
Scanning dependencies of target convert_mnist_siamese_data
[ 98%] Building CXX object libcaffe/examples/CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o
[100%] Linking CXX executable siamese/convert_mnist_siamese_data
[100%] Built target convert_mnist_siamese_data

@nagadomi
Copy link
Owner

nagadomi commented Dec 14, 2021

with a lot of CMake Warning

I assume you have copied cudnn.h and libcudnn.so to /usr/local/cuda/, but that is not necessary.
CMake is able to detect libcunn.so under /usr/lib/x86_64-linux-gnu, which is causing the duplication issue.

I think it's missing pthread_create

It seems that it has finally been found.

-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found

The build finished without error. I think it will work.

@mikebilly
Copy link
Author

Thank you so much @nagadomi , it finally worked, it successfully upscaled my first picture, using cudnn. Although there are warnings after running !cmake .. and !make, I can still use waifu2x-caffe. I will open another issue sharing my notebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants