Move subunit enumeration to compute-unit.h