Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
TeamDS
29 bytes added
,
12:05, 5 April 2017
→
Launch Config
// Prepare kernal launch
// Calc how many blocks to launch
int numOfBlocks =
(size + ntpb - 1) / ntpb; //
(size / ntpb) + 1;
// Launch grid
SDFGenerateCuda << <numOfBlocks, ntpb >> >(d_src, d_dst, width, height, 64);
Dshirzad
116
edits