主权项 |
1. A method of resource management, the method comprising:
receiving an allocation request to allocate resources sent from a host code of an application program located on a first device; allocating, in accordance with the allocation request and a maintained mapping logic mapping available hardware resources of at least one GPU of the first device to a unified virtual GPU resource, resources for a device code of the application program from the available hardware resources of the at least one GPU of the first device; and responsive to the allocating, forwarding information of allocated resources back to the host code of the application program. |