pull/13383/head
Vladislav Vinogradov 14 years ago
parent 1c1a61dd37
commit e05c488868
  1. 2
      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 <typename T> 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

Loading…
Cancel
Save