Yes, `CV_PERF_TEST_CUDA_MAIN` declares only `cuda` and `plain` implementation. I used it only for gpu modules. `photo` module in future can include `ocl` implementation, for example, so I used generalized `CV_PERF_TEST_MAIN_WITH_IMPLS`.