We are trying to run CUDA app on jetson nano.
We have customized kernel 4.9.140-jetson-nano and custom rootfs (not related to Tegra_Linux_Sample-Root-Filesystem_R32.5.0).
We have installed tegra drivers to our rootfs from Tegra210_Linux_R32.5.0_aarch64.tbz2 and got perfectly working H264 codec. Now we want to get CUDA working.
We have installed CUDA 10.0 with cross-compillation tools to the PC using JetPack.
We have built /usr/local/cuda-10.0/samples/1_Utilities/deviceQuery and link with libcudart_static.a
As result we got output:
CUDA Device Query (Runtime API) version (CUDART static linking) NVMAP_IOC_QUERY_HEAP_PARAMS failed [Inappropriate ioctl for device] cudaGetDeviceCount returned 30 -> unknown error Result = FAIL
What libraries do we need to install to get the sample working?
We don’t want to install ALL libraries related to CUDA, we want to install ONLY libraries related to this sample (deviceQuery) to get it working.