用于神经网络处理器的数据处理方法、装置、计算机设备、存储介质及程序产品

By partitioning and transforming tensor data, the problem of tensor size misalignment in neural network processors is solved, achieving correctness and efficiency in data transmission and adapting to the complex scenarios of DDR memory interleaving processing.

CN122220257BActive Publication Date: 2026-07-17MOXIN ARTIFICIAL INTELLIGENCE TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-04-22
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

When processing tensor data, neural network processors struggle to meet the alignment requirements between tensor size and the granularity of the hardware storage system, leading to issues with the real-time performance and accuracy of data conversion, especially when data arrives out of order during interleaved processing in DDR memory.

Method used

By partitioning and transforming tensor data, the data length is ensured to be aligned with the hardware storage system. A streaming conversion buffer is used to handle the out-of-order data problem during DDR memory interleaving and relocation. Multiple DMAs are used for data transfer and to ensure order preservation.

Benefits of technology

It achieves correct data conversion and full-bandwidth transmission in complex scenarios, improves the flexibility and adaptability of data processing, and supports different address storage granularities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122220257B_ABST
    Figure CN122220257B_ABST
Patent Text Reader

Abstract

本公开提供了一种用于神经网络处理器的数据处理方法、装置、计算机设备、存储介质及程序产品,涉及计算机及人工智能技术领域,方法包括从第一存储器中获取与输入时钟周期对应的初始数据段;基于初始数据段的数据长度和单元划分长度,对初始数据段进行划分,以得到多个子数据段;基于目标数据长度,对每个子数据段的数据长度进行转换操作,以得到多个转换子数据段;将多个转换子数据段存储到第二存储器中;在转换操作之前,响应于确定单个子数据段被拆分成至少两个局部子数据段而被分配到至少两个内存直接访问各自进行搬运所对应的地址空间上,已被搬运的每个局部子数据段等待直至恢复单个子数据段,该方法能够实现不同地址存储粒度的对齐。
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Data transmission method based on remote direct memory access, computer equipment and medium

    CN120670364A

  • Space-depth conversion optimization with DMA and DPU executors

    WO2025065721A1