O'Reilly logo

Learning Cython Programming by Philip Herron

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

OpenMP support

OpenMP is a standard API in shared-memory parallel computing for languages; it's used in several open source projects such as Image Magick (http://www.imagemagick.org/) to try and speed up processing on large image manipulations. Cython has some support for this compiler extension. But you must be aware that you need to use compilers such as GCC or MSVC, which support OpenMP; Clang/LLVM has no OpenMP support yet. This isn't really a place to explain when and why to use OpenMP since it is really a vast subject, but you should check out the following link:

http://docs.cython.org/src/userguide/parallelism.html

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