Figure out all kernel combinations (#4182)