Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE. Wip/get thread id schedules #6674

Closed

Commits on Jul 22, 2020

  1. Configuration menu
    Copy the full SHA
    29eaed6 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. Flake8 fixes.

    DrTodd13 committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    861e23d View commit details
    Browse the repository at this point in the history
  2. Flake8 fixes.

    DrTodd13 committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    52ef533 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Configuration menu
    Copy the full SHA
    65d0806 View commit details
    Browse the repository at this point in the history
  2. Put the chunksize from the with context argument into a variable befo…

    …re calling set_parallel_chunksize.
    DrTodd13 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    ea4c36f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9975c13 View commit details
    Browse the repository at this point in the history
  4. Before calling the gufunc of an outlined parfor, 1) get current chunk…

    …size, 2) set chunksize back to the default of 0 and then after the gufunc returns, restore the chunksize back to the previously saved value. This way, the current thread gets its default chunksize behavior inside the parallel region but goes back to its previous value when the region is over.
    DrTodd13 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    a9dce49 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    41d75c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. Configuration menu
    Copy the full SHA
    eb2ad38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0596204 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1ca9e4 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Update docs/source/user/parallel.rst

    Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
    DrTodd13 and stuartarchibald committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    ff2c105 View commit details
    Browse the repository at this point in the history
  2. Update docs/source/user/parallel.rst

    Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
    DrTodd13 and stuartarchibald committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    b5ddb2b View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Updates to chunksize documentation.

    More details on how actual chunksize can differ from specification.
    Moved code examples in docs to tests/doc_examples/test_parallel_chunksize.py.
    Export (g,s)et_parallel_chunksize from numba.np.ufunc.
    Fix withcontext parallel_chunksize doc string.
    Change set_parallel_chunksize to return previous chunk size.
    Use that return value to remove need for get_parallel_chunksize in some places.
    Raise exception if negative value to set_parallel_chunksize.
    DrTodd13 committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ab9d622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfee058 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. Improve _get_thread_id and make the schedule accessible.

    This:
    
    * Makes `_get_thread_id()` return enumerated threads ids from
      0..mask.
    * Makes it possible to obtain the parfors schedule from within a
      parallel region.
    * Implements broadcasting of schedule info across all threads
      for convenience.
    stuartarchibald committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    35d2b10 View commit details
    Browse the repository at this point in the history