ElectrimeDesign 6434 89831Promo.

HSA获得了HSAIL支持

Sept. 4, 2013
AMD’s Heterogeneous System Architecture (HSA) moves closer to reality with the HSA Intermediate Language (HSAIL) support.
Download this article in .PDF format
此文件类型包括适用时的高分辨率图形和原理图。

AMD’sHeterogeneous System Architecture (HSA) is the floorplan for its next generation of accelerated processing units (APUs), which combine the CPU and GPU into a common memory environment(see “Unified CPU/GPU Memory Architecture Raises The Performance Bar”)通过缓存相干的共享虚拟内存(CC-SVM)。原始APU组合CPU和GPU核心,但为每种类型的核心保持了不同的内存(see “APU Blends Quad Core x86 With 384-Core GPU”)

OpenCL 2.0地址CPU和GPU并行处理环境(see “OpenCL 2.0, OpenGL 4.4 Officially Released”)。通常,环境对GPU具有唯一的地址空间。该模型也用于一些基于FPGA的OpenCL环境(see “How To Put OpenCL Into An FPGA”), but HSA is different because it has a unified memory environment. The Heterogeneous System Architecture Intermediate Language (HSAIL) and associated design environment were developed to take advantage of HSA. Frameworks like OpenCL can generate HSAIL that can run on a virtual machine that targets CPU/GPU cores.

HSAIL divides work into a grid hierarchy(Fig. 1)。与OpenCL一样,程序员定义了可以在数据上并行运行的内核。大区别是HSAI基本上地图到基于HSA的虚拟机。HSA终结器类似于Java虚拟机(JVM)的JIT(即时)编译。

Figure 1. HSAIL divides work into a grid, work group, and work items.

The HSAIL virtual machine consists of at least one host CPU and an HSA component. The Architected Queue Language (AQL) links the two. The host generates and enqueues AQL packets. The packets incorporate kernels that are executed by the HSA component. A kernel defines a multidimensional cube-shaped grid with a work-group item per grid point. Jobs are dispatched as work groups. They require all data to be available.

AMD would like HSA to be a standard so HSAIL is open, but for now it will take advantage only of AMD’s HSA-based hardware. It may be wishful thinking that Intel would incorporate it, although an integrated CPU/GPU/memory environment has advantages and AMD and Intel have at least agreed upon the x86 instruction set. HSAIL could be applied to an ARM environment. It is interesting to note that ARM is one of the founding members of theHSA基金会along with AMD, Samsung, Qualcomm, MediaTek, Imagination, and Texas Instruments.

Another aspect of HSAIL and HSA is Java support(Fig. 2)。APARAPI(并行API)是Java支持并行编程环境的一种方法。它通常映射到OpenCL,但它可以针对HSAIL终结器。

Figure 2. APARAPI allows Java to utilize parallel processing infrastructures like HSAIL. Project Sumatra will provide a more flexible parallel programming environment.

APARAPI eventually may be replaced byOpenJDK’s项目苏门答腊省, which brings native parallel programming support to Java. Project Sumatra also could target HSAIL directly.Oracle.and AMD are involved with Project Sumatra, so this combination may wind up in production. Support is targeted for Java 9.

Developers can leverage the HSA architecture using the BOLT library from AMD. The C++ template library inspired BOLT, which also has been targeted at OpenCL and C++AMP.

OpenCL和Project Sumatra将仍然是程序员的主要编程环境,但HSA可以提供更好的基础架构。Unified Memory架构消除了不必要的复制操作,因为指针可以在CPU和GPU内核之间共享指针。该方法还具有较低的调度开销。

For now, AMD’s hardware will be driving HSAIL development and the software that runs on top of it. In the future, it could be much more.

赞助

2.5 v - 5.5 v输入,通透高效降压buck converter in SOT23 and SOT563 package

2.5 v - 5.5 v输入,通透高效降压buck converter in SOT23 and SOT563 package

Specification and Use of Muting Functions of Light Curtain

5月13日,2021年
Light curtains are a convenient and unobtrusive automation-safety component to guard machines and reduce accidents. In many cases, light curtains can…

使用集成FET降压转换器平衡简单性和灵活性

Because DC/DC step-down (buck) converters feature a controller with one or more integrated FETs and an external inductor, they offer a balance of fle…

Power Factor Correct Basics and Design Considerations

功率因数正确(PFC)基础知识和设计考虑因素。本系列讨论了PFC基础知识,拓扑比较,以及ACHI的设计考虑因素......

声音你的意见!

This site requires you to register or login to post a comment.
No comments have been added yet. Want to start the conversation?
Baidu