C++ User interface for the Platform independent Library Alpaka 🔃
Clone or download
psychocoderHPC release version 0.1.0
- remove version label
- update release data in CHANGELOG.md
Latest commit 73fb269 Jun 10, 2018

README.md

cupla - C++ User interface for the Platform independent Library Alpaka

Build Status dev

cupla [qχɑpˈlɑʔ] is a simple user interface for the platform independent parallel kernel acceleration library alpaka. It follows a similar concept as the NVIDIA® CUDA® API by providing a software layer to manage accelerator devices. alpaka is used as backend for cupla.

Please keep in mind that a first, "find & replace" port from CUDA to cupla(x86) will result in rather bad performance. In order to reach decent performance on x86 systems you just need to add the alpaka element level to your kernels.

(Read as: add some tiling to your CUDA kernels by letting the same thread compute a fixed number of elements (N=4..16) instead of just computing one element per thread. Also, make the number of elements in your tiling a compile-time constant and your CUDA code (N=1) will just stay with the very same performance while adding single-source performance portability for, e.g., x86 targets).

Software License

cupla is licensed under LGPLv3 or later.

For more information see LICENSE.md.

Dependencies

  • cmake 3.7.0
  • alpaka
    • is loaded as git submodule within cupla (see INSTALL.md)
    • for more information please read README.md

Usage

  • See our notes in INSTALL.md.
  • Checkout the guide how to port your project.
  • Checkout the tuning guide for a step further to performance portable code.

Authors

Maintainers and core developers

  • Rene Widera

Former Members, Contributions and Thanks

  • Axel Huebl
  • Dr. Michael Bussmann

Trademarks Disclaimer

All product names and trademarks are the property of their respective owners. CUDA® is a trademark of the NVIDIA Corporation.