an array api for fdm intro
play

An Array API for FDM Intro Move towards ultrascale computing - PowerPoint PPT Presentation

An Array API for FDM Intro Move towards ultrascale computing Uniform mapping Hierarchical memory (Processor -> Core LM, Accelerator LM, Core SM, Accelerator/Processor SM) Message Passing and Partitioned Global Address Space


  1. An Array API for FDM

  2. Intro • Move towards ultrascale computing • Uniform mapping • Hierarchical memory • (Processor -> Core LM, Accelerator LM, Core SM, Accelerator/Processor SM) • Message Passing and Partitioned Global Address Space • CUDA and Hybrid models • Problem with porting

  3. Array API • Linear indices -> Hierarchical memory • Don’t have to rely on compilers • Problem space -> Linear Array • Reusable (generics) • Collective operations

  4. Burgers equation (Finite difference method)

  5. In 3D

  6. In 3D

  7. In Code

  8. Multiarray API

  9. Multiarray API

  10. Multiarray API

  11. Multiarray API

  12. Linear array API

  13. Linear array API

  14. Multiarray Library

  15. Multiarray Library

  16. Implementations • CPU C++ • C++ arrays • Cuda • Linear structure on device • CudaBuffer • Buffer created at start

  17. Runtime results

  18. Runtime results

Recommend


More recommend