102
edits
Line 82: | Line 82: | ||
Please note that the Engine supports both '''CudaImages''' and '''Images''' for processing. However, if you choose to use an Image, the Engine will internally allocate a Cuda buffer and copy the Image content into it, potentially affecting the application performance. Consider the following pseudo-code snippet as an example of how to use the Engine in a loop: | Please note that the Engine supports both '''CudaImages''' and '''Images''' for processing. However, if you choose to use an Image, the Engine will internally allocate a Cuda buffer and copy the Image content into it, potentially affecting the application's performance. Consider the following pseudo-code snippet as an example of how to use the Engine in a loop: | ||
<syntaxhighlight lang=cpp line> | <syntaxhighlight lang=cpp line> |
edits