SiftGPU icon indicating copy to clipboard operation
SiftGPU copied to clipboard

Performance of CPU thread downgraded

Open alexyangfox opened this issue 9 years ago • 0 comments

Hi, pitzer.
I have tested your codes(cuda-based version) in Ubuntu 14.04 with cuda 7.5
I found the CPU utilization is very high.
Most of the Time, it is 100 % .
This would prevented my machine from doing any other CPU intensive jobs.

I found that this is an issue with the cuda runtime library.
The asynchronous Memcpy need occasionally call clock_gettime to query the states of the operation.
And I googled this: link
The link above says: cudaDeviceScheduleBlockingSync turned out to be a solution.

Regards.

alexyangfox avatar Nov 20 '15 16:11 alexyangfox