/
Alx89
/
OpenCV
Обзор
Документация
Войти
/
Alx89
/
OpenCV
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.x
modules/core/test/test_cuda.cpp
21 строка
506 B
Dale Phurrough
add cuda::Stream constructor with cuda flags
28 янв 2021, 18:14
Не верифицирован
28 янв 2021, 18:14
34c3f0f
Код
Авторство
О чём код?
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #if defined(HAVE_CUDA) #include "test_precomp.hpp" #include <cuda_runtime.h> #include "opencv2/core/cuda.hpp" namespace opencv_test { namespace { TEST(CUDA_Stream, construct_cudaFlags) { cv::cuda::Stream stream(cudaStreamNonBlocking); EXPECT_NE(stream.cudaPtr(), nullptr); } }} // namespace #endif