Very fast memcpy for image processing?

前端 未结 7 869
萌比男神i
萌比男神i 2020-11-30 18:33

I am doing image processing in C that requires copying large chunks of data around memory - the source and destination never overlap.

What is the absolute fastest wa

7条回答
  •  情深已故
    2020-11-30 19:26

    If specific to Intel processors, you might benefit from IPP. If you know it will run with an Nvidia GPU perhaps you could use CUDA - in both cases it may be better to look wider than optimising memcpy() - they provide opportunities for improving your algorithm at a higher level. They are both however reliant on specific hardware.

提交回复
热议问题