[PATCH openEuler-22.09 12/20] sched: programmable: Add helper function for cpu topology.