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 illegal memory access #26

Open
Z-Jeff opened this issue Sep 30, 2022 · 3 comments
Open

cuda illegal memory access #26

Z-Jeff opened this issue Sep 30, 2022 · 3 comments

Comments

@Z-Jeff
Copy link

Z-Jeff commented Sep 30, 2022

When I run cmake .. -DVISUALIZATION=OFF and make, then run
bundle_fusion_example, there are no errors, but no visualization.
Rebuild cmake .. -DVISUALIZATION=ON, make and run bundle_fusion_example,
an error occurs:
BundleFusion_Ubuntu_Pangolin/src/SiftGPU/SiftPyramid.cpp(387) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered.
How can I fix this?

@FangGet
Copy link
Owner

FangGet commented Mar 15, 2023

Sorry for the late reply, we now add docker support for easy usage, please try compiling with the docker environment.

@clyran
Copy link

clyran commented Mar 17, 2023

when I use run_docker.sh, I got a problem like

terminate called after throwing an instance of 'ml::MLibException'
  what():  process:46: an illegal memory access was encountered:process

after 2 frames' success

I reduce the frame number to 2 and also got the same problem

Mesh generation time 0.238812 seconds
/app/include/DepthSensing/VoxelUtilHashSDF.h(161) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered.

@adizhol
Copy link

adizhol commented Mar 19, 2023

when I use run_docker.sh, I got a problem like

terminate called after throwing an instance of 'ml::MLibException'
  what():  process:46: an illegal memory access was encountered:process

after 2 frames' success

I reduce the frame number to 2 and also got the same problem

Mesh generation time 0.238812 seconds
/app/include/DepthSensing/VoxelUtilHashSDF.h(161) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered.

make sure you are not running out of GPU memory - try to reduce s_maxNumImages in zParametersBundlingDefault.txt

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

4 participants