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