Exploring the vectorization of python constructs using pythran and boost SIMD

  • Authors:
  • Serge Guelton;Joël Falcou;Pierrick Brunet

  • Affiliations:
  • QuarksLab, Télécom Bretagne, Paris, France;Université Paris-Sud, Paris, France;INRIA, Grenoble, France

  • Venue:
  • Proceedings of the 2014 Workshop on Programming models for SIMD/Vector processing
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Python language is highly dynamic, most notably due to late binding. As a consequence, programs using Python typically run an order of magnitude slower than their C counterpart. It is also a high level language whose semantic can be made more static without much change from a user point of view in the case of mathematical applications. In that case, the language provides several vectorization opportunities that are studied in this paper, and evaluated in the context of Pythran, an ahead-of-time compiler that turns Python module into C++ meta-programs.