System version
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Cuda version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
When I run make command and have following errors:
============================================================
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
In file included from NNNetwork.cpp:13:0:
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
~~~~~~~~~~~~~~^~
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
In file included from NNNetwork.cpp:13:0:
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
~~~~~~~~~~~~~~^~
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
In file included from NNNetwork.cpp:13:0:
GpuTypes.h: In instantiation of ‘void GpuBuffer<T>::Deallocate() [with T = char]’:
GpuTypes.h:483:15: required from ‘GpuBuffer<T>::~GpuBuffer() [with T = char]’
/usr/include/c++/7/bits/unique_ptr.h:78:2: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = GpuBuffer<char>]’
/usr/include/c++/7/bits/unique_ptr.h:268:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = GpuBuffer<char>; _Dp = std::default_delete<GpuBuffer<char> >]’
GpuSort.h:47:44: required from ‘GpuSort<KeyType, ValueType>::GpuSort(unsigned int) [with KeyType = unsigned int; ValueType = unsigned int]’
NNNetwork.cpp:850:93: required from here
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
~~~~~~~~~~~~~~^~
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
In file included from NNNetwork.cpp:13:0:
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
~~~~~~~~~~~~~~^~
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
In file included from NNNetwork.cpp:13:0:
GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations]
cudaThreadExit(); \
~~~~~~~~~~~~~~^~
GpuTypes.h:557:5: note: in expansion of macro ‘RTERROR’
RTERROR(status, "GpuBuffer::Deallocate failed (cudaFree)");
^~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
from /usr/local/cuda/include/cuda_runtime.h:95,
from /usr/local/cuda/include/curand.h:59,
from GpuTypes.h:22,
from NNNetwork.cpp:13:
/usr/local/cuda/include/cuda_runtime_api.h:921:57: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaThreadExit(void);
^~~~~~~~~~~~~~
Makefile:58: recipe for target '/home/user02/source4/amazon-dsstne/build/tmp/engine/cpp/NNNetwork.o' failed
make[1]: *** [/home/user02/source4/amazon-dsstne/build/tmp/engine/cpp/NNNetwork.o] Error 1
make[1]: Leaving directory '/home/user02/source4/amazon-dsstne/src/amazon/dsstne/engine'
Makefile:13: recipe for target 'engine' failed
make: *** [engine] Error 2
System version Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic
Cuda version: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2018 NVIDIA Corporation Built on Sat_Aug_25_21:08:01_CDT_2018 Cuda compilation tools, release 10.0, V10.0.130
When I run make command and have following errors:
============================================================ GpuTypes.h:252:23: warning: ‘cudaError_t cudaThreadExit()’ is deprecated [-Wdeprecated-declarations] cudaThreadExit(); \