How to use parallelism in Cython code: Introduction

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 3

  • @falsch828
    @falsch828 18 днів тому

    Why do you use the nogil in the non parallel version?

  • @bl4106
    @bl4106 5 місяців тому +1

    would love to see how to make cython parallelism work on numpy arrays!

    • @InfoWorld
      @InfoWorld  5 місяців тому

      That would indeed make a great follow-up video! I have an example in the works that could be retooled to work this way. (It should be possible to just get a raw pointer to the array and use that, but some details about how to integrate specifically with NumPy would probably help everyone.)
      -Serdar