platform: orinx
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 ?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.