System Information
OpenCV version: 4.8.0
Operating System / Platform: Windows 11
CUDA:11.8
the graphics card model : NVIDIA GeForce GTX 4070 Ti NVIDIA GeForce GTX 2070 Ti
Detailed description
I debug,find the Yolov8 Layer"onnx_node!/model.22/Sub" and Layer "onnx_node!/model.22/Sub_1" don't support "DNN_BACKEND_CUDA"


Steps to reproduce
if(!layer->supportBackend(cv::dnn:DNN_BACKEND_CUDA))
{
cout<< "Layer"<<layerNames[i]<<"does not support running on CUDA"
}
Issue submission checklist