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

Reduce Status objects in parallel functions #1761

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

joe-maley
Copy link
Contributor

Currently, we return a vector in the parallel_for/parallel_for_2d
routines. The return vector contains a status for each invocation of the
function. This can be 100,000+ objects. This patch modifies the routines to
only return the first failed status.

Currently, we return a vector<Status> in the parallel_for/parallel_for_2d
routines. The return vector contains a status for each invocation of the
function. This can be 100,000+ objects. This patch modifies the routines to
only return the first failed status.
@joe-maley joe-maley merged commit 4878ae6 into dev Aug 10, 2020
@joe-maley joe-maley deleted the jpm/reduce-parallel-fn-status-objs branch August 10, 2020 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants