Skip to content

Commit

Permalink
Remove duplicated thread-pool api
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Oct 25, 2023
1 parent c11f774 commit dd4f196
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
4 changes: 3 additions & 1 deletion python/kvikio/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def num_threads_reset(nthreads: int) -> None:
Parameters
----------
nthreads : int
The number of threads to use.
The number of threads to use. The default value can be specified by setting
the `KVIKIO_NTHREADS` environment variable. If not set, the default value
is 1.
"""
libkvikio.thread_pool_nthreads_reset(nthreads)

Expand Down
35 changes: 0 additions & 35 deletions python/kvikio/thread_pool.py

This file was deleted.

0 comments on commit dd4f196

Please sign in to comment.