O'Reilly logo

High Performance Parallelism Pearls Volume Two by James Reinders, Jim Jeffers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14

High Performance Python Offloading

Jussi Enkovaara*; Michael Klemm; Freddie Witherden    * CSC, Finland Intel Corporation, Germany Imperial College of London, United Kingdom

Abstract

This chapter shows how to utilize the compute power of the Intel Xeon Phi coprocessor from Python HPC applications. The pyMIC module provides an easy-to-use, flexible way to offload application kernels to the coprocessor by supporting a streaming interface for asynchronous data transfers and kernel execution. The two example applications, GPAW and PyFR, show how pyMIC can be employed in application scenarios that have differing needs.

Keywords

Python

OpenMP

Offload

Quantum physics

CFD

Simulations

Acknowledgments

The work on GPAW is supported by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required