Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no suitable constructor exists to convert from "unsigned short" to "__half" #35

Open
Essen4 opened this issue Apr 12, 2019 · 7 comments

Comments

@Essen4
Copy link

Essen4 commented Apr 12, 2019

kfusion/CMakeFiles/kfusion.dir/build.make:379: recipe for target 'kfusion/CMakeFiles/kfusion.dir/src/cuda/kfusion_generated_proj_icp.cu.o' failed
make[2]: *** [kfusion/CMakeFiles/kfusion.dir/src/cuda/kfusion_generated_proj_icp.cu.o] Error 1
/home/gcw/kinfu_remake-master/kfusion/src/cuda/device.hpp(76): error: no suitable constructor exists to convert from "unsigned short" to "__half"

/home/gcw/kinfu_remake-master/kfusion/src/cuda/device.hpp(79): error: no suitable constructor exists to convert from "unsigned short" to "__half"

2 errors detected in the compilation of "/tmp/tmpxft_0000189b_00000000-14_tsdf_volume.compute_20.cpp1.ii".
CMake Error at kfusion_generated_tsdf_volume.cu.o.cmake:266 (message):
Error generating file
/home/gcw/kinfu_remake-master/build/kfusion/CMakeFiles/kfusion.dir/src/cuda/./kfusion_generated_tsdf_volume.cu.o

how to solve it? please help me

@zj19941113
Copy link

I have the same problem. Have you solved it, please?

/home/zhoujie/fusion/kinfu_remake/kfusion/src/cuda/imgproc.cu(268): error: no operator "=" matches these operands
            operand types are: __half = unsigned short

1 error detected in the compilation of "/tmp/tmpxft_000031f3_00000000-13_imgproc.compute_50.cpp1.ii".
CMake Error at kfusion_generated_imgproc.cu.o.cmake:266 (message):
  Error generating file
  /home/zhoujie/fusion/kinfu_remake/build/kfusion/CMakeFiles/kfusion.dir/src/cuda/./kfusion_generated_imgproc.cu.o

@Essen4
Copy link
Author

Essen4 commented Apr 16, 2019

I have the same problem. Have you solved it, please?

/home/zhoujie/fusion/kinfu_remake/kfusion/src/cuda/imgproc.cu(268): error: no operator "=" matches these operands
            operand types are: __half = unsigned short

1 error detected in the compilation of "/tmp/tmpxft_000031f3_00000000-13_imgproc.compute_50.cpp1.ii".
CMake Error at kfusion_generated_imgproc.cu.o.cmake:266 (message):
  Error generating file
  /home/zhoujie/fusion/kinfu_remake/build/kfusion/CMakeFiles/kfusion.dir/src/cuda/./kfusion_generated_imgproc.cu.o

i guess you are chinese give me your wechat

@zj19941113
Copy link

jdns87v5

@etudemin
Copy link

have the same problem here.

Is there any hint to fix it? thanks a lot!

@vgg4resnet
Copy link

same problem ,how do u sovle it

@FrankGoTo
Copy link

i have faced same problem too. Have you solve it? Thanks

@zhenghanfeng
Copy link

I solve this problem by using a old version of kinfu_remake which not supporting cuda9 or higher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants