Implement most of _get_codelets_from_ids().