minor fix

This commit is contained in:
Vladislav Vinogradov 2011-06-14 11:57:26 +00:00
parent 1c1a61dd37
commit e05c488868

View File

@ -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