Update main.cpp
This commit is contained in:
@@ -72,7 +72,7 @@ int main() {
|
|||||||
gpu.run(0,752,480,1);
|
gpu.run(0,752,480,1);
|
||||||
time_accumulator += ((cv::getTickCount() - t) / cv::getTickFrequency());
|
time_accumulator += ((cv::getTickCount() - t) / cv::getTickFrequency());
|
||||||
}
|
}
|
||||||
printf("OpenCL took %f ms (average over %d trials).\n", time_accumulator/((double)1000)*1000.0, 1000 );
|
printf("OpenCL took %f s (average over %d trials).\n", time_accumulator, 1000 );
|
||||||
int icorner_[1]={0};
|
int icorner_[1]={0};
|
||||||
gpu.read(0,2,icorner_);
|
gpu.read(0,2,icorner_);
|
||||||
cl_int2 corners[740*450];
|
cl_int2 corners[740*450];
|
||||||
|
|||||||
Reference in New Issue
Block a user