Task scheduling method and device

The embodiment of the invention provides a task scheduling method and device, relates to the technical field of chips, and can improve the component utilization rate and program performance of shared resources. According to the specific scheme, multiple sub-tasks of each task are obtained, multiple...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DING SHUAI, GAI CHENNING, ZHOU YONGBIN, OU YAN, LI SHUO, WANG XIAOYU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a task scheduling method and device, relates to the technical field of chips, and can improve the component utilization rate and program performance of shared resources. According to the specific scheme, multiple sub-tasks of each task are obtained, multiple execution versions of each sub-task in the multiple sub-tasks are obtained, and each execution version in the multiple execution versions occupies different shared resources; and when the at least one task is executed, determining shared resources occupied by each subtask of each task according to the execution version of each subtask of each task in the at least one task. The embodiment of the invention is used for the process of sharing resources to execute multiple tasks. 本申请实施例提供一种任务调度方法和装置,涉及芯片技术领域,能够提升共享资源的部件利用率和程序性能。具体方案为:获取每个任务的多个子任务,并获取多个子任务中每个子任务的多个执行版本,多个执行版本中的每个执行版本占用不同的共享资源;在执行至少一个任务时,根据至少一个任务中每个任务的每个子任务的执行版本,确定每个任务的每个子任务占用的共享资源。本申请实施例用于共享资源执行多个任务的过程。