azuryl@azuryl-Precision-5820-Tower-X-Series:~/project/sscnet/caffe_code/caffe3d_suncg$ make -j8
CXX /home/jliu/build_master_release/src/caffe/proto/caffe.pb.cc
NVCC src/caffe/layers/suncg_data_layer.cu
NVCC src/caffe/layers/contrastive_loss_layer.cu
NVCC src/caffe/layers/bnll_layer.cu
NVCC src/caffe/layers/euclidean_loss_layer.cu
NVCC src/caffe/layers/hdf5_data_layer.cu
NVCC src/caffe/layers/cudnn_sigmoid_layer.cu
NVCC src/caffe/layers/cudnn_conv_layer.cu
NVCC src/caffe/layers/pooling_layer.cu
NVCC src/caffe/layers/softmax_loss_layer.cu
src/caffe/layers/suncg_fusion.hpp(410): error: calling a host function("std::fmin<float, double> ") from a global function("Integrate ") is not allowed
src/caffe/layers/suncg_fusion.hpp(410): error: identifier "std::fmin<float, double> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(410): error: calling a host function("std::fmax<double, float> ") from a global function("Integrate ") is not allowed
src/caffe/layers/suncg_fusion.hpp(410): error: identifier "std::fmax<double, float> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(279): error: calling a host function("std::fmin<float, double> ") from a global function("SquaredDistanceTransform ") is not allowed
src/caffe/layers/suncg_fusion.hpp(279): error: identifier "std::fmin<float, double> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(279): error: calling a host function("std::fmax<double, float> ") from a global function("SquaredDistanceTransform ") is not allowed
src/caffe/layers/suncg_fusion.hpp(279): error: identifier "std::fmax<double, float> " is undefined in device code
8 errors detected in the compilation of "/tmp/tmpxft_0000342c_00000000-11_suncg_data_layer.compute_61.cpp1.ii".
Makefile:596: recipe for target '/home/jliu/build_master_release/cuda/src/caffe/layers/suncg_data_layer.o' failed
make: [/home/jliu/build_master_release/cuda/src/caffe/layers/suncg_data_layer.o] Error 1
make: Waiting for unfinished jobs....
ubuntu 18.04 cuda 10.2
azuryl@azuryl-Precision-5820-Tower-X-Series:~/project/sscnet/caffe_code/caffe3d_suncg$ make -j8 CXX /home/jliu/build_master_release/src/caffe/proto/caffe.pb.cc NVCC src/caffe/layers/suncg_data_layer.cu NVCC src/caffe/layers/contrastive_loss_layer.cu NVCC src/caffe/layers/bnll_layer.cu NVCC src/caffe/layers/euclidean_loss_layer.cu NVCC src/caffe/layers/hdf5_data_layer.cu NVCC src/caffe/layers/cudnn_sigmoid_layer.cu NVCC src/caffe/layers/cudnn_conv_layer.cu NVCC src/caffe/layers/pooling_layer.cu NVCC src/caffe/layers/softmax_loss_layer.cu src/caffe/layers/suncg_fusion.hpp(410): error: calling a host function("std::fmin<float, double> ") from a global function("Integrate ") is not allowed
src/caffe/layers/suncg_fusion.hpp(410): error: identifier "std::fmin<float, double> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(410): error: calling a host function("std::fmax<double, float> ") from a global function("Integrate ") is not allowed
src/caffe/layers/suncg_fusion.hpp(410): error: identifier "std::fmax<double, float> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(279): error: calling a host function("std::fmin<float, double> ") from a global function("SquaredDistanceTransform ") is not allowed
src/caffe/layers/suncg_fusion.hpp(279): error: identifier "std::fmin<float, double> " is undefined in device code
src/caffe/layers/suncg_fusion.hpp(279): error: calling a host function("std::fmax<double, float> ") from a global function("SquaredDistanceTransform ") is not allowed
src/caffe/layers/suncg_fusion.hpp(279): error: identifier "std::fmax<double, float> " is undefined in device code
8 errors detected in the compilation of "/tmp/tmpxft_0000342c_00000000-11_suncg_data_layer.compute_61.cpp1.ii". Makefile:596: recipe for target '/home/jliu/build_master_release/cuda/src/caffe/layers/suncg_data_layer.o' failed make: [/home/jliu/build_master_release/cuda/src/caffe/layers/suncg_data_layer.o] Error 1 make: Waiting for unfinished jobs....