template <> struct ForceGlob<base_type> \
{ \
__device__ __forceinline__ static void Load(const base_type* ptr, int offset, base_type& val) \
{ \
asm(
"ld.global."#ptx_type
" %0, [%1];" :
"=r"(*reinterpret_cast<uint*>(&val)) :
OPENCV_GPU_ASM_PTR(ptr + offset)); \
} \
};
#define OPENCV_GPU_ASM_PTR
Definition: datamov_utils.hpp:65