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.
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
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?
Very good presentation!
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.
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
Will this work with the GPU version of Julia, the same as it does with the CPUs?
best feature!
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?
call @async executes within the thread that called it.