From e05c4888684b1ea032ce3ea90a724f41dd7be6e9 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Tue, 14 Jun 2011 11:57:26 +0000 Subject: [PATCH] minor fix --- modules/gpu/src/opencv2/gpu/device/datamov_utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpu/src/opencv2/gpu/device/datamov_utils.hpp b/modules/gpu/src/opencv2/gpu/device/datamov_utils.hpp index aece53c06..a705cb621 100644 --- a/modules/gpu/src/opencv2/gpu/device/datamov_utils.hpp +++ b/modules/gpu/src/opencv2/gpu/device/datamov_utils.hpp @@ -52,7 +52,7 @@ namespace cv { namespace gpu { namespace device // for Fermi memory space is detected automatically template struct ForceGlob { - __device__ __forceinline__ static void Load(const T* ptr, int offset, T& val) { val = d_ptr[offset]; } + __device__ __forceinline__ static void Load(const T* ptr, int offset, T& val) { val = ptr[offset]; } }; #else // __CUDA_ARCH__ >= 200