mirror of
https://github.com/opencv/opencv.git
synced 2025-07-01 01:10:52 +08:00
Use %% for inline assembly rather than % so this compiles with clang.
Same as 9210cefb36
but for this file too.
This commit is contained in:
parent
9210cefb36
commit
24e8cd1a78
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user