Multi-threading in Julia With PARTR | Jameson Nash, Jeff Bezanson | JuliaCon 2019

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

КОМЕНТАРІ • 7

  • @dawwdd
    @dawwdd 5 років тому +5

    Very good presentation!

  • @benryw
    @benryw 5 років тому +2

    best feature!

  • @youcamp132
    @youcamp132 5 років тому +3

    Will this work with the GPU version of Julia, the same as it does with the CPUs?

  • @jonasschulze8097
    @jonasschulze8097 5 років тому +1

    When calling @async from a different thread, say from inside a @spawn-ed method, does the created task get scheduled onto the thread it was created on or onto the master thread?

    • @samuelokon8842
      @samuelokon8842 4 роки тому

      call @async executes within the thread that called it.

  • @toniferic-tech8733
    @toniferic-tech8733 4 роки тому

    12:35 The source code for the prime sieve does not seem to be runnable (i.e. the variable "numPrimes" should probably be a function argument). I would be interested to see a runnable Julia code for a multithreaded prime sieve.

    • @mouduge
      @mouduge 4 роки тому +4

      There were a few errors in this code. I managed to get a version to work here, in case you're interested:
      gist.github.com/ageron/38a4bb3af542b8b9bd4775649692a91d