René's URL Explorer Experiment


Title: How to `parallel_reduce` a C++ map key or value? · Issue #2399 · oneapi-src/oneAPI-samples · GitHub

Open Graph Title: How to `parallel_reduce` a C++ map key or value? · Issue #2399 · oneapi-src/oneAPI-samples

X Title: How to `parallel_reduce` a C++ map key or value? · Issue #2399 · oneapi-src/oneAPI-samples

Description: I don't find it from google. How can I parallel_reduce either the key or value of a map? For example: map counts; size_t count = parallel_reduce( blocked_range>(0, counts.size()), 0, [&](tbb::blocked_range

Open Graph Description: I don't find it from google. How can I parallel_reduce either the key or value of a map? For example: map counts; size_t count = parallel_reduce( blocked_range>(0, counts...

X Description: I don't find it from google. How can I parallel_reduce either the key or value of a map? For example: map<T, size_t> counts; size_t count = parallel_reduce( blocked_range<pair<T, si...

Opengraph URL: https://github.com/oneapi-src/oneAPI-samples/issues/2399

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to `parallel_reduce` a C++ map key or value?","articleBody":"I don't find it from google. How can I `parallel_reduce` either the key or value of a map? For example:\r\n```\r\n       map\u003cT, size_t\u003e counts;\r\n\tsize_t count = parallel_reduce(\r\n\t\tblocked_range\u003cpair\u003cT, size_t\u003e\u003e(0, counts.size()), 0,\r\n\t\t[\u0026](tbb::blocked_range\u003cpair\u003cT, size_t\u003e\u003e const \u0026r, size_t running_total)\r\n\t\t{\r\n\t\t\tfor (auto it = r.begin(); it != r.end(); it++)\r\n\t\t\t\trunning_total += it-\u003esecond;\r\n\t\t\treturn running_total;\r\n\t\t},\r\n\t\tstd::plus\u003cpair\u003cT, size_t\u003e\u003e());\r\n```","author":{"url":"https://github.com/khteh","@type":"Person","name":"khteh"},"datePublished":"2024-07-25T09:01:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2399/oneAPI-samples/issues/2399"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:caadfeda-f8f7-8767-824c-5baa838fc373
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDAFE:12E2F2:22D9C9C:2CE332C:69928EEF
html-safe-nonce770adfbfb67a57caef6a22f656038062b008322c38bc984bce77f4cf55f851cb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUZFOjEyRTJGMjoyMkQ5QzlDOjJDRTMzMkM6Njk5MjhFRUYiLCJ2aXNpdG9yX2lkIjoiNzg1NTg4NDAzMTAxOTM1NTg4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc968eb93b0597ea26fdf8ee2d79ce069870c2a02693e78cd6a2d2326d7fafb1d
hovercard-subject-tagissue:2429426476
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/oneapi-src/oneAPI-samples/2399/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4db45b68ff0fe336cffbf9ebd480dbbe8ce95f9e21915eaeba54c7ae46bc8a4f/oneapi-src/oneAPI-samples/issues/2399
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4db45b68ff0fe336cffbf9ebd480dbbe8ce95f9e21915eaeba54c7ae46bc8a4f/oneapi-src/oneAPI-samples/issues/2399
og:image:altI don't find it from google. How can I parallel_reduce either the key or value of a map? For example: map counts; size_t count = parallel_reduce( blocked_range>(0, counts...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekhteh
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/oneapi-src/oneAPI-samples git https://github.com/oneapi-src/oneAPI-samples.git
octolytics-dimension-user_id60144784
octolytics-dimension-user_loginoneapi-src
octolytics-dimension-repository_id267223745
octolytics-dimension-repository_nwooneapi-src/oneAPI-samples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id267223745
octolytics-dimension-repository_network_root_nwooneapi-src/oneAPI-samples
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/oneapi-src/oneAPI-samples/issues/2399#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foneapi-src%2FoneAPI-samples%2Fissues%2F2399
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foneapi-src%2FoneAPI-samples%2Fissues%2F2399
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=oneapi-src%2FoneAPI-samples
Reloadhttps://github.com/oneapi-src/oneAPI-samples/issues/2399
Reloadhttps://github.com/oneapi-src/oneAPI-samples/issues/2399
Reloadhttps://github.com/oneapi-src/oneAPI-samples/issues/2399
oneapi-src https://github.com/oneapi-src
oneAPI-sampleshttps://github.com/oneapi-src/oneAPI-samples
Notifications https://github.com/login?return_to=%2Foneapi-src%2FoneAPI-samples
Fork 742 https://github.com/login?return_to=%2Foneapi-src%2FoneAPI-samples
Star 1.1k https://github.com/login?return_to=%2Foneapi-src%2FoneAPI-samples
Code https://github.com/oneapi-src/oneAPI-samples
Issues 60 https://github.com/oneapi-src/oneAPI-samples/issues
Pull requests 6 https://github.com/oneapi-src/oneAPI-samples/pulls
Discussions https://github.com/oneapi-src/oneAPI-samples/discussions
Actions https://github.com/oneapi-src/oneAPI-samples/actions
Projects 0 https://github.com/oneapi-src/oneAPI-samples/projects
Wiki https://github.com/oneapi-src/oneAPI-samples/wiki
Security 0 https://github.com/oneapi-src/oneAPI-samples/security
Insights https://github.com/oneapi-src/oneAPI-samples/pulse
Code https://github.com/oneapi-src/oneAPI-samples
Issues https://github.com/oneapi-src/oneAPI-samples/issues
Pull requests https://github.com/oneapi-src/oneAPI-samples/pulls
Discussions https://github.com/oneapi-src/oneAPI-samples/discussions
Actions https://github.com/oneapi-src/oneAPI-samples/actions
Projects https://github.com/oneapi-src/oneAPI-samples/projects
Wiki https://github.com/oneapi-src/oneAPI-samples/wiki
Security https://github.com/oneapi-src/oneAPI-samples/security
Insights https://github.com/oneapi-src/oneAPI-samples/pulse
New issuehttps://github.com/login?return_to=https://github.com/oneapi-src/oneAPI-samples/issues/2399
New issuehttps://github.com/login?return_to=https://github.com/oneapi-src/oneAPI-samples/issues/2399
How to parallel_reduce a C++ map key or value?https://github.com/oneapi-src/oneAPI-samples/issues/2399#top
questionFurther information is requestedhttps://github.com/oneapi-src/oneAPI-samples/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/khteh
https://github.com/khteh
khtehhttps://github.com/khteh
on Jul 25, 2024https://github.com/oneapi-src/oneAPI-samples/issues/2399#issue-2429426476
questionFurther information is requestedhttps://github.com/oneapi-src/oneAPI-samples/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.