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 thrown in RebuildTopology() #127

Open
CWOA opened this issue May 11, 2022 · 0 comments
Open

Error thrown in RebuildTopology() #127

CWOA opened this issue May 11, 2022 · 0 comments

Comments

@CWOA
Copy link

CWOA commented May 11, 2022

Hi there,

I'm trying to do a full topology rebuild (i.e. gvdb_.RebuildTopology(...)) over a point cloud I've generated as a thrust::device_vector<float3>. I've created a DataPtr handle for the device vector via:

DataPtr data_ptr;
gvdb_.SetDataGPU(data_ptr,
                 num_points,
                 reinterpret_cast<CUdeviceptr>(point_cloud.data().get()),
                 0,
                 sizeof(float3));

And I've set those points via:

DataPtr vel, clr;
gvdb_.SetPoints(data_ptr, vel, clr);

However, when calling RebuildTopology() via:

gvdb_.RebuildTopology(num_points, TRUNCATION_DIST * 200, {0, 0, 0});

I get the following crash:

unknown file: Failure
C++ exception with description "radix_sort: failed on 2nd step: cudaErrorInvalidValue: invalid argument" thrown in SetUp().

which I'm guessing is being caused by this call. Has anyone had this issue / any suggestions?

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