Skip to content

Added for_each_index_nested ( do not merge yet )#329

Open
bradphelan wants to merge 1 commit into
taskflow:masterfrom
bradphelan:nested_loop
Open

Added for_each_index_nested ( do not merge yet )#329
bradphelan wants to merge 1 commit into
taskflow:masterfrom
bradphelan:nested_loop

Conversation

@bradphelan

Copy link
Copy Markdown
Contributor

Pull request for #328

I've added in for_each_index_nested however I cannot get the the test case to work. Have a look at the test case in

unittests/algorithm.cpp

if I use just for_each_index then the test case passes. If I use the implementation of for_each_index_nested as you reviewed yesterday then there is an error. Would you please have a look at and see what the problem may be.

@XGZepto

XGZepto commented Feb 26, 2024

Copy link
Copy Markdown

Hi Brad,
came across this PR since it would be super helpful for the project I'm working out. I'll take a look at your code but do let us know if there's any update from your side since the PR was opened almost 3 years ago. Cheers.

@bradphelan

Copy link
Copy Markdown
Contributor Author

No we never updated this

@avilleret

Copy link
Copy Markdown

it seems this PR has never been reviewed while it contains useful improvement
Maybe @tsung-wei-huang could have a look ?

@tsung-wei-huang

tsung-wei-huang commented Apr 7, 2026

Copy link
Copy Markdown
Member

The prospective v4.1 branch (current main) introduces a new N-dimensional IndexRange-based parallel algorithm that allow parallelization over a nested loop. See here - still experimental but features mostly complete.

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.

4 participants