# Run cross complied executable file，return error : cudaErrorInsufficientDriver

**URL:** <https://forums.developer.nvidia.com/t/run-cross-complied-executable-file-return-error-cudaerrorinsufficientdriver/204974>\
**Category:** Jetson AGX Xavier\
**Tags:** cuda\
**Created:** [March 3, 2022, 10:30am UTC](https://forums.developer.nvidia.com/t/run-cross-complied-executable-file-return-error-cudaerrorinsufficientdriver/204974 "2022-03-03T10:30:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyukyunman](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zyukyunman](https://forums.developer.nvidia.com/u/zyukyunman)\
**Post date:** [March 3, 2022, 10:30am UTC](https://forums.developer.nvidia.com/t/run-cross-complied-executable-file-return-error-cudaerrorinsufficientdriver/204974/1 "2022-03-03T10:30:41Z")

</div>

Hello，  
I got an executable file using cross-compiling and running it on xavier. An error occurred during cudamalloc and the return was cudaErrorInsufficientDriver.  
The cuda version of xavier is 10.2.89, and my cross compilation environment nvcc is 10.2.30. Is the error reported because of the nvcc version? Where can I download the nvcc compiler driver for 10.2.89？

Thanks

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [March 7, 2022, 3:11am UTC](https://forums.developer.nvidia.com/t/run-cross-complied-executable-file-return-error-cudaerrorinsufficientdriver/204974/3 "2022-03-07T03:11:54Z")

</div>

Hi,

You can find a compatible CUDA toolkit from the same JetPack (_packages for host_).  
Please use the nvcc and recompile the binary.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [March 30, 2022, 3:16am UTC](https://forums.developer.nvidia.com/t/run-cross-complied-executable-file-return-error-cudaerrorinsufficientdriver/204974/5 "2022-03-30T03:16:57Z")

</div>

Closed on March 30, 2022, 3:16am UTC

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