fixed NPP error constants usage

This commit is contained in:
Vladislav Vinogradov
2013-06-07 14:38:27 +04:00
parent c929547164
commit bf7c1c6c25
2 changed files with 62 additions and 18 deletions

View File

@@ -60,6 +60,8 @@
# include "opencv2/core/stream_accessor.hpp"
# include "opencv2/core/cuda/common.hpp"
# define NPP_VERSION (NPP_VERSION_MAJOR * 1000 + NPP_VERSION_MINOR * 100 + NPP_VERSION_BUILD)
# define CUDART_MINIMUM_REQUIRED_VERSION 4020
# if (CUDART_VERSION < CUDART_MINIMUM_REQUIRED_VERSION)