Skip to content

Commit

Permalink
GraphCut deprecated in CUDA 7.5 and removed in 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Vinogradov committed May 6, 2016
1 parent 855c058 commit 1089612
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/cudalegacy/src/graphcuts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@

#include "precomp.hpp"

#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER)
// GraphCut has been removed in NPP 8.0
#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || (CUDART_VERSION >= 8000)

void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); }
void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); }
Expand Down

0 comments on commit 1089612

Please sign in to comment.