gpuArray takes more time than CPU - imrotate
5 ビュー (過去 30 日間)
Hi.. This is my first experiment with gpuArray on image processing. When I tried to compare the time taken to execute 'imrotate' between CPU array and GPU array, it is seen that GPUarray takes more time. I hope the command imrotate is supported on GPU. Any help would be appreciated. Thanks in advance.
回答 (1 件)
Anand 2014 年 2 月 18 日
A couple of questions in helping you answer the question:
1. Which graphics card do you have? GPU performance is highly dependent on how good a graphics card you have. You can use the following command to find out:
2. How big is the image and what data type is it?
3. Could you add the following line of code on line 9 and report back?