Skip to content

Commit

Permalink
Merge pull request #2 from IntelPython/samaid-patch-context
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
samaid authored Mar 6, 2023
2 parents 115bdaf + 746bac2 commit befc30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _repopulate_pool(self):

base_id = len(self._pool);
for i in range(self._processes - len(self._pool)):
w = self.Process(target=affinity_worker35,
w = self.Process(self._ctx, target=affinity_worker35,
args=(self._inqueue, self._outqueue,
self._initializer,
self._initargs, self._maxtasksperchild,
Expand Down

0 comments on commit befc30e

Please sign in to comment.