For example, one PPE-side mailbox register appears as a write-only physical memory location.
例如,一个ppe端的邮箱寄存器会作为一个只写的物理内存位置出现。
If a serious error occurs, for example, an invalid opcode, the SPU is stopped and an interrupt is delivered to the ppe.
如果发生了一个非常严重的错误,例如一个无效的操作码,那么SPU就会停止,并向PPE发送一个中断。
Only when a page fault is hit, for example, because the accessed page has been swapped out to disk, does the PPE receive an interrupt.
例如,只有在由于所访问的页面已经被交换到磁盘上而发生页面失效的情况时,PPE 才会接收到一个中断。
When the ppe wants to access the mailbox, it needs to have access to the memory-mapped register space, which is normally only available to kernel space.
当PPE希望访问邮箱时,它需要能够访问内存映射的寄存器空间,后者通常只对于内核空间来说是可用的。
The program will be very elementary — it will calculate the distance travelled given a speed in miles-per-hour and a time in hours. Here is the code for the ppe (enter as ppe_distance.c).
这个程序非常基本——它计算在给定速度(单位为每小时英里数)和时间(单位为小时)情况下的旅行距离。
Data does not need to be managed entirely by the PPE.
数据并不需要完全通过PPE进行管理。
Our trusty compiler, built for generating PPC Linux binaries for the PPE.
可信赖的编译器,用来为ppe生成ppcLinux二进制程序。
The PPE depends on the SPEs to provide the bulk of the application performance.
PPE 需要依赖SPE来提供主要的应用程序性能。
The mailboxes, even for the PPE, are named according to the perspective of the SPE.
邮箱(甚至那些用于PPE的邮箱)都是从 SPE 的角度定义的。
Note that there are two communications with the PPE in this code fragment, not one!
请注意在这段代码中与PPE之间有两次通信,而不是一个!
Unlike the SPE, the PPE does not stall and wait for a value when it reads or writes.
与SPE不同,PPE在读写时并不会停下来等待值的出现。
The most significant difference between the SPE and PPE lies in how they access memory.
SPE与PPE之间最显著的差别在于访问内存的方法。
The first type of processor element, the PPE, contains a 64-bit Power Architecture core.
第一类处理器元素PPE包含64位PowerArchitecture内核。
It actually requires that the main code be written so that the PPE manages the resources.
实际上,它要求编写主代码以便由PPE管理资源。
Other channels are used to access virtual memory associated with a user context on the PPE.
其他通道用来访问与PPE上的用户上下文关联在一起的虚拟内存。
This is done using mailboxes, special purpose registers available to the SPEs and to the PPE.
这是通过使用邮箱完成的,邮箱是SPE和PPE可以使用的一些专用寄存器。
This series begins with an overview of the API used to communicate between the PPE and the SPEs.
本系列文章首先对PPE和SPE之间进行通信使用的API进行概要介绍。
Notice that in both the PPE and the SPE the struct was aligned to 16 bytes and padded to 16 bytes.
注意在PPE和SPE 中,这个结构被对齐为16字节,并填充成 16 个字节。
If you are new to Cell be technology, remember that the PPE is the resource manager for the system.
如果您是新接触Cell BE技术,请记住PPE是系统的资源管理器。
You can get a patch to GCC to add a pipeline definition for the PPE so you can create optimized code.
您可以找到GCC的一个补丁,它用来添加ppe的流水线定义,这样就可以创建优化的代码。
As mentioned before, the main job of the PPE in the Cell be processor is to handle the input and output tasks.
正如前面介绍的一样,CellBE处理器中的PPE的主要任务是处理输入和输出任务。
This is a special tool that converts spe programs into an object file that can be linked into a PPE executable.
这是一个特殊工具,可以将SPE程序转换成一个能被链接进PPE可执行程序的对象文件。
I further tested this simple Pthread code on the PPE to see how it scales with an increasing number of threads.
我在PPE上进一步测试了这个简单的Pthread代码,以此了解随着线程数量的增加它的性能变化情况。
When the PPE writes a data word to that address, the SPU can read from its corresponding mailbox read channels.
当PPE将一个数据字写入这个地址时,SPU就可以从对应的邮箱读通道中读取这个数据字的内容。
A DMA request always involves moving data between the SPE local store and a virtual address space on the PPE side.
dma请求通常会涉及数据在SPE本地存储与ppe端虚拟地址空间之间进行移动。
Programs on the PPE divvy up tasks to the SPEs to accomplish, and then they feed data back and forth to each other.
PPE上的程序可以将任务分解到SPE上完成,然后相互传输数据。
Now I will look into PPE-controlled programs, and for that, I need to know how to get the PPE and the SPE to communicate.
现在,我要来看一下受ppe控制的程序,为此,我需要知道如何让PPE与SPE相互通信。
The PPE, although architecturally similar to other 64-bit PowerPC chips, isn't directly related to a specific product line.
尽管PPE从体系结构上来说与其他64位PowerPC芯片非常类似,但它与任何一条特定的生产线都没有任何直接的联系。
This type can be created from a file containing an SPE binary or embedded into a PPE program using the ppu-embedspu utility.
这个数据类型可以从一个包含spe二进制的文件中创建,或使用ppu - embedspu工具嵌入到PPE程序中。
The spu_mfcdma32 function takes a 32-bit value even though the target processor (the PPE) has a native 64-bit address space.
即使目标处理器(PPE)拥有64位的本地地址空间,spu_mfcdma32函数也会使用一个32位的值。
应用推荐