-
Notifications
You must be signed in to change notification settings - Fork 25
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
interrupt error #7
Comments
interrupt error means segmentation fault or what? Maybe you can insert "gpuErrchk(cudaPeekAtLastError());" before line 274 to see more error messages. |
By the way, Does the depth image seem normal if comments back the test.cpp line 64-67? |
1、I insert "cudaDeviceSynchronize();" and "cudaGetLastError();" befor line 270,it return 77,maybe depth2mask is error,Let me have check. Thanks for you review. |
depth2mask seems too simple to be wrong. Will this happen if you insert codes before depth2mask? |
I have solve the problem,in function " render_cuda_keep_in_gpu ",if I copy depth_cuda from device to host in Function of the internal(renderer.cu),it works,but if I copy depth_cuda from device to host in test.cpp,it doesn't work.So I copy the thrust data into a device pointer,and return it.Test.cpp now works well,but I don't know why does this happen? |
Any function related to gpu should be in .cu file. If you want depth on cpu side, just use render_cuda. |
It is no need to do that,cudaMemcpy can work in .cpp file. But kernel function should be in .cu file. |
When I run function "depth2cloud_cuda",it will interrupt in file"icp.cu " line 274.
The text was updated successfully, but these errors were encountered: