GPGPU-oriented on-chip resource management system

By monitoring the computing core resource, thread block allocation scheduling and dynamic resource management in the on-chip resource management system of GPGPU, combined with the L2 cache sharing mechanism of shared nodes, the problem of low resource scheduling efficiency is solved, and efficient resource utilization is achieved. Improved computing performance.

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

Patent Information

Application Number
CN202411162161.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the high-performance computing environment of GPGPU, how to efficiently manage and schedule computing storage resources, ensure resource utilization efficiency, and improve computing performance, especially the direction of thread block scheduling, how to reasonably allocate limited resources to avoid resource conflicts and overloads, Implement load balancing to prevent waiting caused by idle or insufficient resources.

Method used

A GPGPU-oriented on-chip resource management system is designed, focusing on three core aspects: computing core resource monitoring, thread block allocation scheduling and dynamic resource management, through fine-grained resource monitoring, resource-aware allocation strategy, and state-sensitive scheduling unit. and dynamic resource management mechanism, optimize the allocation and scheduling of thread blocks, ensure the reasonable allocation and use of resources, and optimize the resource sharing of L2 cache through the shared node mechanism.

Benefits of technology

Improve the utilization rate of computing resources and the efficiency of storage resources, reduce performance losses, realize real-time monitoring and dynamic management of resources, ensure that the system flexibly responds to various tasks, maintains the optimization of resources, and improves the computing and memory access performance of GPGPUs .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003177A_ABST
    Figure CN119003177A_ABST
Patent Text Reader

Abstract

The invention relates to the field of GPGPUs, in particular to a GPGPU-oriented on-chip resource management system. The method comprises three parts of computing core resource monitoring, thread block allocation scheduling and dynamic resource management. Through fine-grained real-time monitoring, resource abnormity is rapidly positioned, and SM core resources are intelligently analyzed and allocated. And a thread block allocation strategy based on resource awareness is adopted, so that the calculation utilization rate is improved. An advanced thread block scheduling mechanism is adopted, data is allowed to be preempted ready, the cache hit rate is increased, and performance loss is reduced. And a dynamic resource management and self-adaptive adjustment mechanism is adopted, so that the system can flexibly deal with various tasks, and resource optimization is kept. A shared node storage management mechanism is adopted, the utilization rate of on-chip resources is optimized, and the system performance is enhanced. Through specific implementation of the scheme, reasonable scheduling and allocation of GPGPU computing storage resources are effectively completed, full use of the resources is guaranteed, and the computing memory access performance of the GPGPU is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of GPGPU and on-chip resource management, and specifically to an on-chip resource management system for GPGPU. Background Art

[0002] In the high-performance computing environment of GPGPU, the research on on-chip resource management schemes and thread block scheduling schemes is crucial. With the development of emerging technologies such as artificial intelligence and machine learning, from traditional graphics rendering to complex numerical simulation and data analysis, the computing tasks faced by GPGPU are becoming more and more diverse, and the computing resources and storage resources integrated on the chip are also increasing. However, how to efficiently manage and schedule computing and storage resources, while ensuring resource utilization efficiency and maximizing computing performance, has also become a key factor affecting the performance of GPGPU.

[0003] Especially in the thread block scheduling direction of GPGPU on-chip resources, because the computing resources of GPGPU are limited, how to reasonably allocate thread blocks among limited resources to avoid resource conflicts and overload is a problem that needs careful consideration. At the same time, since the computing loads of different thread blocks may be different, the scheduler must ensure that all thread blocks can be evenly distributed to the available processing units to achieve load balancing, avoid waste of some thread blocks due to idle resources, and prevent other thread blocks from waiting due to insufficient resources. Summary of the invention

[0004] In view of the defects of the prior art, the present invention provides an on-chip resource management method, system and medium for GPGPU, which are used to improve the utilization rate and computing efficiency of on-chip resources.

[0005] In order to solve the technical problem, the present invention focuses on three core aspects: computing core resource monitoring, thread block allocation scheduling, and dynamic resource management.

[0006] In the direction of computing core resource monitoring, a fine-grained resource monitoring module is designed to track the resource usage of each SM (streaming multiprocessor) in real time. By monitoring the thread block execution status and resource consumption in the SM, the system can respond to resource usage anomalies in a timely manner and ensure the reasonable allocation and use of resources.

[0007] In terms of thread block allocation, a resource-aware allocation unit is designed to evaluate the needs of each thread block for thread space, shared memory, and registers, and match them with the resource capacity of the SM. If there is an SM resource capacity that meets the thread block requirements, the thread block will be sent to a certain SM for execution according to the allocation strategy; if all SM resource capacities cannot meet the thread block resource requirements, the thread block will be suspended and wait for the release of SM resources until there is an SM resource capacity that meets the execution conditions. In terms of thread block scheduling, a state-sensitive scheduling unit is designed. Thread blocks that receive data responses are allowed to preempt thread blocks that are being executed, that is, as long as a group of thread blocks receive data responses and turn to the ready state, they are given the highest priority and start executing immediately. After the execution is completed, the next group of thread blocks will be scheduled to continue execution.

[0008] In the direction of on-chip resource dynamic management, in order to adapt to the dynamic changes in resource requirements during the execution process, a thread block resource dynamic management module and a storage resource management module are designed, including allocation of new thread blocks, thread block suspension mechanism based on resource usage, and on-chip resource sharing of L2 cache through a shared node mechanism.

[0009] Specifically, the dynamic management mechanism of thread block resources forms a highly integrated computing resource management framework by combining the SM resource usage table and the thread block resource usage table with the thread block scheduler and the core resource monitor. This framework obtains the on-chip resource status through the core resource monitor and the dynamic management of thread block resources, updates the SM resource usage table and the thread block resource usage table, and provides data support for the execution of the thread block scheduler. The execution result of the thread block scheduler will further update the on-chip resource usage status, guide the further update of the core resource monitor and the dynamic management of thread block resources, and then realize the real-time monitoring and dynamic management of on-chip computing resources.

[0010] At the same time, in order to further improve the efficiency of on-chip storage resources, this solution optimizes the shared management of L2 cache resources through a shared node mechanism. The shared node is responsible for maintaining the address space of multiple L2 caches to achieve fast data retrieval and consistency maintenance. When the L2 cache issues a data request, the shared node will first check other on-chip resources. If it finds that the required data has been cached, it will directly provide the data, thereby reducing the reliance on external storage and the number of accesses.

[0011] Beneficial effects of the present invention: The on-chip resource management system for GPGPU proposed in the scheme of the present invention revolves around three core aspects: computing core resource monitoring, thread block allocation scheduling, and dynamic resource management. Through fine-grained real-time monitoring, resource anomalies can be quickly located, and SM core resources can be intelligently analyzed and deployed. A thread block allocation strategy based on resource awareness is adopted to improve computing utilization. An advanced thread block scheduling mechanism is adopted to allow data-ready preemption, improve cache hit rate, and reduce performance loss. Dynamic resource management and adaptive adjustment mechanisms are adopted to ensure that the system can flexibly respond to various tasks and maintain resource optimization. A shared node storage management mechanism is adopted to optimize on-chip resource utilization and enhance system performance. Through the specific implementation of this scheme, the reasonable scheduling and allocation of GPGPU computing storage resources are effectively completed, ensuring the full use of resources, and further improving the computing and memory access performance of GPGPU. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a schematic diagram of the overall scheme of on-chip resource management; Figure 2 This is a schematic diagram for computing core resource monitoring; Figure 3 Schematic diagram of thread block polling allocation and resource-aware allocation, where a is a schematic diagram of thread block polling allocation; b is a schematic diagram of thread block resource-aware allocation; Figure 4 Schematic diagrams of thread block polling scheduling and state-aware scheduling, where a is a schematic diagram of thread block polling scheduling, and b is a schematic diagram of thread block state-aware scheduling. DETAILED DESCRIPTION

[0013] The present invention will be further described below in conjunction with the accompanying drawings and specific implementations.

[0014] Example 1 This embodiment discloses an on-chip resource management system for GPGPU, such as Figure 1 As shown, it includes a computing core resource monitoring module, a thread block allocation scheduling module, a thread block resource dynamic management module and a storage resource management module.

[0015] Computing core resource monitoring module and computing resources ( Figure 1The N SMs in the SM, namely SM0 to SMN, are connected to each other, with thread blocks as the granularity, and are responsible for monitoring the execution of thread blocks in each streaming multiprocessor (SM) to ensure that once the thread block is executed, the resources it occupies can be released and reallocated in a timely manner. This includes tracking the life cycle of thread blocks, from allocation to SM to the end of execution, and all stages in between. In addition, the computing core resource monitoring module also needs to monitor the resource usage in the SM, such as the usage of register files and shared memory, to ensure that resource usage does not exceed expectations, and to be able to detect any abnormal increase or decrease in resource usage in a timely manner.

[0016] Specifically, the computing core resource monitoring module will integrate an efficient monitoring system that uses built-in performance counters to collect key resource data, such as Figure 2 As shown in Figure 1, these resource data include the number and status of thread block slots, the occupancy of thread warp slots, the register usage of each thread warp, and the usage and configuration of shared memory. These data will be analyzed and monitored in real time, and sent out when necessary to adjust the subsequent resource allocation strategy. For example, if it is detected that a thread block has completed its computing task ahead of schedule, the computing core resource monitoring module will respond quickly, mark the released resources as available, and notify the thread block scheduler to reallocate them.

[0017] In addition, the computing core resource monitoring module will also implement an anomaly detection mechanism to set the increase and decrease thresholds of various SM resources to monitor whether resource usage exceeds the predetermined thresholds. If resource usage anomalies are detected, the anomaly monitoring system will be triggered and take corresponding measures, such as rescheduling thread blocks or adjusting resource allocation to restore the balance of resource usage.

[0018] Through this fine-grained monitoring and management, the computing core resource monitoring module can not only improve resource utilization, but also ensure the stability and efficiency of the artificial intelligence computing chip when performing various computing tasks. This comprehensive resource management strategy will bring better performance and longer service life to the artificial intelligence computing chip.

[0019] The allocation and scheduling of thread blocks are the prerequisites for GPGPU hardware multithreading. The allocation of thread blocks determines which thread blocks will be scheduled to execute on which programmable multiprocessors, while the scheduling of thread blocks determines the order in which the allocated thread blocks are executed. The two are closely related and have a direct impact on the performance of GPGPU.

[0020] In terms of thread block allocation, traditional GPUs usually adopt polling as the basic strategy. Figure 3As shown in a, first, the thread block scheduler will allocate at least one thread block to each programmable multiprocessor in a round-robin manner. If there are still idle unallocated resources (i.e., various resources monitored by the computing core resource monitoring module) on the programmable multiprocessor after the first round of allocation, the second round of allocation will be carried out; similarly, if there are still resources remaining after the second round of allocation, the next round of resource allocation can be started until the resources on all programmable multiprocessors are saturated. For the thread blocks that have not been allocated, they need to wait for the allocated thread blocks to be executed and the occupied resources to be released before they can be allocated to the programmable multiprocessor for execution.

[0021] Although the traditional polling allocation strategy is widely used due to its simplicity, its actual utilization rate of the resources in the SM core is not high, and it is easy for resources to be idle. In order to solve this problem, this embodiment 1 proposes a thread block allocation unit based on resource awareness. Figure 3 As shown in Figure 2, before allocating thread blocks, the system first arranges the thread blocks to be allocated according to the required resource size based on the data in the thread block resource usage table; then selects the SM computing core in a polling manner, and allocates the maximum resource occupancy thread block supported by the current SM computing core according to the data in the SM resource usage table; the SM computing core that has completed the allocation exits with the allocated thread block information, and the subsequent SM computing core fills in; polling is performed in sequence until all thread blocks are allocated or the SM computing core resources reach the upper limit. If there are unallocated thread blocks after the SM computing core resources reach the upper limit, wait and make subsequent allocations based on the SM computing core resource changes fed back by the computing core resource monitoring module.

[0022] In terms of thread block scheduling, the traditional polling basic strategy also has many problems, especially in terms of L1 data cache hit rate and reuse rate. In GPGPU, the capacity of L1 data cache is often only tens or hundreds of KB, which cannot meet the data cache requirements generated by the parallel execution of a large number of thread blocks at the same time, which easily leads to cache conflicts, misses and other problems.

[0023] like Figure 4As shown in FIG. 1 , when a thread block scheduling scheme using a polling strategy is adopted, it is assumed that four thread blocks TB1, TB2, TB3, and TB4 are allocated to an SM. According to the polling strategy, the thread block scheduler will execute TB1, TB2, TB3, and TB4 in sequence. If TB1 is temporarily stalled due to a long-delay memory access operation, in order to improve resource utilization efficiency, the thread block scheduler will temporarily suspend TB1 and then start TB2 to continue execution. If TB2 is also temporarily stalled due to a memory access operation, the thread block scheduler will suspend TB2 and schedule the execution of TB3. If the data required by TB1 happens to be returned during the execution of TB3, TB1 will enter the ready state at this time, but according to the polling thread block scheduling scheme, TB1 needs to wait for TB4 to be executed before it can be scheduled again. Although this polling scheme can ensure that TB1-4 can be executed, due to the limited capacity of the L1 data cache, the memory access operations of TB1 and TB2 may have been completed before TB4 is executed, and the data loaded into the cache by TB1 is likely to be replaced by the memory access data of TB2 executed later. This means that after TB1 is polled again for execution, TB1 still needs to access the memory again, which causes a huge memory access delay.

[0024] To solve this problem, this embodiment proposes a thread block scheduling unit based on state awareness: this solution allows a thread block (such as TB1) that has entered the ready state to preempt the thread block that is being executed, that is, to terminate the thread block that is being executed and switch to executing the thread block that has completed the memory access, until the thread block in the ready state is executed, and then continue to execute the terminated thread block. An example of a thread block scheduling solution based on state awareness is as follows: Figure 4 As shown in b: Once TB1 receives data response and turns to the ready state, it will preempt the executing TB3 and turn to execute the ready thread block TB1. It will not continue to execute the terminated thread block TB3 until all thread warps in TB1 are executed. The state-aware thread block scheduling scheme effectively reduces the risk of unreused data being replaced in advance, especially for memory-intensive applications.

[0025] In modern computing systems, especially parallel computing platforms such as GPGPU, the computing and storage resources integrated on the chip are becoming increasingly abundant. How to scientifically and rationally manage and schedule these on-chip resources is crucial to the efficient computing and optimized performance of artificial intelligence computing chips.

[0026] In order to further improve resource utilization and adapt to the dynamic changes in resource requirements during the execution process, this embodiment designs an on-chip resource dynamic management module, which includes a thread block resource dynamic management module for computing resource management and a storage resource management module for storage resources, including allocation of new thread blocks, thread block preemption / suspend mechanism based on resource usage, and on-chip resource sharing of L2 cache through a shared node mechanism.

[0027] The implementation process of the thread block resource dynamic management module is: S11), receiving multiple thread block information from the kernel definition, and updating the received information into the thread block resource usage table; receiving information from the computing core resource monitoring, and updating the information into the SM resource usage table, and providing data support for the thread block allocation scheduling module; S12), when the thread block allocation is completed, the allocation result of the thread block that has been allocated is written into the thread block resource usage table, the corresponding SMID information in the thread block resource usage table is updated, and a mapping relationship between the thread block and the SM computing core is constructed; S13), when there is resource release and thread block execution end information in the SM computing core tracked by the computing core resource monitoring module, the corresponding SM resource usage table information is updated, the resource information in the corresponding SMID entry is released, the corresponding thread block resource usage table is updated, the resource information in the corresponding blockID entry is released, and the thread block allocation module is started at the same time, according to the resource release capacity of the corresponding SM computing core and the thread block resource demand to be allocated in the thread block resource usage table, a new thread block is allocated to the SM computing core, and the SMID information of the thread block in the thread block resource usage table is updated; S14), when the SM computing core resource usage tracked by the computing core resource monitoring module exceeds the set increase threshold or exceeds the SM computing core resource upper limit, the thread block scheduling module is started to suspend the thread block with increased resource usage, and the corresponding SM resource usage table information and thread block resource usage table information are updated; if the resource usage exceeds the set reduction threshold, indicating that the SM computing core resources are available, the corresponding SM resource usage table information and thread block resource usage table information are updated, and the thread block allocation module is started to allocate a new thread block to the SM computing core. Note that if the SM core previously has a resource abnormal suspension thread block, the resource abnormal suspension thread block will be started first.

[0028] In the design of GPGPU, multiple L2 caches are usually independent of each other and maintain their own data sets. Although this design helps to improve locality, it may cause a series of problems if there is no effective cache management strategy. First, the repeated storage of data in multiple L2 caches makes it difficult to maintain cache consistency when the data is updated. Second, when a cache miss occurs in an L2 cache, if it needs to access external storage every time, this is not only a waste of resources, but also seriously affects the overall performance due to the high latency of external memory access.

[0029] In order to solve the above problems, this solution proposes an L2 cache sharing management mechanism based on shared nodes. In this solution, the core function of the shared node is to maintain a unified address space that spans all relevant L2 caches. When an L2 cache needs to access data, it first sends a request to the shared node. The shared node then performs the following operations according to the data request type: If it is a read data request, it first performs an address mapping query to check whether the requested data has been cached in other L2 caches. If the data exists in other L2 caches, the data migration between L2 caches is completed, the data is read from the data target L2 cache, sent to the data request L2 cache, and the relevant data information of the shared node is updated; if the data does not exist in other L2 caches, the read data information is sent to the external memory through the DDR controller. When the response data obtained from the external memory is sent to the corresponding L2 cache, the corresponding shared node information also needs to be updated. If it is a write data request, while sending data write information to the external memory through the DDR controller, an address mapping query is performed to check whether the requested data has been cached in other L2 caches. If the data exists in other L2 caches, the target L2 cache of the cached data is also written according to the data write information; if the data does not exist in other L2 caches, no subsequent action is required.

[0030] This solution proposes a shared L2 cache management mechanism based on shared nodes. On the one hand, it performs well in handling cache misses and realizes data sharing across L2 caches. When the L2 cache needs to read data and there is a local miss, the shared node will perform an address mapping query before the external memory access. If other L2 caches have cached the required data, the shared node will directly coordinate data migration and quickly provide it from the L2 cache of the existing data, avoiding unnecessary access to external storage, reducing access latency, and improving data access speed. On the other hand, this solution simplifies the maintenance of data consistency. When data in any L2 cache is updated, the shared node can map it according to the maintained unified address space, ensuring that data changes can be quickly and accurately reflected in all associated caches, thereby avoiding data inconsistency problems.

[0031] The above description is only the basic principle and preferred embodiments of the present invention. Improvements and substitutions made by those skilled in the art based on the present invention belong to the protection scope of the present invention.

Claims

1. An on-chip resource management system for GPGPU, characterized by: include: The computing core resource monitoring module is connected to the computing resources and is used to monitor the execution of thread blocks in each SM, including tracking the life cycle of thread blocks and monitoring the resource usage in SM to ensure that the resources occupied by thread blocks are immediately released and reallocated after the execution of thread blocks is completed; The thread block allocation and scheduling module is connected to the computing resources and includes a resource-aware allocation unit and a state-sensitive scheduling unit. The resource-aware allocation unit first evaluates the requirements of each thread block for thread space, shared memory, and registers, and matches them with the resource capacity of the SM. If there is an SM whose resource capacity meets the thread block requirements, the thread block is sent to the SM that meets the requirements for execution. The state-sensitive scheduling unit allows the thread blocks that have received data responses to preempt the executing thread blocks. That is, as long as a group of thread blocks receive data responses and become ready, they will be given the highest priority and start executing immediately. After the execution is completed, the next group of thread blocks will be scheduled to continue execution. Thread block resource dynamic management module, the thread block resource dynamic management module obtains the on-chip resource status and updates the SM resource usage table and the thread block resource usage table, providing data support for the execution of the thread block allocation scheduling module. The execution result of the thread block allocation scheduling module further updates the on-chip resource usage status, guides the further update of the computing core resource monitoring module and the thread block resource dynamic management module, thereby realizing real-time monitoring and dynamic management of on-chip computing resources.

2. The on-chip resource management system for GPGPU according to claim 1, characterized in that: The computing core resource monitoring module uses built-in performance counters to collect resource data, including the number and status of thread block slots, the occupancy of thread warp slots, the register usage of each thread warp, and the usage and configuration of shared memory. It analyzes and monitors the collected resource data in real time. If it is detected that a thread block has completed the computing task ahead of schedule, the resources released by the thread block are immediately marked as available, and a notification for reallocation is issued.

3. The on-chip resource management system for GPGPU according to claim 2, characterized in that: When analyzing and monitoring the collected resource data in real time, set the SM resource increase / decrease threshold. If it is detected that the resource data exceeds or is less than the set increase / decrease threshold, the abnormal monitoring system is triggered and measures are taken.

4. The on-chip resource management system for GPGPU according to claim 1, characterized in that: The process of allocating thread blocks based on resource-aware allocation units is as follows: before allocating thread blocks, first arrange the thread blocks to be allocated according to the required resource size based on the data in the thread block resource usage table, then select the SM computing core in a polling manner, and allocate the maximum resource occupancy thread block supported by the current SM computing core based on the data in the SM resource usage table. The SM computing core that has completed the allocation exits with the allocated thread block information, and the subsequent SM computing cores are added, and polling is carried out in sequence until all thread blocks are allocated or the SM computing core resources reach the upper limit.

5. The on-chip resource management system for GPGPU according to claim 4, characterized in that: Poll in sequence until all thread blocks are allocated or the SM computing core resources reach the upper limit. If there are thread blocks that have not been allocated after the SM computing core resources reach the upper limit, wait and make subsequent allocations based on the changes in the SM computing core resources reported by the computing core resource monitoring.

6. The on-chip resource management system for GPGPU according to claim 1, characterized in that: The implementation process of the thread block resource dynamic management module is: S11), receiving multiple thread block information from the kernel definition, and updating the received information into the thread block resource usage table; receiving information from the computing core resource monitoring, and updating the information into the SM resource usage table, and providing data support for the thread block allocation scheduling module; S12), when the thread block allocation is completed, the allocation result of the thread block that has been allocated is written into the thread block resource usage table, the corresponding SMID information in the thread block resource usage table is updated, and a mapping relationship between the thread block and the SM computing core is constructed; S13), when there is resource release and thread block execution end information in the SM computing core tracked by the computing core resource monitoring module, the corresponding SM resource usage table information is updated, the resource information in the corresponding SMID entry is released, the corresponding thread block resource usage table is updated, the resource information in the corresponding blockID entry is released, and the thread block allocation unit is started at the same time, according to the resource release capacity of the corresponding SM computing core and the thread block resource demand to be allocated in the thread block resource usage table, a new thread block is allocated to the SM computing core, and the SMID information of the thread block in the thread block resource usage table is updated; S14), when the SM computing core resource usage tracked by the computing core resource monitoring module exceeds the set increase threshold or exceeds the SM computing core resource upper limit, the thread block scheduling unit is started, the thread block with increased resource usage is suspended, and the corresponding SM resource usage table information and thread block resource usage table information are updated; if the resource usage exceeds the set reduction threshold, indicating that the SM computing core resources are available, the corresponding SM resource usage table information and thread block resource usage table information are updated, and the thread block allocation module is started to allocate a new thread block to the SM computing core.

7. The on-chip resource management system for GPGPU according to claim 6, characterized in that: If there is a thread block suspended due to resource exception before the computing core with available resources, the thread block suspended due to resource exception will be started first.

8. The on-chip resource management system for GPGPU according to claim 1, characterized in that: It also includes a storage resource management module, which maintains an address space as a shared node. The address space spans all L2 caches. When an L2 cache needs to access data, the shared node first checks other on-chip resources in the address space. If it finds that the required data has been cached, it directly supplies the data.

9. The on-chip resource management system for GPGPU according to claim 8, characterized in that: When the L2 cache sends a read data request to the shared node, the shared node first performs an address mapping query to check whether the requested data has been cached in other L2 caches. If the data exists in other L2 caches, the data migration between L2 caches is completed, the data is read from the data target L2 cache, sent to the data request L2 cache, and the relevant data information of the shared node is updated; If the data does not exist in other L2 caches, the read data information is sent to the external memory through the DDR controller. The response data obtained from the external memory is sent to the corresponding L2 cache and the corresponding shared node information is updated at the same time.

10. The on-chip resource management system for GPGPU according to claim 8, characterized in that: When the L2 cache sends a write data request to the shared node, while sending data write information to the external memory through the DDR controller, it performs an address mapping query to check whether the requested data has been cached in other L2 caches. If the data exists in other L2 caches, it also writes the cached data into the target L2 cache according to the data write information. If the data does not exist in other L2 caches, no subsequent action is taken.

Citation Information

Cited By

  • Effective SM division strategy based on kernel on-chip storage resource request

    CN119847748A