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

Better handling of prange with multiple reductions on the same variable. #4935

Merged
merged 5 commits into from
Dec 19, 2019

Commits on Dec 7, 2019

  1. Only process reduction statements post-gufunc execution until we see …

    …an assignment with a left-hand side to the reduction variable's name. This fixes problems with cases where there are multiple assignments to the reduction variable in the parfor.
    DrTodd13 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    948c4f1 View commit details
    Browse the repository at this point in the history
  2. Add test for issue4922, two instances of same reduction variable, and…

    … another test I thought of for where the same reduction variable is used twice but with different operators.
    DrTodd13 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    27cdaca View commit details
    Browse the repository at this point in the history
  3. Add a check to see if the same reduction variable is used in multiple…

    … reduction statements with different/conflicting operators.
    DrTodd13 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    eb5d541 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Fix up error class and test.

    As title.
    stuartarchibald committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    35cad33 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #66 from stuartarchibald/cont/pr4935

    Fix up error class and test.
    DrTodd13 committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    1a9fc4a View commit details
    Browse the repository at this point in the history