Skip to content

Commit

Permalink
Simpler wavelet implementation with vertical parallelism (#93)
Browse files Browse the repository at this point in the history
* replace old wavelet code with simplified 2D versions

* incorporate new wavelets and psi operator

---------

Co-authored-by: landmanbester <lbester@ska.ac.za>
  • Loading branch information
landmanbester and landmanbester authored Mar 15, 2024
1 parent 891d30c commit a545cfd
Show file tree
Hide file tree
Showing 15 changed files with 812 additions and 3,277 deletions.
2 changes: 1 addition & 1 deletion pfb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ def set_client(opts, stack, log, scheduler='distributed'):
os.environ["OPENBLAS_NUM_THREADS"] = str(opts.nvthreads)
os.environ["MKL_NUM_THREADS"] = str(opts.nvthreads)
os.environ["VECLIB_MAXIMUM_THREADS"] = str(opts.nvthreads)
os.environ["NUMBA_NUM_THREADS"] = str(opts.nvthreads)
import numexpr as ne
max_cores = ne.detect_number_of_cores()
# ne_threads = min(max_cores, opts.nvthreads)
os.environ["NUMEXPR_NUM_THREADS"] = str(max_cores)
os.environ["NUMBA_NUM_THREADS"] = str(max_cores)

import dask
if scheduler=='distributed':
Expand Down
Loading

0 comments on commit a545cfd

Please sign in to comment.