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

cuda failure: invalid argument in cudaCluster #58

Open
xinxing-max opened this issue Apr 16, 2024 · 0 comments
Open

cuda failure: invalid argument in cudaCluster #58

xinxing-max opened this issue Apr 16, 2024 · 0 comments

Comments

@xinxing-max
Copy link

Hello,

I used the cudacluster library in my ROS2 node. I subscribed to point cloud and clustered the point cloud. However, the following error occurred:

GPU has cuda devices: 1
----device id: 0 info----
GPU : Quadro P2000
Capbility: 6.1
Global memory: 4040MB
Const memory: 64KB
SM in a block: 48KB
warp size: 32
threads in a block: 1024
block dim: (1024,1024,64)
grid dim: (2147483647,65535,65535)

-------------- cudaExtractCluster -----------
LINE:178 0
Cuda failure: invalid argument at line 187 in file cudaCluster.cpp error status: 1
[ros2run]: Aborted

I checked the input point cloud and there was no problem. The problem lies in cudaec.extract(inputEC, sizeEC, outputEC, indexEC);. I can not see the source code so I have no idea about the invalid argument at line 187.

I have also tried the other libs like cudaFilter and cudaSegmentation and they worked fine. I used the branch x86_64 in Ubuntu 22.04. Does anyone have any solution for this?

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

1 participant