minor fix
This commit is contained in:
parent
1c1a61dd37
commit
e05c488868
@ -52,7 +52,7 @@ namespace cv { namespace gpu { namespace device
|
|||||||
// for Fermi memory space is detected automatically
|
// for Fermi memory space is detected automatically
|
||||||
template <typename T> struct ForceGlob
|
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
|
#else // __CUDA_ARCH__ >= 200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user