Direct Show filter and CUDA

Hi.

I have a Direct Show filter which processing image by CUDA. This filter don’t register if there are no device on computer (because there are no cuda’s dll, I suppose). How make so that the filter was registered? (Then will be a possible to choice a method of processing depending on availability of the device in the system)