PYCUDA compilation fails due to missing NV Visual Profiler Cuda Libraries/Header Files on Jetson Nano (Jetpack 4.6)

[Update - resolved]
I was able to install the visual profiler libraries and resolve the missing cuda libraries:

sudo apt-get install cuda-visual-tools-10-2
sudo apt-get install cuda-cupti-dev-10-2


PyCuda (v2019.1.2 and v2020) both fail to compile due to missing Cuda files on Jetson Nano Jetpack 4.6 (see error messages below).

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_28_22:34:44_PST_2021
Cuda compilation tools, release 10.2, V10.2.300
Build cuda_10.2_r440.TC440_70.29663091_0

Error 1:
“src/cpp/cuda.hpp:23:10: fatal error: cudaProfiler.h: No such file or directory”

Error 2:
“src/cpp/curand.hpp:6:12: fatal error: curand.h: No such file or directory”

Continuing the discussion from pycuda installation failure on jetson nano:

Glad to know issue resolved, thanks for the update.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.