Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
TeamDS
2 bytes added
,
12:06, 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