{"action":"created","issue":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/99","labels_url":"https://api.github.com/repos/kokkos/kokkos/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/kokkos/kokkos/issues/99/comments","events_url":"https://api.github.com/repos/kokkos/kokkos/issues/99/events","html_url":"https://github.com/kokkos/kokkos/issues/99","id":109535325,"number":99,"title":"Custom reduction join via lambda argument","user":{"login":"hcedwar","id":7605869,"avatar_url":"https://avatars.githubusercontent.com/u/7605869?v=3","gravatar_id":"","url":"https://api.github.com/users/hcedwar","html_url":"https://github.com/hcedwar","followers_url":"https://api.github.com/users/hcedwar/followers","following_url":"https://api.github.com/users/hcedwar/following{/other_user}","gists_url":"https://api.github.com/users/hcedwar/gists{/gist_id}","starred_url":"https://api.github.com/users/hcedwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcedwar/subscriptions","organizations_url":"https://api.github.com/users/hcedwar/orgs","repos_url":"https://api.github.com/users/hcedwar/repos","events_url":"https://api.github.com/users/hcedwar/events{/privacy}","received_events_url":"https://api.github.com/users/hcedwar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kokkos/kokkos/labels/Feature%20Request","name":"Feature Request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-02T17:28:13Z","updated_at":"2015-10-31T16:37:50Z","closed_at":null,"body":"E.g., parallel_reduce( Policy , base_lambda, join_lambda, return_value )"},"comment":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/comments/152747566","html_url":"https://github.com/kokkos/kokkos/issues/99#issuecomment-152747566","issue_url":"https://api.github.com/repos/kokkos/kokkos/issues/99","id":152747566,"user":{"login":"jeffamelang","id":99258,"avatar_url":"https://avatars.githubusercontent.com/u/99258?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffamelang","html_url":"https://github.com/jeffamelang","followers_url":"https://api.github.com/users/jeffamelang/followers","following_url":"https://api.github.com/users/jeffamelang/following{/other_user}","gists_url":"https://api.github.com/users/jeffamelang/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffamelang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffamelang/subscriptions","organizations_url":"https://api.github.com/users/jeffamelang/orgs","repos_url":"https://api.github.com/users/jeffamelang/repos","events_url":"https://api.github.com/users/jeffamelang/events{/privacy}","received_events_url":"https://api.github.com/users/jeffamelang/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T16:37:50Z","updated_at":"2015-10-31T16:37:50Z","body":"I would prefer the second version.  For the first version (and the currently-existing methods), the initial value of total_product is silently ignored.  Users who are familiar with openmp expect this initial value to be used.  For example, my students (to whom I'm just starting to talk about Kokkos right after OpenMP and TBB) were aghast to find that Kokkos ignored that value.  I see no benefit to ignoring the value, and it's more error-prone (in my opinion).  "}}