How to use opencv_traincascade with CUDA

Hello everyone, I’m new here.
I am developing an application for face recognition using RPi.

I would like to train cascade to recognize masked faces using “opencv_traincascade” on Ubuntu 18.04 with GPU.

Is it possible to accelerate “opencv_traincascade” by using GPU?
If it is possible, how can I do it?