How to employ something such as openMP in Cython?

后端 未结 5 722
攒了一身酷
攒了一身酷 2021-01-02 21:46

Basically I have a problem that is pretty much embrassing parallel and I think I\'ve hit the limits of how fast I can make it with plain python & multiprocessing so I\'m

5条回答
  •  孤街浪徒
    2021-01-02 22:09

    If somebody stumbles over this question:

    Now, there is direct support for OpenMP in cython via the cython.parallel module, see http://docs.cython.org/src/userguide/parallelism.html

提交回复
热议问题