NVIDIA-AI-IOT / cuPCL

A project demonstrating how to use the libs of cuPCL.
MIT License
573 stars 93 forks source link

initialization error #30

Open mich909 opened 2 years ago

mich909 commented 2 years ago

On all application the same/similar error appears.
Configuration:

root@linux:/cuda-pcl/cuda-icp#_` ./cuda_segmentation test_Q.pcd 

GPU has cuda devices: 1
----device id: 0 info----
  GPU : NVIDIA Tegra X2 
  Capbility: 6.2
  Global memory: 3833MB
  Const memory: 64KB
  SM in a block: 48KB
  warp size: 32
  threads in a block: 1024
  block dim: (1024,1024,64)
  grid dim: (2147483647,65535,65535)

Loaded 7000 data points for P with the following fields: x y z
Loaded 7000 data points for Q with the following fields: x y z
 iter.Maxiterate 0
 iter.threshold 1e-12
 iter.acceptrate 1

Target rigid transformation : cloud_in -> cloud_icp
Rotation matrix :
    | 0.923880 -0.382683 0.000000 | 
R = | 0.382683 0.923880 0.000000 | 
    | 0.000000 0.000000 1.000000 | 
Translation vector :
t = < 0.000000, 0.000000, 0.200000 >

------------checking CUDA ICP(GPU)---------------- 
Cuda failure: initialization error at line 189 in file cudaICP.cpp error status: 3
Aborted (core `_dumped)
stone1019 commented 2 years ago

try to switch to jp4.x branch, I also encounter "initialization error" under the main branch

Vyliuc commented 2 years ago

Facing exactly the same issue with Jetson tx2, jetpack 4.4.1, pcl 1.8. Switching to jp4.x branch resolved the issue for cuSegmentation package but not for cuICP.

@stone1019 Have you managed to execute the cuICP demo file without issues?

stone1019 commented 2 years ago

@Vyliuc cuICP demo works fine in my machine.

the environment of my NX image