I suggest just `CV_Assert( ! (useOcl && useCuda) );`