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

Python cuda methods not working despite BUILD_VGICP_CUDA=ON #100

Closed
AndreejS opened this issue Jul 30, 2022 · 2 comments
Closed

Python cuda methods not working despite BUILD_VGICP_CUDA=ON #100

AndreejS opened this issue Jul 30, 2022 · 2 comments

Comments

@AndreejS
Copy link

Hey,
I have build everything as mentioned in the Non-ROS section of the README with -DBUILD_VGICP_CUDA=ON and applied what was mentioned in #66 to create the python bindings. GICP and VGICP are working without any issues, however for the CUDA methods (VGICP_CUDA and NDT_CUDA) i get "error: you need to build fast_gicp with BUILD_VGICP_CUDA=ON" and receive the identity as a result.

I verified that the build was successful with CUDA:
Cuda-Build
As well as verifying that all cuda based folders within gicp are created afterwards.

Additionally i checked if there is any issue with CUDA:
deviceQuery

Everything was done on Ubuntu 18.04 with Python 3.9.
I would be grateful for any hints to solve this.

@AndreejS
Copy link
Author

AndreejS commented Aug 8, 2022

For those who experience the same issue, it can be fixed by enabling "BUILD_VGICP_CUDA" in the Python bindings, here.

Since the CUDA approaches are disabled by default in python and "cmake ... -DCMAKE_BUILD_TYPE=Release -DBUILD_VGICP_CUDA=ON" will obviously not fix this.

@AndreejS AndreejS closed this as completed Aug 8, 2022
@Zhao-hangtian
Copy link

how to config fastgcpi to use CUDA in python? please

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

2 participants