diff --git a/modules/core/include/opencv2/core/cuda/warp.hpp b/modules/core/include/opencv2/core/cuda/warp.hpp index ae1f8ea5d2..8af7e6a212 100644 --- a/modules/core/include/opencv2/core/cuda/warp.hpp +++ b/modules/core/include/opencv2/core/cuda/warp.hpp @@ -64,7 +64,7 @@ namespace cv { namespace cuda { namespace device static __device__ __forceinline__ unsigned int laneId() { unsigned int ret; - asm("mov.u32 %0, %laneid;" : "=r"(ret) ); + asm("mov.u32 %0, %%laneid;" : "=r"(ret) ); return ret; }