Skip to content

Conversation

@oleksandr-pavlyk
Copy link
Contributor

This PR fixes the implementation to run on Windows following excellent article from super-fast-python.

It also updates README.md document to identify which script to run to solve which problem, and provide
sample outputs.

On Windows one needs to use multiprocessing.Manager to create
the barrier to be shared across workers, and passed to worker
initialization routine as argument.

Also passed batch_size to routines as keyword argument, and in
parallel_mc.py passed mc_worker_func to worker initialization
routine as keyword argument, which assigns to process-global
variable for reuse by subsequent MC computation tasks.
@oleksandr-pavlyk oleksandr-pavlyk requested a review from samaid March 22, 2023 16:06
@samaid
Copy link
Contributor

samaid commented Mar 22, 2023

Very nice! I saw this paper too

@samaid samaid merged commit d1dd3ba into master Mar 22, 2023
@oleksandr-pavlyk oleksandr-pavlyk deleted the example-work branch September 5, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants