Open main menu

CDOT Wiki β

Changes

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);
116
edits