Vector Read-Write Scheduler for Conflict Resolution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional graphics processors face inefficiencies in handling vector operations due to read-after-write and write-after-read conflicts, which increase overhead and require additional registers, limiting the performance of vector operations in machine learning, image processing, and graph computation.

Innovation Solution

A data read-write scheduler and reservation station are introduced, featuring instruction caches, preprocessing modules, and control modules that dynamically manage vector read and write instructions to detect and resolve conflicts, allowing out-of-order execution and efficient data access between on-chip and off-chip RAM.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional graphics processors use general-purpose SIMD instructions with additional registers to support vector operations, then vector operations can be performed, but the overhead for front-end encoding increases and the number of instructions required increases

Engineering Contradiction:
Improvevector operation supportVSAvoidfront-end encoding overhead
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The processor is divided into specialized functional units: a vector read-write scheduler, a reservation station for vector operations, and dedicated conflict detection modules. This segmentation allows vector operations to be handled by specialized hardware rather than general-purpose SIMD units, reducing the encoding overhead and instruction count while maintaining versatility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A reservation station is introduced as an intermediary component between the instruction fetch unit and the execution units. This reservation station buffers and manages vector instructions, allowing for more efficient scheduling and execution without increasing front-end encoding complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If more register groups are used to record information for processing read-after-write and write-after-read conflicts, then conflict processing capability is improved, but the overhead for vector operations greatly increases

Engineering Contradiction:
Improveconflict processing capabilityVSAvoidoverhead for vector operations
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The conflict detection and resolution functionality is extracted from the general register file and placed into a dedicated read-write scheduler and reservation station. This extraction allows conflict processing to be handled by specialized hardware that does not require additional general-purpose register groups, thereby improving reliability without significantly increasing overall overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The reservation station serves multiple functions: it buffers vector instructions, detects read-after-write and write-after-read conflicts, schedules instruction execution, and manages data dependencies. This multi-functionality eliminates the need for separate dedicated hardware for each function, reducing the overall overhead while maintaining comprehensive conflict processing capability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If a great number of instructions are required for vector operations with limited computing components, then vector operations can be performed, but the overhead for front-end encoding is increased

Engineering Contradiction:
Improvevector operation throughputVSAvoidfront-end encoding overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The read-write scheduler performs preliminary scheduling and conflict detection before instructions are dispatched to execution units. By resolving dependencies and scheduling instructions in advance, the system can maintain a steady stream of ready-to-execute instructions, improving throughput without requiring an excessive number of front-end encoding operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The reservation station maintains a continuous supply of scheduled vector instructions to the execution units by buffering incoming instructions and releasing them in the optimal execution order. This continuity ensures that computing components are constantly utilized without idle cycles, improving productivity while the scheduler manages instruction flow efficiently without excessive encoding overhead.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS10521228B2Data read-write scheduler and reservation station for vector operations
Publication Date: 2019.12.31 CAMBRICON TECH CO LTD
  • US10521228B2 patent drawing
  • US10521228B2 patent drawing
  • US10521228B2 patent drawing

AI summary

The present disclosure provides a data read-write scheduler and a reservation station for vector operations. The data read-write scheduler suspends the instruction execution by providing a read instruction cache module and a write instruction cache module and detecting conflict instructions based on the two modules. After the time is satisfied, instructions are re-executed, thereby solving the read-after-write conflict and the write-after-read conflict between instructions and guaranteeing that correct data are provided to a vector operations component. Therefore, the subject disclosure has more values for promotion and application.