Closed tota1Noob closed 2 years ago
Hi! Sorry I can't be of any help, I don't have windows, so almost impossible to debug here...
Hi, I'm having the exact same problem on windows.
Python: 3.8 Pytorch: 1.8.1 Cuda: 11.1
I have attached a text file of what happens when I try to run pip install torch-points-kernels==0.6.10.
Would be great if you can help! Really want to use the torch-points3d library.
Closing for now, feel free to reopen if still an issue.
I was trying to install this library with pip on my windows 10 laptop, could not seem to get around these error prompts.
D:\SOFTWARE\Anaconda\envs\torch3d\include\pyerrors.h(490): note: see previous definition of 'HAVE_SNPRINTF' cuda/src/cubic_feature_sampling_gpu.cu(46): error: calling a host function("floorf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(46): error: identifier "__floorf" is undefined in device code
cuda/src/cubic_feature_sampling_gpu.cu(47): error: calling a host function("ceilf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(47): error: identifier "__ceilf" is undefined in device code
cuda/src/cubic_feature_sampling_gpu.cu(52): error: calling a host function("floorf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(52): error: identifier "__floorf" is undefined in device code
cuda/src/cubic_feature_sampling_gpu.cu(53): error: calling a host function("ceilf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(53): error: identifier "__ceilf" is undefined in device code
cuda/src/cubic_feature_sampling_gpu.cu(58): error: calling a host function("floorf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(58): error: identifier "__floorf" is undefined in device code
cuda/src/cubic_feature_sampling_gpu.cu(59): error: calling a host function("ceilf") from a global__ function("cubic_feature_sampling_kernel ") is not allowed
cuda/src/cubic_feature_sampling_gpu.cu(59): error: identifier "__ceilf" is undefined in device code
12 errors detected in the compilation of "cuda/src/cubic_feature_sampling_gpu.cu".
Help needed. Thanks in advance!!!