Commit 0b2c1dc8 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed build without CUDA

parent d2591704
......@@ -284,9 +284,11 @@ RUN_GPU(SCascadeTest, detectStream)
cascade.detect(colored, trois, objectBoxes, s);
}
#ifdef HAVE_CUDA
cudaDeviceSynchronize();
#endif
SANITY_CHECK(sortDetections(objectBoxes));
}
NO_CPU(SCascadeTest, detectStream)
\ No newline at end of file
NO_CPU(SCascadeTest, detectStream)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment