1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #8525 from nnorwitz:master

This commit is contained in:
Alexander Alekhin
2017-04-11 09:30:09 +00:00
2 changed files with 2 additions and 2 deletions
@@ -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;
}
@@ -64,7 +64,7 @@ struct Warp
__device__ __forceinline__ static uint laneId()
{
uint ret;
asm("mov.u32 %0, %laneid;" : "=r"(ret));
asm("mov.u32 %0, %%laneid;" : "=r"(ret));
return ret;
}