On launch, if the number of threads is not specified (as an extra argument to the ), then the dimension of the element with largest rank and dimension is chosen. For images, the rank is set to 2.
On launch, if the number of threads is not a multiple of the block dimension, then it is incremented to be a multiple of the block dimension.