Error: (-217:Gpu API call) no kernel image is available for execution on the device in function 'call_resize_linear_glob'

Jetson Orin Nano with OpenCV 4.8.0: When I try to execute python code cv.cuda.resize(), I’m receiving this error. My OpenCV was builded with CUDA_ARCH_BIN=“8.7”. If it possible tell me please how to fix this issue?

Hi,

How do you compile the OpenCV 4.8?
Have you built with Orin’s GPU architecture (sm_87)?

Thanks.

I did it in accordance with this article:

I’d change -D CUDA_ARCH_BIN=5.3 to -D CUDA_ARCH_BIN=8.7

Hi,

Yes, please try so.
Thanks.

It’s sad but result is same…

Hi,

Would you mind trying to build OpenCV with the below script?
You can update the version to 4.8.0 directly.

Thanks.

I’d try to execute this script for build OpenCV 4.8.0, but an error still present

Hi,

We need to reproduce this issue in our environment to check it further.
Could you share a simple reproducible source for this issue?

Thanks.

After rebuilding from source version 4.6.0 with script that you advised me, all works well! Thank you very much!

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