Orinx cuda 11.4 computer sanitizer Device not supported

platform: orinx
cuda 11.4
i use computer-sanitizer for mem-check, but get error :
========= COMPUTE-SANITIZER
========= Program hit invalid device ordinal (error 101) on CUDA API call to cudaSetDevice.
========= Saved host backtrace up to driver entry point at error
========= Host Frame: [0x30cd2c]
========= in /usr/lib/libcuda.so.1
========= Host Frame:cudaSetDevice [0x46f3c]
========= in /software/aarch64/lib64/libcudart.so.11.0
========= Host Frame: [0x1404]
========= in /test/output/bin/./gpu_mem_v3
========= Host Frame:__libc_start_main [0x20e10]
========= in /usr/lib/aarch64-linux-gnu/libc.so.6
========= Host Frame: [0x1994]
========= in /test/output/bin/./gpu_mem_v3

========= Internal Sanitizer Error: Device not supported. Please refer to the “Supported Devices” section of the sanitizer documentation

I would recommend to check calls to cudaSetDevice and verify they are not trying to select a non-existent device. Thanks!

i use cuda sample(vectorAdd) for mem-check test, but it still reported “device not supported”

./compute-sanitizer  --print-level warn --tool memcheck  --destroy-on-device-error kernel --leak-chec
k=full ./vectorAdd
========= COMPUTE-SANITIZER
[Vector addition of 50000 elements]
========= Internal Sanitizer Error: Device not supported. Please refer to the "Supported Devices" section of the sanitizer documentation
========= 
Copy input data from the host memory to the CUDA device
CUDA kernel launch with 196 blocks of 256 threads
Copy output data from the CUDA device to the host memory
Test PASSED
Done
========= LEAK SUMMARY: 0 bytes leaked in 0 allocations
========= ERROR SUMMARY: 1 error

Does the compute-sanitizer tool support mem-check on drive orin-x?

./compute-sanitizer -v

NVIDIA (R) Compute Sanitizer
Copyright (c) 2020-2021 NVIDIA Corporation
Version 2021.2.0

Hi, @cychen318

This is perhaps a permission issue.
Can you please run “sudo usermod -aG debug nvidia” and check again ?