-
公开(公告)号:US20180107519A1
公开(公告)日:2018-04-19
申请号:US15846394
申请日:2017-12-19
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Cong Wang , Xusheng Zhan , YunGang Bao
CPC classification number: G06F9/5011 , G06F9/4831 , G06F9/505 , G06T1/20 , G06T1/60
Abstract: A GPU resource allocation method and system relate to the field of computer technologies. A global logic controller determines a to-be-distributed kernel program in a kernel status register table; searches an SM status register table for an SM capable of running at least one entire thread block; when the SM capable of running at least one entire block is not found, searches the SM status register table for a first SM, where the first SM is an SM capable of running at least one thread warp; and when the first SM is found, distributes a block from the to-be-distributed kernel program to the first SM; or when the first SM is not found, searches for a second SM and then distributes the block from the to-be-distributed kernel program to the second SM. The GPU resource allocation method and system are applicable to GPU resource allocation.