Simplification of capture mode usages in submit
/ parallel_for
calls
#1959
dev/skopienko/fix_captures_in_submits% was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.