释义 |
SPE 基本例句 abbr.塑料工程师学会=Society of Petroleum Engineersabbr.专用设备=Special Purpose Equipment In particular, if you can simplify communication with the SPE, then you can focus your debugging effort on the actual calculations, which is a good thing. 具体来说,如果可以简化与 SPE的通信,就可能会着重将自己的调试努力放在实际的计算上,这是一件很好的事情。 ibm The mailboxes, even for the PPE, are named according to the perspective of the SPE. 邮箱甚至那些用于 PPE的邮箱都是从 SPE的角度定义的。 ibm The memory- mapped registers are used by the PPE to control certain aspects of an SPE, but are not accessible by the SPU code itself. 内存映射寄存器是由 PPE用来控制对 SPE的特定属性进行控制的,但是 SPU代码本身则不能对它进行访问。 ibm The most significant difference between the SPE and PPE lies in how they access memory. SPE与 PPE之间最显著的差别在于访问内存的方法。 ibm The two transmission steps do not involve the SPU at all, but only the MFC which is part of the larger SPE. 两个传输步骤根本没有涉及 SPU,只涉及 MFC这是比较大的 SPE的一部分。 ibm All of the data transfers will use the MFC's DMA facilities, controlled through SPE channels. 所有传递的数据都将使用 MFC的 DMA工具,由 SPE信道控制。 ibm Channels are used for all SPE input and output. 信道用于所有的 SPE输入和输出。 ibm Each SPE has256KB of local storage for both instructions and data. 每个 SPE对于指令和数据都有256KB的本地存储。 ibm Each SPE can communicate directly with main memory and furthermore, the SPEs can communicate directly with each other. 每个 SPE都可以直接与主存进行通信;另外, SPE还可以相互直接进行通信。 ibm Each SPE has full access to coherent shared memory, including the memory- mapped I/ O space. 每个 SPE都可以完全访问连续的共享内存,包括内存映射的 I/ O空间。 ibm For example, a mailbox mechanism is a basic communication method between the SPE and the PPE. 例如,邮箱机制就是 SPE和 PPE之间常用的一种基本通信方法。 ibm Instead of having multiple directly accessible arguments, you get a pointer into main memory and the SPE has to issue DMA requests to get the pointed-to data from main memory. 它没有使用多个可直接访问的参数,而是使用一个指向主存的指针, SPE需要发出 DMA请求来从主存中获取指针所指向的数据。 ibm It's not particularly efficient for a number of reasons, not the least of which is that running a task on only a single SPE and waiting for it to complete probably saves you no time at all. 由于很多原因,这并不是非常有效,其中的一个不算最次要的原因是:在一个 SPE上运行一个任务并等待任务执行完成,这种做法可能根本就不会节省时间。 ibm Next, you define the structure that will be used as the parameter to your SPE program. 接下来,定义结构,该结构将被用作到 SPE程序的参数。 ibm Once you get your software development team over the surprisingly gentle learning curve of understanding the SPE programming interface, you can develop the whole system using familiar tools. 一旦您带领自己的开发团队理解了 SPE编程接口非常容易理解之后,就可以使用我们熟悉的工具来开发整个系统了。 ibm Setup and tear down are handled automatically by the startup code linked in with the SPE program and by the library code running on the PPE; you can generally ignore them. 设置和销毁都是由链接到 SPE程序中的启动代码和在 PPE上运行的库代码自动进行处理的;通常您都可以忽略它们。 ibm So, take a look at how a simple program is constructed to perform processing tasks on the SPE. 因此,让我们来了解一下简单程序是如何构造来在 SPE上执行处理任务的。 ibm That variable is the handle to the program code, which will be used to create your SPE tasks. 那个变量就是到程序代码的句柄,用来创建 SPE任务。 ibm The second type of processor element, the SPE, is optimized for running compute-intensive SIMD applications; it is not optimized for running an operating system. 第二类处理器元素 SPE最适于运行计算密集型 SIMD应用程序;它不适合运行操作系统。 ibm The worst that can happen is a bus error or parameter mismatch, but the cause of such a problem may not be immediately obvious, so double- check declarations shared between PPE and SPE. 最糟糕的是总线错误或参数不匹配,但是这种问题可能不会马上表现出来,所以一定要仔细检查在 PPE和 SPE之间共享的声明。 ibm Therefore, to avoid branches I offload as much of the conditional work onto the SPE as possible. 因此,为了避免出现分支,我将尽可能多的有条件工作分载到 SPE中。 ibm This is a pointer to a structure which holds the data about the SPE program itself. 是持有有关 SPE程序本身的数据的结构的指针。 ibm This produces what is called a CESOF Linkable, which allows an object file for the SPE to be embedded in a PPE application and loaded as needed. 这就生成了 CESOF可链接项,它允许 SPE的对象文件嵌入到 PPE应用程序内并在需要时加载。 ibm This application is really simple, creating16 SPE threads. 这个应用程序非常简单,它只创建16 个 SPE线程。 ibm This is a special tool that converts SPE programs into an object file that can be linked into a PPE executable. 这是一个特殊工具,可以将 SPE程序转换成一个能被链接进 PPE可执行程序的对象文件。 ibm Unlike PPE assembly language, in SPE assembly language registers are always prefixed with a dollar sign. 与 PPE汇编语言不同, SPE汇编语言寄存器总是以美元符号开始。 ibm When you want to do unit tests on SPE code or algorithms or get timing information on them, this is probably enough. 当希望对 SPE代码或算法进行单元测试或获取有关它们的分时信息时,这可能就足够了。 ibm While it would be relatively easy to create a new GDB target for the SPU itself, most users need to debug interaction between PPE and SPE. 虽然为 SPU自己创建一个新的 GDB目标非常简单,但是大部分用户都需要对 PPE和 SPE之间的交互进行调试。 ibm SPE programs that need more than one argument will generally build a structure containing named members and pass that over to be used the way arguments normally would be. 需要多个参数的 SPE程序通常会构建一个包含指定成员的结构,并像通常使用参数那样来传递使用这个结构。 ibm SPE programs often do at least some of their own data transfer, however. 不过, SPE程序通常必须要有一些自己的数据转换工作。 ibm |