Resource optimization allocation method, system and device based on GPU thread bundle and medium

By monitoring and merging the SM resources of the GPU and optimizing the resource allocation of thread warps, the problems of SM idleness and improper memory resource allocation in the traditional GPU architecture are solved, and the performance and efficiency of the GPU are improved.

CN118819862APending Publication Date: 2024-10-22SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411138304.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

There are problems of SM idleness and improper allocation of memory resources in traditional GPU architecture, leading to performance bottlenecks and resource waste, and existing optimization methods lack comprehensiveness.

Method used

By monitoring the SM status, merging the resources of adjacent SMs to form a resource pool, and optimizing matching and allocation according to the needs of the thread warp, ensuring efficient use of resources and reducing resource competition and pipeline stagnation.

Benefits of technology

It improves the computing speed and processing capabilities of the GPU, reduces the risk of performance degradation caused by resource conflicts, and achieves more efficient resource management and task execution efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819862A_ABST
    Figure CN118819862A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of graphics processing unit design, in particular to a resource optimization allocation method, system and device based on a GPU thread bundle and a medium. The method comprises the following steps: initializing and allocating resources; the thread bundle scheduling program monitors the states of all the SMs; calculating the residual resource quantity of the SM in the idle state and the resource quantity of the adjacent SM, and merging the resource quantities; checking whether the merged resources meet resource requirements of thread bundles to be executed in the SM or not; if yes, endowing the thread bundle with the highest priority and executing immediately; if not, combining the residual resources of other SM; the thread bundle immediately releases resources occupied by the thread bundle after the execution of the SM is finished; and repeating the steps until all the thread bundles are executed. According to the method, execution of the thread bundles on the SM is reasonably called, continuous and efficient utilization of SM resources is ensured, meanwhile, the problems of access conflicts and memory contention among the thread bundles are relieved, and therefore the performance and efficiency of the GPU are comprehensively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of graphics processor design, and to a method, system, device and medium for optimizing resource allocation based on GPU thread bundles. Background Art

[0002] At present, with the rapid development of information technology, graphics processing units (GPUs) have become a key component in the field of modern computing and are widely used in many fields such as high-performance computing, artificial intelligence, machine learning, big data analysis and cloud computing. The core advantage of GPUs lies in their powerful parallel computing capabilities, which is mainly due to their ability to execute a large number of threads simultaneously.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art: In traditional GPU architectures, computing tasks are broken down into a large number of small, parallelizable threads. These threads are organized into thread bundles and mapped to streaming multiprocessors (SMs) for execution. Each SM is responsible for executing the thread bundles assigned to it and allocating necessary computing and memory resources to them. However, as the parallel computing capabilities of GPUs continue to improve, some performance bottlenecks and problems have gradually emerged.

[0004] First, the SM idle problem is becoming increasingly prominent. Since GPUs use thread warps as the basic scheduling unit, when the instructions executed by a thread warp involve memory access operations, other thread warps may not be able to execute due to insufficient resources, causing the SM to be temporarily idle, which in turn causes the pipeline to stagnate. Second, the allocation of memory resources cannot be ignored. Since the parallel processing capability of memory resources is relatively low and is limited by hardware design, how to effectively allocate and manage memory resources has become the key to improving GPU performance.

[0005] Although some strategies have been tried to solve these problems, such as dynamically allocating resources according to program requirements and implementing sophisticated cache management mechanisms, these methods often only focus on optimizing a single dimension and lack comprehensiveness. Therefore, a more innovative and comprehensive approach is needed to optimize GPU resource allocation to improve resource utilization and computing performance.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a resource optimization allocation method, system, device and medium based on GPU thread warps, which aim to ensure the continuous and efficient utilization of SM resources by reasonably calling the execution of thread warps on SM, while alleviating access conflicts and memory contention problems between thread warps, thereby comprehensively improving the performance and efficiency of the GPU.

[0009] In some embodiments, the method comprises: Initialization and resource allocation: allocating computing resources and memory resources to executable thread warps according to the needs of thread warps; SM Monitoring and Detection,The warp scheduler monitors the status of all SMs, including SMs that are executing warps and idle SMs; Resource calculation and merging: When an SM is detected to be in an idle state, the remaining resources of the SM and the resources of its adjacent SMs are calculated and merged with the resources of the adjacent SMs to form a resource pool. Match and optimize the resource pool to check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, give the thread bundle the highest priority and execute it immediately; if not, expand the search range and merge the remaining resources of other SMs; Thread warp execution and resource release. The thread warp releases the resources it occupies immediately after the SM execution is completed. Repeat the above steps until all thread warps are executed.

[0010] Preferably, in the step of merging the resource amounts, the remaining resource amounts of the adjacent SMs are merged in an accumulation manner.

[0011] Preferably, in the step of matching and optimizing the resource pool, resource matching is performed one by one for the thread bundles waiting to be executed by traversing, and if a thread bundle meeting the conditions is found, it is given the highest priority and executed immediately.

[0012] Preferably, in the resource merging strategy, a thread warp that meets resource requirements and can be executed immediately has a higher execution priority.

[0013] Preferably, in the SM monitoring and detection step, SMs in an idle state are detected by traversing all SMs, and their remaining resource amounts are recorded.

[0014] In some embodiments, the system comprises: Initialization module: configured for initialization and resource allocation, allocating computing resources and memory resources to executable thread warps according to the needs of thread warps; SM monitoring and detection module: configured to monitor the status of all SMs through the warp scheduler, including SMs that are executing warps and idle SMs; Resource calculation and merging module: configured to calculate the remaining resources of the SM and the resources of its adjacent SMs when detecting that the SM is in an idle state, and merge the remaining resources with the resources of the adjacent SMs to form a resource pool; Resource pool matching and optimization module: It is configured to check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, the thread bundle is given the highest priority and executed immediately; if not, the search range is expanded to merge the remaining resources of other SMs; Thread warp execution and resource release module: It is configured to release the resources occupied by the thread warp immediately after the SM execution is completed.

[0015] In some embodiments, the apparatus comprises: A processor and a memory storing program instructions, wherein the processor is configured to execute the resource optimization allocation method based on GPU thread bundles when running the program instructions.

[0016] In some embodiments, the medium includes: Program instructions are stored, and when the program instructions are run, the resource optimization allocation method based on GPU thread bundles is executed.

[0017] The embodiments of the present disclosure provide a GPU warp-based resource optimization allocation method, system, device, and medium, which can achieve the following technical effects: By dynamically monitoring and optimizing SM resource allocation, it ensures that each SM can continuously and efficiently execute thread warps, reducing idle time and waste caused by improper resource allocation.

[0018] By properly allocating resources, especially memory resources, access conflicts and memory contention problems between thread warps are alleviated, thereby improving the computing speed and processing power of the GPU.

[0019] Continuously monitor the SM status, promptly discover and utilize idle SM resources, effectively prevent pipeline stagnation caused by insufficient resources, and speed up task processing.

[0020] By giving priority to thread warps that are ready and have sufficient resources, resource contention between thread warps is reduced, and the risk of performance degradation caused by resource conflicts is reduced.

[0021] In the resource merging strategy, thread bundles that meet the conditions and can be executed immediately are given higher execution priority, which speeds up the execution of tasks and improves the overall execution efficiency.

[0022] Through multiple rounds of matching and optimization, the system can flexibly adjust resource allocation to adapt to the resource requirements of different thread bundles, achieving more refined and dynamic resource management.

[0023] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein: Figure 1 It is a schematic flow chart of the method of the present invention; Figure 2 is a schematic diagram of a method flow provided by an embodiment of the present disclosure; Figure 3 It is a schematic diagram of the device structure provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0026] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0027] Unless otherwise stated, the term "plurality" means two or more.

[0028] Example 1 like Figure 1 As shown, a resource optimization allocation method based on GPU thread bundles, the method comprising: S1: Initialization and resource allocation, allocating computing resources and memory resources to executable thread warps according to the needs of thread warps.

[0029] S2: SM Monitoring and Detection,The warp scheduler monitors the status of all SMs, including the SMs,that are executing warps and the idle SMs.

[0030] S3: Resource calculation and merging. When it is detected that the SM is in an idle state, the remaining resources of the SM and the resources of its adjacent SMs are calculated, and then merged with the resources of the adjacent SMs to form a resource pool.

[0031] S4: Match and optimize the resource pool to check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, give the thread bundle the highest priority and execute it immediately; if not, expand the search range and merge the remaining resources of other SMs.

[0032] S5: Thread warp execution and resource release. The thread warp releases the occupied resources immediately after the SM execution is completed.

[0033] S6: Repeat the above steps until all thread warps are executed.

[0034] As a refinement of the above embodiment, in step S1, the thread warp scheduler first allocates resources to the executable thread warp according to the needs of the thread warp and waits for execution, including computing resources and memory resources such as registers and shared memory. Based on this information, the scheduler allocates sufficient resources to each executable thread warp to ensure that they can be executed smoothly on the SM.

[0035] As a refinement of the above embodiment, in step S2, SMs in an idle state are detected by traversing all SMs, and their remaining resource amounts are recorded.

[0036] As a refinement of the above embodiment, in step S3, the remaining resource amounts of adjacent SMs are combined in an accumulation manner.

[0037] As a refinement of the above embodiment, in step S4, resource matching is performed one by one for the thread warps waiting to be executed by traversing, and if a thread warp that meets the conditions is found, it is given the highest priority and executed immediately.

[0038] As a refinement of the above embodiment, in the resource merging strategy, a thread warp that meets resource requirements and can be executed immediately has a higher execution priority.

[0039] It should be noted that: in the resource merging strategy, the present invention gives a higher execution priority to the thread bundles that meet the resource requirements and can be executed immediately. This measure not only speeds up the task processing speed, but also effectively prevents potential resource conflicts by giving priority to thread bundles that are ready and have sufficient resources, and further optimizes the performance of the GPU. In addition, by continuously monitoring the operating status of the SM, this method can effectively prevent the idle state of the SM, thereby greatly reducing the pipeline stagnation phenomenon during the execution process.

[0040] Example 2 like Figure 2 As shown, this embodiment provides another resource optimization allocation method based on GPU thread bundles, including: The scheduler first determines whether there is an idle SM among the many SMs. If not, it starts scheduling the thread bundle Wrap and executes it in sequence. When all Wraps are executed, the memory resources used in the Wrap execution process are immediately released. If there is an SM (denoted as SM x ), the resource merging process is started. In this process, SM is first calculated x The remaining resources, and then find the adjacent SM (denoted as SM y ), and calculate SM y The remaining resources in the SM y The remaining resources in SM x middle.

[0041] Next, determine whether the merged resources meet SM x Warp z Execution, Warp z It refers to SM x Each warp waiting to be executed is matched one by one to see if there is a warp that meets the conditions. If a warp that meets the conditions is found, the warp scheduler will immediately schedule the warp and start executing it. After execution, all resources will be released. If the merged resources still do not meet the conditions of any warp, z The remaining resources of more other SMs will be expanded and merged to meet the needs. After the merger, the above judgment steps will be repeated. If there is still no thread bundle that meets the conditions, the merging process will be repeated in a loop until a thread bundle that meets the conditions is found.

[0042] Once the warp is in the SM x After the thread warp is executed, the resources occupied by it are released immediately so that other thread warps can use them. After releasing the resources, the scheduler will check whether all thread warps have been executed. If not, it will evaluate the SM status again and start a new resource merging and thread warp scheduling process, repeating the above process. If the execution is completed, the whole process ends.

[0043] The specific calculation process involved is as follows: When detecting the state of the SM, all SMs are traversed, and when an idle SM is detected, it is recorded as SM x , the remaining resources calculated are recorded as M. Then let y = x + 1, find the SM adjacent to it y , the remaining resources calculated are recorded as N. When merging resources, the value of M is updated by accumulation, that is, M=M+N. The advantage of this design is that when no executable warp that meets the conditions is found after the first resource merger, the remaining resources of the next SM to be merged can be directly accumulated to M, which can expand the resources of the previous merger. z Make a judgment, where z represents the zth thread warp, and the value of z is not greater than SM x The total number of thread warps n, for Warp z When making a judgment, z is traversed by accumulating 1. Finally, if the merged resources cannot find an executable thread bundle that meets the conditions, the loop uses the method of y=y+1 to expand the range of SM and add more resources until a suitable thread bundle is found.

[0044] In summary, the present invention can not only avoid SM idleness and resource waste, but also reduce pipeline stagnation, prevent resource conflicts, and optimize resource utilization through a series of sophisticated operations and optimization strategies, thereby comprehensively improving the performance and efficiency of the GPU.

[0045] Example 3 A GPU thread bundle-based resource optimization allocation system, comprising: Initialization module: configured for initialization and resource allocation, allocating computing resources and memory resources to executable thread warps according to the needs of the thread warps.

[0046] SM monitoring and detection module: is configured to monitor the status of all SMs through the warp scheduler, including SMs that are executing warps and idle SMs.

[0047] Resource calculation and merging module: configured to calculate the remaining resources of the SM and the resources of its adjacent SMs when detecting that the SM is in an idle state, and merge the remaining resources with the resources of the adjacent SMs to form a resource pool.

[0048] Resource pool matching and optimization module: It is configured to check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, the thread bundle is given the highest priority and executed immediately; if not, the search range is expanded to merge the remaining resources of other SMs.

[0049] Thread warp execution and resource release module: It is configured to release the resources occupied by the thread warp immediately after the SM execution is completed.

[0050] Combination Figure 3 As shown, the embodiment of the present disclosure provides a resource optimization allocation device 300 based on GPU thread bundles, including a processor (processor) 304 and a memory (memory) 301. Optionally, the device may also include a communication interface (Communication Interface) 302 and a bus 303. Among them, the processor 304, the communication interface 302, and the memory 301 can communicate with each other through the bus 303. The communication interface 302 can be used for information transmission. The processor 304 can call the logic instructions in the memory 301 to execute the resource optimization allocation method based on the GPU thread bundle of the above embodiment.

[0051] In addition, the logic instructions in the memory 301 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0052] The memory 301 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 304 executes the functional application and data processing by running the program instructions / modules stored in the memory 301, that is, the resource optimization allocation method based on GPU thread bundles in the above embodiment is implemented.

[0053] The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory and may also include a non-volatile memory.

[0054] The embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned GPU warp-based resource optimization allocation method.

[0055] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0056] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0057] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0058] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0059] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically separately, or two or more units may be integrated in one unit.

[0060] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A resource optimization allocation method based on GPU thread bundles, characterized in that: The following steps are involved: Initialization and resource allocation: allocating computing resources and memory resources to executable thread warps according to the needs of thread warps; SM Monitoring and Detection,The warp scheduler monitors the status of all SMs, including SMs that are executing warps and idle SMs; Resource calculation and merging: When an SM is detected to be in an idle state, the remaining resources of the SM and the resources of its adjacent SMs are calculated and merged with the resources of the adjacent SMs to form a resource pool. Match and optimize the resource pools, and check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, give the thread bundle the highest priority and execute it immediately; If not, expand the search scope and merge the remaining resources of other SMs; Thread warp execution and resource release. The thread warp releases the resources it occupies immediately after the SM execution is completed. Repeat the above steps until all thread warps are executed.

2. The method for optimizing resource allocation based on GPU thread warps according to claim 1, characterized in that: In the resource calculation and merging step, the remaining resources of adjacent SMs are merged in an accumulation manner.

3. The resource optimization allocation method based on GPU thread warps according to claim 1, characterized in that: In the step of matching and optimizing the resource pool, the thread bundles waiting to be executed are matched with resources one by one by traversing. If a thread bundle that meets the conditions is found, it is given the highest priority and executed immediately.

4. The method for optimizing resource allocation based on GPU thread warps according to claim 3, characterized in that: In the resource merging strategy, the thread warps that meet the resource requirements and can be executed immediately have a higher execution priority.

5. The method for optimizing resource allocation based on GPU thread warps according to claim 1, characterized in that: In the SM monitoring and detection step, the idle SMs are detected by traversing all SMs and recording their remaining resources.

6. A GPU warp-based resource optimization allocation system for executing any of the methods of claims 1-5, characterized in that: include: Initialization module: configured for initialization and resource allocation, allocating computing resources and memory resources to executable thread warps according to the needs of thread warps; SM monitoring and detection module: configured to monitor the status of all SMs through the warp scheduler, including SMs that are executing warps and idle SMs; Resource calculation and merging module: configured to calculate the remaining resources of the SM and the resources of its adjacent SMs when detecting that the SM is in an idle state, and merge the remaining resources with the resources of the adjacent SMs to form a resource pool; Resource pool matching and optimization module: configured to check whether the merged resources meet the resource requirements of the thread bundles waiting to be executed in the SM; if so, give the thread bundle the highest priority and execute it immediately; If not, expand the search scope and merge the remaining resources of other SMs; Thread warp execution and resource release module: It is configured to release the resources occupied by the thread warp immediately after the SM execution is completed.

7. A GPU thread bundle-based resource optimization allocation device, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the GPU warp-based resource optimization allocation method according to any one of claims 1 to 5 when running the program instructions.

8. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the resource optimization allocation method based on GPU thread warps is executed according to any one of claims 1 to 5.

Citation Information

Cited By

  • Heterogeneous edge end multi-task reasoning method and device based on pipeline optimization

    CN119988041A