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:
ed3c382
)
fix a compile warning
author
yao
<bitwangyaoyao@gmail.com>
Fri, 1 Mar 2013 02:06:51 +0000
(10:06 +0800)
committer
yao
<bitwangyaoyao@gmail.com>
Fri, 1 Mar 2013 02:06:51 +0000
(10:06 +0800)
samples/ocl/performance.cpp
patch
|
blob
|
history
diff --git
a/samples/ocl/performance.cpp
b/samples/ocl/performance.cpp
index
c0073c5
..
b2a6d85
100644
(file)
--- a/
samples/ocl/performance.cpp
+++ b/
samples/ocl/performance.cpp
@@
-4345,7
+4345,7
@@
int main(int argc, const char *argv[])
{
if (device == devidx)
{
- ocl::setDevice(oclinfo[i], j);
+ ocl::setDevice(oclinfo[i],
(int)
j);
TestSystem::instance().setRecordName(oclinfo[i].DeviceName[j]);
printf("\nuse %d: %s\n", devidx, oclinfo[i].DeviceName[j].c_str());
goto END_DEV;