microsoft / opencv

Open Source Computer Vision Library
opencv.org
Apache License 2.0
144 stars 92 forks source link

Updating OCV structure #49

Open EvgenyAgafonchikov opened 9 years ago

EvgenyAgafonchikov commented 9 years ago

cuda_test and ocl_test (and possible some other) files contain some macros and functions that are required for other tests. So these files are added even in case there is no CUDA and OpenCL support on the platform.

EvgenyAgafonchikov commented 9 years ago

Investigation shows that some of cuda_test/ocl_test features non-blocked by CUDA/OCL absence are used by some cuda/ocl-unrelated OpenCV tests. However this structure may obfuscate developer especially while working on system w/o CUDA/OCL support as WinRT. Current suggestion is to split commonly supported and CUDA/OCL-specific code. Need to be discussed with Itseez before implementations as may require big effort so need to be sure if they consider such change as required.

mkostin commented 9 years ago

:+1: