Resource processing method and device

The invention provides a resource processing method and a resource processing device. The resource processing method comprises the following steps: receiving a resource allocation request which is transmitted from a host computer code in an application program deployed in first equipment; according...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHAO YONGKE
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 invention provides a resource processing method and a resource processing device. The resource processing method comprises the following steps: receiving a resource allocation request which is transmitted from a host computer code in an application program deployed in first equipment; according to a resource allocation request and a mapping logic from hardware resources maintained provided by at least one GPU of the maintained first equipment to uniform virtual GPU resources, allocating resources required for operation to equipment codes in the application program from the hardware resources provided by at least one GPU of the first equipment; feeding back information of allocated resources to a host computer code. By adopting the resource processing method and the resource processing device, GPU resources can be effectively utilized, and the achievement cost can be reduced. 本申请提供种资源处理方法及装置。方法包括:接收部署于第设备上的应用程序中的主机代码发出的资源分配请求;根据资源分配请求和所维护的所述第设备的至少块GPU可提供的硬件资源到统虚拟GPU资源的映射逻辑,从第设备的至少块GPU可提供的硬件资源中为应用程序中的设备代码分配