When I was compiling the code by the command
sudo python setup.py install under the /lib/layers,
I met the error as the follow:
usr/local/include/Eigen/src/Geometry/Quaternion.h(267): error: calling a __host__ function("Eigen::internal::quaternionbase_assign_impl< ::Eigen::Matrix<float, (int)3, (int)3, (int)0, (int)3, (int)3> , (int)3, (int)3> ::run< ::Eigen::Quaternion<float, (int)0> > ") from a __global__ function("SDFdistanceForward<float> ") is not allowed
I use the Ubuntu1604, CUDA 9.0, pytorch 0.4.1 and python 2.7.
I suspect the problem may be introduced by the eigen and CUDA, but I don't know how to solve it.
Could you help me? Thanks
When I was compiling the code by the command
sudo python setup.py install
under the /lib/layers, I met the error as the follow:usr/local/include/Eigen/src/Geometry/Quaternion.h(267): error: calling a __host__ function("Eigen::internal::quaternionbase_assign_impl< ::Eigen::Matrix<float, (int)3, (int)3, (int)0, (int)3, (int)3> , (int)3, (int)3> ::run< ::Eigen::Quaternion<float, (int)0> > ") from a __global__ function("SDFdistanceForward<float> ") is not allowed
I use the Ubuntu1604, CUDA 9.0, pytorch 0.4.1 and python 2.7. I suspect the problem may be introduced by the eigen and CUDA, but I don't know how to solve it. Could you help me? Thanks