提交 0b2c1dc8 编写于 作者: V Vladislav Vinogradov

fixed build without CUDA

上级 d2591704
......@@ -284,7 +284,9 @@ RUN_GPU(SCascadeTest, detectStream)
cascade.detect(colored, trois, objectBoxes, s);
}
#ifdef HAVE_CUDA
cudaDeviceSynchronize();
#endif
SANITY_CHECK(sortDetections(objectBoxes));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册