首页> 外国专利> APPARATUS AND METHOD FOR MEMORY-HIERARCHY AWARE PRODUCER-CONSUMER INSTRUCTION

APPARATUS AND METHOD FOR MEMORY-HIERARCHY AWARE PRODUCER-CONSUMER INSTRUCTION

机译:存储器层次结构生产者-消费者指令的装置和方法

摘要

An apparatus and method are described for efficiently transferring data from a core of a central processing unit (CPU) to a graphics processing unit (GPU). For example, one embodiment of a method comprises: writing data to a buffer within the core of the CPU until a designated amount of data has been written; upon detecting that the designated amount of data has been written, responsively generating an eviction cycle, the eviction cycle causing the data to be transferred from the buffer to a cache accessible by both the core and the GPU; setting an indication to indicate to the GPU that data is available in the cache; and upon the GPU detecting the indication, providing the data to the GPU from the cache upon receipt of a read signal from the GPU.
机译:描述了用于有效地将数据从中央处理单元(CPU)的核心传输到图形处理单元(GPU)的设备和方法。例如,一种方法的一个实施例包括:将数据写到CPU内核内的缓冲器中,直到已经写入了指定数量的数据为止;在检测到已写入指定数量的数据后,响应地产生逐出周期,该逐出周期使数据从缓冲器传输到内核和GPU均可访问的高速缓存;设置指示以向GPU指示高速缓存中可用的数据;当GPU检测到该指示时,在接收到来自GPU的读取信号后,将数据从高速缓存提供给GPU。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号