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