PIM Controller Segmentation for AI Model Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing processing-in-memory (PIM) architectures face challenges in achieving optimal performance due to increased communication overhead between memory and the host processor, and difficulties in performing non-linear function (NLF) operations directly in PIM.
Innovation Solution
An electronic device is designed with a PIM controller that classifies operations between PIM operations and NLF operations, performs NLF operations itself, and generates PIM requests for PIM operations, thereby offloading tasks from the host processor and reducing communication overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If PIM architecture is used to accelerate AI model execution, then execution speed is improved, but communication overhead between memory and host processor increases
Solution Approach 1:
The patent merges the PIM controller with the memory controller into a single integrated unit. This integration eliminates the need for separate communication interfaces and control logic, thereby reducing communication overhead and energy consumption while maintaining accelerated AI model execution through PIM operations.
Solution Approach 2:
The integrated controller performs multiple functions: it manages both standard memory operations and PIM-specific operations, classifies different operation types (PIM operations versus NLF operations), and generates appropriate control signals. This multi-functionality reduces the need for separate dedicated controllers, minimizing communication overhead.
2Productivity
If more operations are performed in PIM, then host processor workload is reduced, but PIM area requirements increase
Solution Approach 1:
The patent segments operations into two categories: PIM operations that can be executed directly in the memory device, and NLF (non-linear function) operations that require the host processor. This segmentation allows the PIM to handle straightforward computational tasks locally, improving host processor throughput without requiring the PIM to accommodate all possible operation types, thus controlling PIM area requirements.
Solution Approach 2:
The integrated memory controller acts as an intermediary that classifies incoming operations and routes them appropriately. It identifies which operations can be performed in PIM and which require NLF processing by the host processor, enabling efficient task distribution without overloading the PIM with operations it cannot efficiently handle, thereby optimizing the balance between productivity and PIM area.
3Loss of energy
If PIM performs all operations, then communication with host processor is minimized, but operations requiring NLF cannot be executed
Solution Approach 1:
The system dynamically adapts its operation execution strategy based on the type of operation requested. The integrated controller classifies each operation in real-time, determining whether it should be executed as a PIM operation or an NLF operation. This dynamic classification allows the system to minimize communication energy for suitable operations while maintaining the ability to handle diverse operation types including NLF operations that require host processor involvement.
Data Source
AI summary
An electronic device includes a processing-in-memory (PIM) controller and PIM configured to perform a PIM operation in response to a PIM request generated by the PIM controller. The PIM controller is configured to perform a non-linear function (NLF) operation among a plurality of requested operations, generate a PIM request for the PIM operation, and transmit the PIM request to the PIM.


