Changes

Jump to: navigation, search

BETTERRED

6 bytes added, 13:50, 12 April 2017
Host Memory Management
In the original program a bmp is loaded into an vector of uint8_t. This is not ideal for CUDA, therefore an array of pinned memory was allocated. This array contains the same amount of elements but stores them as a structure, "BGRPixel" which is three contiguous floats. The vector is then transferred over to pinned memory.
{| class="wikitable mw-collapsible mw-collapsed"
! Unoptimized Host Memory Management - BlurImageCode( ... )
|-
|
49
edits

Navigation menu