BundleFusion_Ubuntu_Pangolin icon indicating copy to clipboard operation
BundleFusion_Ubuntu_Pangolin copied to clipboard

cuda illegal memory access

Open Z-Jeff opened this issue 3 years ago • 3 comments

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?

Z-Jeff avatar Sep 30 '22 07:09 Z-Jeff

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

FangGet avatar Mar 15 '23 07:03 FangGet

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.

clyran avatar Mar 17 '23 13:03 clyran

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

adizhol avatar Mar 19 '23 09:03 adizhol