Set the kernel launching parameters.