My src.jpg size is 549 * 412 about 59kb.fmw42 wrote:As I understand it, OpenCL has a non-negligible overhead. So for small image, it may be slower than without due to the overhead. I do not know what size your input image is.
Search found 4 matches
- 2014-10-20T20:11:25-07:00
- Forum: Bugs
- Topic: using opencl is slower in resize
- Replies: 5
- Views: 4360
Re: using opencl is slower in resize
- 2014-10-20T18:35:41-07:00
- Forum: Bugs
- Topic: using opencl is slower in resize
- Replies: 5
- Views: 4360
Re: using opencl is slower in resize
By the way, has anybody knowns wether need some special configuration that make opencl speed up works, or post your benchmark about using opencl
- 2014-10-19T20:30:40-07:00
- Forum: Bugs
- Topic: using opencl is slower in resize
- Replies: 5
- Views: 4360
Re: using opencl is slower in resize
Hi, I had test version ImageMagick-6.8.9-9
>convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg
openmp:
Performance[1]: 30i 115.385ips 1.000e 0.370u 0:00.260
Performance[2]: 30i 120.000ips 0.510e 0.360u 0:00.250
Performance[3]: 30i 115.385ips 0.500e 0.370u 0:00.260
Performance[4]: 30i ...
>convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg
openmp:
Performance[1]: 30i 115.385ips 1.000e 0.370u 0:00.260
Performance[2]: 30i 120.000ips 0.510e 0.360u 0:00.250
Performance[3]: 30i 115.385ips 0.500e 0.370u 0:00.260
Performance[4]: 30i ...
- 2014-10-19T01:14:43-07:00
- Forum: Bugs
- Topic: using opencl is slower in resize
- Replies: 5
- Views: 4360
using opencl is slower in resize
Hi,
in latest version ImageMagick-6.8.9-8, i compile with opencl and test resize(convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg)
but the performance of using opencl is slower than only use cpu openmp.
I use cuda6.5
>convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg ...
in latest version ImageMagick-6.8.9-8, i compile with opencl and test resize(convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg)
but the performance of using opencl is slower than only use cpu openmp.
I use cuda6.5
>convert src.jpg -filter box -resize 248x248 -bench 30 logo.jpg ...