NVIDIA Optical Flow is not working on with error NvOFCudaAPI : m_ofAPI->nvCreateOpticalFlowCuda(m_cuContext, &m_hOF)returned error 2

My gpu is GeForce GTX 1650 with Max-Q Design. I think this error is related to the GPU, but as far as I understood, my gpu should be able to support the NvOF. So, what might be the problem?