November 2015
Intermediate to advanced
206 pages
6h 14m
English
B.R. Gaster*; L. Howes†; D. Hower‡ * University of the West of England, Bristol, UK† Qualcomm, Santa Clara, CA, USA‡ Qualcomm, Raleigh-Durham, NC, USA
In this chapter, we introduce and demonstrate the use of HSA queues, including both device queues and soft queues. Device queues allow the HSA developer to interact with HSA devices, for example a GPU, and soft queues allow HSA programs and non-HSA devices to provide software abstractions that implement the same queuing interface as HSA devices implement. We follow with a description of the Architected Queuing Language, which provides a protocol for communicating with each type of device via the corresponding queues, and we show how to use the interface ...