Commit e05c4888 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

minor fix

parent 1c1a61dd
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment