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