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

"misaligned address" #43

Open
Debize opened this issue Dec 14, 2023 · 1 comment
Open

"misaligned address" #43

Debize opened this issue Dec 14, 2023 · 1 comment

Comments

@Debize
Copy link

Debize commented Dec 14, 2023

Hi,

I have tried multiple small BAL datasets, multiple examples (Double, Float, analytical) and all end with :

Start with error: 963739, log error: 5.98396, elapsed 3 ms
CUDA error 716 [/usr/local/cuda/targets/x86_64-linux/include/cub/util_device.cuh, 351]: misaligned address
CUDA error 716 [/usr/local/cuda/targets/x86_64-linux/include/cub/util_device.cuh, 433]: misaligned address
CUDA error 716 [/usr/local/cuda/targets/x86_64-linux/include/cub/device/dispatch/dispatch_reduce.cuh, 902]: misaligned address
terminate called after throwing an instance of 'thrust::system::system_error'
  what():  after reduction step 1: cudaErrorMisalignedAddress: misaligned address
Aborted

The error appears to be in l2NormPow2() function (https://github.com/MegviiRobot/MegBA/blob/main/src/algo/lm_algo.cu#L54)

My config:

  • Ubuntu 22.04
  • Cuda 12.2
  • 1x GPU: RTX 2070 (laptop) 8Go VRAM

Could you help me please?
The issue #40 does not help me a lot :)

Thanks !

@aggestsfw
Copy link

这个我测试了,好像是只要相机帧数是奇数就会报错,偶数就没问题

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

2 participants