projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd93ae0
)
Use %% for inline assembly rather than % so this compiles with clang.
author
nnorwitz
<nnorwitz@gmail.com>
Wed, 5 Apr 2017 17:57:50 +0000
(10:57 -0700)
committer
GitHub
<noreply@github.com>
Wed, 5 Apr 2017 17:57:50 +0000
(10:57 -0700)
modules/cudev/include/opencv2/cudev/warp/warp.hpp
patch
|
blob
|
history
diff --git
a/modules/cudev/include/opencv2/cudev/warp/warp.hpp
b/modules/cudev/include/opencv2/cudev/warp/warp.hpp
index
6860ccf
..
db096c5
100644
(file)
--- a/
modules/cudev/include/opencv2/cudev/warp/warp.hpp
+++ b/
modules/cudev/include/opencv2/cudev/warp/warp.hpp
@@
-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;
}