-
公开(公告)号:US20220164232A1
公开(公告)日:2022-05-26
申请号:US17519484
申请日:2021-11-04
Applicant: Shanghai Biren Technology Co.,Ltd
Inventor: Long CHEN , HaiChuan WANG , GuoFang JIAO
Abstract: A method for managing resources, a computing device, and a computer-readable storage medium are provided. The method includes obtaining device information of multiple physical devices included in a computing node to confirm physical devices supporting a predetermined hardware resource management method; initializing at least one physical device among the physical devices supporting the predetermined hardware resource management method as a unified device view device; allocating a virtual storage address of the unified device view device, where the virtual storage address is mapped to a physical storage address of the physical device participating in the unified device view; transmitting data to the virtual storage address of the unified device view device; and issuing a computing task to the unified device view device via a task queue for using the physical device participating in the unified device view to execute the computing task.
-
公开(公告)号:US20220283790A1
公开(公告)日:2022-09-08
申请号:US17686413
申请日:2022-03-04
Applicant: Shanghai Biren Technology Co., Ltd
Inventor: HaiChuan WANG , Huayuan TIAN , Long CHEN
Abstract: A method for executing computation, a computing device, a computing system, and a storage medium are provided. The method includes: confirming, via a compiler, whether there is a call instruction related to a thread block modification request in a kernel function to be compiled; in response to confirming that there is the call instruction related to the thread block modification request in the kernel function to be compiled, determining a corresponding program segment associated with the call instruction; configuring a required thread block and thread local register for the corresponding program segment; and inserting a control instruction into the corresponding program segment to enable the thread block configured for the corresponding program segment to execute relevant computation of the corresponding program segment, and an unconfigured thread block not to execute the relevant computation. The disclosure can improve overall performance, make coding and maintenance easy and reduce error rate of code.
-