I build a simple debian rootfs and used below ways to support the cuda drivers in my rootfs under L4T 32.5:
- Copy my rootfs to Linux_for_Tegra/rootfs/
- Use apply_binaries.sh to install nvidia releated packages(–target-overlay)
- Install cuda-repo-l4t-10-2-local-10.2.89_1.0-1_arm64.deb manually(download by sdkmanage)
- build the cuda samples in /usr/loacal/cuda/samples
When I running the samples, I find below errors:
# ./asyncAPI [./asyncAPI] - Starting... CUDA error at ../../common/inc/helper_cuda.h:775 code=100(cudaErrorNoDevice) "cudaGetDeviceCount(&device_count)"