Cuda function : gpu not found

Hi

I would like to use CUDA version of fastNlMeansDenoising filter.

Whe I run the program it return error

Error gpu call api (initialization error) in cuda::get Device

I’m using cuda toolkit version 11.2.0_460.89 on windows 10

I use freshly built opencv 4.5 1 with cuda support. It has been built on the same computer

My video card is a quadro k1000M.

When I run a test in matlab for testing the gpu it is found and it is running