Cuda function to convert P010le to NV12

Hello, i’m deconding P010le video with ffmpeg hevc_cuvid in C++ code. Is there an existing functions in ffmpeg or npp to convert AVFrame or its data from P010le to NV12 on GPU? My main processing pipeline works with NV12. I can use sws_scale for this, but its software convertion and its slow. Any suggestions?

ctx->pix_fmt = AV_PIX_FMT_CUDA;
avcodec_send_packet(ctx, packet);
avcodec_receive_frame(ctx, frame);
AVPixelFormat pix_fmt = (AVPixelFormat)ctx->sw_pix_fmt;
if (pix_fmt != AV_PIX_FMT_NV12) {
// perform convertion here