mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #8525 from nnorwitz:master
This commit is contained in:
commit
c839a2ccb1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user