mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
b33f3bb2cc
use CV_CUDA_TEST_MAIN for opencv_test_core to initialize CUDA device information
21 lines
297 B
C++
21 lines
297 B
C++
#ifdef _MSC_VER
|
|
# if _MSC_VER >= 1700
|
|
# pragma warning(disable:4447) // Disable warning 'main' signature found without threading model
|
|
# endif
|
|
#endif
|
|
|
|
|
|
#include "test_precomp.hpp"
|
|
|
|
#ifndef HAVE_CUDA
|
|
|
|
CV_TEST_MAIN("cv")
|
|
|
|
#else
|
|
|
|
#include "opencv2/ts/cuda_test.hpp"
|
|
|
|
CV_CUDA_TEST_MAIN("cv")
|
|
|
|
#endif
|