Logo PTI
Polish Information Processing Society
Logo FedCSIS

Annals of Computer Science and Information Systems, Volume 11

Proceedings of the 2017 Federated Conference on Computer Science and Information Systems

Towards Programmable Address Spaces

,

DOI: http://dx.doi.org/10.15439/2017F217

Citation: Proceedings of the 2017 Federated Conference on Computer Science and Information Systems, M. Ganzha, L. Maciaszek, M. Paprzycki (eds). ACSIS, Vol. 11, pages 697700 ()

Full text

Abstract. High-performance computing increasingly makes use of heterogeneous many-core parallelism. Individual processor cores within such systems are radically simpler than their predecessors; and tasks previously the responsibility of hardware, are delegated to software. Rather than use a cache, fast on-chip memory, is exposed through a handful of address space annotations; associating pointers with discrete sections of memory, within trivially distinct programming languages. Our work aims to improve the programmability of address spaces by exposing new functionality within the LLVM compiler, and then the existing template metaprogramming system of C++. This is achieved firstly via a new LLVM attribute, ext\_address\_space which facilitates integration with the non-type template parameters of C++. We also present a type traits API which encapsulates the address space annotations, to allow execution on both conventional and extended C++ compilers; and illustrate its applicability to OpenCL 2.x.

References

  1. A. Munshi, “The opencl specification,” in Hot Chips 21 Symposium (HCS), 2009 IEEE. IEEE, 2009. http://dx.doi.org/10.1109/HOTCHIPS.2009.7478342 pp. 1–314. [Online]. Available: http://dx.doi.org/10.1109/HOTCHIPS.2009.7478342
  2. C. Nvidia, “Compute unified device architecture programming guide,” 2007.
  3. T. S. Sites, “Top500 lists,” 1993. [Online]. Available: https://www.top500.org/
  4. JTC1/SC22/WG14, “Programming languages - c - extensions to support embedded processors,” 2006. [Online]. Available: http://www.open-std.org/jtc1/sc22/wg14/
  5. Apple, “Metal,” 2014. [Online]. Available: https://developer.apple.com/metal/
  6. S. Wienke, P. Springer, C. Terboven, and D. an Mey, “Openacc - first experiences with real-world applications,” in European Conference on Parallel Processing. Springer, 2012. http://dx.doi.org/10.1007/978-3-642- 32820-6_85 pp. 859–870. [Online]. Available: http://dx.doi.org/10.1007/ 978-3-642-32820-6_85
  7. “clang: a c language family frontend for llvm.” [Online]. Available: http://clang.llvm.org/
  8. M. Harris, “Using shared memory in cuda c/c++,” 2013. [Online]. Available: https://devblogs.nvidia.com/parallelforall/using-shared-memory-cuda-cc/