added __forceinline__ to device functions

fixed BFM warning ("cannot tell what pointer points to")
This commit is contained in:
Vladislav Vinogradov
2011-06-14 11:27:32 +00:00
parent 79f3260b8e
commit 1c1a61dd37
21 changed files with 978 additions and 908 deletions

View File

@@ -56,7 +56,7 @@ namespace cv
// It is intended to pass to nvcc-compiled code. GpuMat depends on headers that nvcc can't compile
#if defined(__CUDACC__)
#define __CV_GPU_HOST_DEVICE__ __host__ __device__
#define __CV_GPU_HOST_DEVICE__ __host__ __device__ __forceinline__
#else
#define __CV_GPU_HOST_DEVICE__
#endif