Jetson AGX orin CUDA 12.4 can't parse PTX generated by Clang 17.0

I am using cuModuleLoadDataEx to execute ptx files generated using Clang 17.0.0 compilation, but I am getting this error output CUDA_ERROR_UNSUPPORTED_PTX_VERSION.

The information for nvcc is as follows:

(base) xxx@JetsonAGXOrin:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Feb_27_16:18:46_PST_2024
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0

The information for jtop is as follows:


How do I fix this? Is it a driver problem?


It looks like you are still using JetPack 5.0.1 DP.
Could you upgrade your environment with JetPack 5.1.2 or JetPack 6 DP?



I’ve encountered a new issue where I can’t update JetPack when using apt update. Can you provide a tutorial for this? I didn’t find a corresponding tutorial on the internet.

(base) xxx@JetsonAGXOrin:~/nisl-benchmark/model_mlir$ sudo apt upgrade nvidia-jetpack
[sudo] password for xxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-jetpack is already the newest version (5.0.1-b118).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  gdal-data gir1.2-goa-1.0 libaec0 libarmadillo9 libarpack2 libavcodec-dev libavformat-dev libavresample-dev libavresample4 libavutil-dev libcfitsio8 libcharls2 libdap25 libdapclient6v5 libdc1394-22-dev libepsilon1 libevent-core-2.1-7
  libevent-pthreads-2.1-7 libexif-dev libfreexl1 libfwupdplugin1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5 libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103
  libhwloc-plugins libhwloc15 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libkmlbase1 libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1
  libopencv-calib3d4.2 libopencv-contrib4.2 libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2 libopencv-objdetect4.2 libopencv-photo4.2
  libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2 libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libopenmpi3 libpmix2 libpng-dev libpq5
  libproj15 libqhull7 libraw1394-dev libsocket++1 libspatialite7 libsuperlu5 libswresample-dev libswscale-dev libsz2 libtbb-dev libtesseract4 libtiff-dev libtiffxx5 liburiparser1 libvtk6.3 libxerces-c3.2 libxmlb1 libxnvctrl0 odbcinst
  odbcinst1debian2 proj-data
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libavresample-dev libavformat58 libavfilter7 libpython3.9-minimal
  liburiparser1 libswresample3 libopenexr-dev libpython3.9-stdlib libzmq5
  iperf3 libhdf5-103 libavformat-dev python3.9 libswresample-dev libpostproc55
  libavutil-dev libavcodec-dev ntpdate libpmix2 python3.9-minimal libavcodec58
  libavutil56 libswscale5 libopenexr24 libsdl2-2.0-0 libmysofa1 libiperf0
  libhdf5-openmpi-103 libswscale-dev python3-scipy libavresample4
Learn more about Ubuntu Pro at
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Is it possible to try our SDKmanager with a USB connects to the device?


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