cuda_error_invalid_source: device kernel image on RTX 4090 graphic cards

379 views
Skip to first unread message

Richard Meng

unread,
Mar 4, 2023, 3:34:46 AM3/4/23
to CuPy User Group
Hi everyone,

We recently released a desktop app that uses the CuPy library for accelerated computation on GPUs. However, we have received reports from several users with RTX 4090 graphic cards that they are encountering an error during `cupy.RawKernel` execution. The error message they see is "cuda_error_invalid_source: device kernel image."  So far, we did not observe the same error in another hardware setup. 

Our program uses CUDA 11.7 (which came with pytorch installation) and python 3.9, running on Windows 11 Pro. 

If anyone has encountered this issue before or has any suggestions on resolving it, we would be very grateful for your help. Please let me know if providing other info will help with the diagnosis. 

Thank you in advance for any assistance you can provide.

Kenichi Maehashi

unread,
Mar 4, 2023, 10:33:56 PM3/4/23
to CuPy User Group
Hi,
RTX 4090 (Ada Lovelace) requires CUDA 11.8 or later.

Kenichi

2023年3月4日土曜日 17:34:46 UTC+9 sharm...@gmail.com:

Richard Meng

unread,
Mar 5, 2023, 12:59:17 AM3/5/23
to CuPy User Group
Thank you... will try out the 11.8 version and see how it goes! 

Kenichi Maehashi 在 2023年3月5日 星期日上午11:33:56 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages