We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030d124 commit 03d26bdCopy full SHA for 03d26bd
modules/cudaarithm/test/test_event.cpp
@@ -113,7 +113,7 @@ CUDA_TEST_P(AsyncEvent, Timing)
113
{
114
const std::vector<unsigned> eventFlags = { cv::cuda::Event::CreateFlags::BLOCKING_SYNC , cv::cuda::Event::CreateFlags::BLOCKING_SYNC | Event::CreateFlags::DISABLE_TIMING };
115
const std::vector<bool> shouldFail = { false, true };
116
- for (int i = 0; i < eventFlags.size(); i++) {
+ for (size_t i = 0; i < eventFlags.size(); i++) {
117
const auto& flags = eventFlags.at(i);
118
cv::cuda::Event startEvent = cv::cuda::Event(flags);
119
cv::cuda::Event stopEvent = cv::cuda::Event(flags);
0 commit comments