providing a lot more comments and documenattion in order to explain some
of the mroe involved aspects of the system responsible for finding
optimal cuda launch parameters for a given kernel