04-04-2023 дата публикации
Номер: CN115905040A
Принадлежит:
The invention provides a counter processing method, a graphics processor, equipment and a storage medium. Relates to the technical field of computers. The method comprises the steps that when atomic operation of a target counter is triggered, whether the target counter exists in a cache or not is judged; if the target counter does not exist in the cache, determining a target counter address according to a target counter identifier and counter address starting information; in a memory, obtaining the target counter according to the target counter address; and executing the atomic operation on the target counter. The memory storage space is far larger than the cache storage space, so that the memory can support the storage of a large number of hidden counters, and meanwhile, the target counter address of the target counter in the memory can be determined through the target counter identifier stored in the cache and the initial information of the counter address. Therefore, the graphics processor ...
Подробнее