The invention discloses an
SIMD architecture-oriented neural
network processor intra-core scheduling method and
system, and belongs to the technical field of
processor scheduling. Through a three-level screening mechanism of the node type priority, the time window priority and the memory influence degree priority, in combination with dependency constraint
processing and L0 cache
mutual exclusion constraint management, a scheduling sequence which meets a topological sequence and has the minimum peak cache
residence amount is generated, idle computing power in a
chip is effectively utilized, and the
resource utilization rate is improved. On the basis, cache allocation and swap-in and swap-out operation are optimized based on a cost-aware strategy, an optimized scheduling sequence containing swap-in and swap-out operation nodes is generated, swap-in and swap-out memory minimization is achieved, and the scheduling efficiency and the
resource utilization rate are further improved. In addition, the method further optimizes the swap-in and swap-out position, and further reduces the total
operation time of the operator on the premise of ensuring that the data carrying amount except the total amount is not obviously increased.