2022-05-28 16:37:36.430060: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
/miniconda/envs/HDRNET/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/platform/file_system.h(556): warning: overloaded virtual function "tensorflow::FileSystem::FilesExist" is only partially overridden in class "tensorflow::WrappedFileSystem"
/miniconda/envs/HDRNET/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/platform/file_system.h(556): warning: overloaded virtual function "tensorflow::FileSystem::CreateDir" is only partially overridden in class "tensorflow::WrappedFileSystem"
/miniconda/envs/HDRNET/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/platform/env.h(482): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"
ops/third_party/array/array.h(2065): warning: "nda::array_ref<T, Shape>::operator nda::const_array_ref<const float, nda::shape_of_rank<5UL>>() const [with T=const float, Shape=nda::shape_of_rank<5UL>]" will not be called for implicit or explicit conversions
detected during instantiation of class "nda::array_ref<T, Shape> [with T=const float, Shape=nda::shape_of_rank<5UL>]"
ops/bilateral_slice.cu.cc(37): here
ops/third_party/array/array.h(2065): warning: "nda::array_ref<T, Shape>::operator nda::const_array_ref<const float, nda::shape_of_rank<3UL>>() const [with T=const float, Shape=nda::shape_of_rank<3UL>]" will not be called for implicit or explicit conversions
detected during instantiation of class "nda::array_ref<T, Shape> [with T=const float, Shape=nda::shape_of_rank<3UL>]"
ops/bilateral_slice.cu.cc(37): here
ops/third_party/array/array.h(2065): warning: "nda::array_ref<T, Shape>::operator nda::const_array_ref<const float, nda::shape_of_rank<4UL>>() const [with T=const float, Shape=nda::shape_of_rank<4UL>]" will not be called for implicit or explicit conversions
detected during instantiation of class "nda::array_ref<T, Shape> [with T=const float, Shape=nda::shape_of_rank<4UL>]"
ops/bilateral_slice.cu.cc(96): here
ops/bilateral_slice.cu.cc(40): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(40): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(40): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> ") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(40): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(41): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(41): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(41): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> ") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(41): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(42): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(42): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(42): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> ") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(42): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(43): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(43): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(43): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> ") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(43): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(44): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(44): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const" is undefined in device code
ops/bilateral_slice.cu.cc(45): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(45): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const" is undefined in device code
ops/bilateral_slice.cu.cc(65): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int , void, void> const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(65): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int , void, void> const" is undefined in device code
ops/bilateral_slice.cu.cc(75): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(75): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(78): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(78): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(81): error: calling a __host__ function("SmoothedLerpWeight") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(81): error: identifier "SmoothedLerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(83): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int, int , void, void> const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(83): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int, int , void, void> const" is undefined in device code
ops/bilateral_slice.cu.cc(89): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int , void, void> const") from a __global__ function("BilateralSliceKernel") is not allowed
ops/bilateral_slice.cu.cc(89): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int , void, void> const" is undefined in device code
ops/bilateral_slice.cu.cc(97): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(97): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(97): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> ") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(97): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(98): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(98): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(98): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> ") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(98): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(99): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(99): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(99): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> ") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(99): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(100): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(100): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(100): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> ") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(100): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(101): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(101): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const" is undefined in device code
ops/bilateral_slice.cu.cc(102): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(102): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const" is undefined in device code
ops/bilateral_slice.cu.cc(129): error: calling a __host__ function("MirrorBoundary") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(129): error: identifier "MirrorBoundary" is undefined in device code
ops/bilateral_slice.cu.cc(131): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(131): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(135): error: calling a __host__ function("MirrorBoundary") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(135): error: identifier "MirrorBoundary" is undefined in device code
ops/bilateral_slice.cu.cc(137): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(137): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(143): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(143): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const" is undefined in device code
ops/bilateral_slice.cu.cc(144): error: calling a __host__ function("SmoothedLerpWeight") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(144): error: identifier "SmoothedLerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(154): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(154): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const" is undefined in device code
ops/bilateral_slice.cu.cc(159): error: calling a __host__ function("nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int, int , void, void> const") from a __global__ function("BilateralSliceGridGradKernel") is not allowed
ops/bilateral_slice.cu.cc(159): error: identifier "nda::array_ref<float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::operator ()<int, int, int, int, int , void, void> const" is undefined in device code
ops/bilateral_slice.cu.cc(168): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(168): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(168): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> ") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(168): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)0ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(169): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(169): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(169): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> ") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(169): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)1ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(170): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(170): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(170): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> ") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(170): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)2ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(171): error: calling a __host__ function("nda::interval<(long)-9l, (long)-9l> ::extent const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(171): error: identifier "nda::interval<(long)-9l, (long)-9l> ::extent const" is undefined in device code
ops/bilateral_slice.cu.cc(171): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> ") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(171): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::dim<(unsigned long)3ul, void> " is undefined in device code
ops/bilateral_slice.cu.cc(172): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(172): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::width const" is undefined in device code
ops/bilateral_slice.cu.cc(173): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(173): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::height const" is undefined in device code
ops/bilateral_slice.cu.cc(193): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(193): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const" is undefined in device code
ops/bilateral_slice.cu.cc(204): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(204): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(207): error: calling a __host__ function("LerpWeight") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(207): error: identifier "LerpWeight" is undefined in device code
ops/bilateral_slice.cu.cc(211): error: calling a __host__ function("SmoothedLerpWeightGrad") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(211): error: identifier "SmoothedLerpWeightGrad" is undefined in device code
ops/bilateral_slice.cu.cc(216): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(216): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const" is undefined in device code
ops/bilateral_slice.cu.cc(223): error: calling a __host__ function("nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const") from a __global__ function("BilateralSliceGuideGradKernel") is not allowed
ops/bilateral_slice.cu.cc(223): error: identifier "nda::array_ref<const float, ::nda::shape< ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> , ::nda::dim<(long)-9l, (long)-9l, (long)-9l> > > ::base const" is undefined in device code
Error limit reached.
100 errors detected in the compilation of "ops/bilateral_slice.cu.cc".
Compilation terminated.
Hi,
Some of the problems that are discussed in this issue are already rised in issues: #4 & #9 . I decided to open a new issue as I want to be able to execute this project in any of its version (not necessarly the latest). I included some of the trails I did.
I've tried two versions of this project and failed in both of them. Following some hints that I saw in other issues, I made some progress but didn't succeed. I would like to share my experiments and ask for suggestions.
The information that is missing in this project is what third parties & versions should be used in the compilation & how to arrange them.
The latest commit
The first step was to try the latest commit #7f71f44 (2022-05-08)
The latest commit compilation
As reported in other issues, simply executing
makeresults withAdding the array third party
Following answer in issue #4 I cloned the array third party from https://github.com/dsharlet/array/ (commit ID #344d75d of 2022-04-11). I placed this project under
hdrnet/ops/third_party/arrayNow I had some progress in running
make:The tensorflow third party
Changing the include switches
As the error seems to relate to tensorflow, I have tested the command that should provide the location of the tensorflow include files:
python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'This results with:
Replacing the
python -c...command with the python tensorflow include path results with the same error.Copy the tensorflow core to the thirdparty folder
The next step was to copy the folder of
tensorflow/core/util/gpu_kernel_helper.h(of the tensorflow project - commitID #0976345ba57) to the third party folder (I copied the full folder structure)Running
makenow results with the folllowing error:The cuda third party
I have copied the location of the cuda_fp16 (
/usr/local/cuda/include/cuda_fp16.h) to the third_party/gpus/cuda location. This by itself didn't work.So I added the ops folder to the include path by manually executing:
nvcc -std c++11 -c ops/bilateral_slice.cu.cc -o build/bilateral_slice.cu.o -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -I`python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -expt-relaxed-constexpr -Wno-deprecated-gpu-targets -ftz=true -IopsThis results with another error message: (click to open)
Trying to fix this by upgrading the compiler to
c++14:nvcc -std c++14 -c ops/bilateral_slice.cu.cc -o build/bilateral_slice.cu.o -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -I`python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -expt-relaxed-constexpr -Wno-deprecated-gpu-targets -ftz=true -IopsThis results with the following error message:
Searching more about this issue, seems that the std::clamp is implemented in
c++17:nvcc -std c++17 -c ops/bilateral_slice.cu.cc -o build/bilateral_slice.cu.o -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -I`python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -expt-relaxed-constexpr -Wno-deprecated-gpu-targets -ftz=true -IopsResults with the following error message: (click to view)
At this point I checked if I can get around this by using the "initial commit"
The initial commit
Following the suggestion here #9 I tried to take the initial commit (#5ac95ef of 2017-08-21)
First compilation of the initial commit
tensorflow_gpu==1.1.0- andpython 2.7updated in the environmentclick for pip list content
Executing
pip listresult with:cd hdrnet makeI executed
~/GIT/hdrnet/hdrnet$ makeand recieve:
The initial commit - adding third party
Understand that the thirdparty folder is missing, I cloned the eigen project: https://gitlab.com/libeigen/eigen.git to the folder:
hdrnet/third_party/eigen3As a commit ID for the eigne project I tried commit #5c68ba41a (2017-02-21).
Executing make results with:
The initial commit - Debugging the compilation error
I tried to execute the compilation command manually:
nvcc -std c++11 -c ops/bilateral_slice.cu.cc -o build/bilateral_slice.cu.o -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -I`python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -expt-relaxed-constexpr -Wno-deprecated-gpu-targets -ftz=trueAs the function
python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'returned:/miniconda/envs/p27/lib/python2.7/site-packages/tensorflow/includeI executed:
As this returned the same error as before, I added the location of the
<math_functions.hpp>to the include folder in the compilation (-I/usr/local/cuda/include/crt):I recieved the following error of cuda not supported: (click to view)
In file included from /miniconda/envs/p27/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/Core:42:0, from /miniconda/envs/p27/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/Tensor:14, from /miniconda/envs/p27/lib/python2.7/site-packages/tensorflow/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:4, from ops/bilateral_slice.cu.cc:19: /usr/local/cuda/include/crt/math_functions.hpp:54:2: warning: #warning "crt/math_functions.hpp is an internal header file and must not be used directly. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "crt/math_functions.hpp is an internal header file and must not be used directly. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^~~~~~~ In file included from /usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_runtime.h:115:0, from <command-line>:0: /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^ /usr/local/cuda/bin/../targets/x86_64-linux/include/crt/common_functions.h:74:24: note: in definition of macro '__CUDACC_VER__' #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported. Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~At this point I'm stuck at the moment...
My cuda version is: