René's URL Explorer Experiment


Title: Attempt to make `BcastUntilActxArray` work for broadcastees that are containers by majosm · Pull Request #313 · inducer/arraycontext · GitHub

Open Graph Title: Attempt to make `BcastUntilActxArray` work for broadcastees that are containers by majosm · Pull Request #313 · inducer/arraycontext

X Title: Attempt to make `BcastUntilActxArray` work for broadcastees that are containers by majosm · Pull Request #313 · inducer/arraycontext

Description: In some mirgecom examples, dt can be a DOFArray. When using _compiled_lsrk45_step from grudge (which now uses BcastUntilActxArray for h, etc.), this causes dt to broadcast down to the array context arrays of the RHS container, leading to the creation of erroneous nested DOFArrays. So it looks like we need to tweak BcastUntilActxArray to handle the case of broadcastee being an array container. I took a stab at doing so here. I don't know if this is the right approach, but my hunch is that we should let the container's defined broadcasting behavior take over in this case (mainly because I feel like, e.g., bcast(Container()) + Container() ought to be equivalent to Container() + Container() and not do any kind of broadcasting inside). Thoughts @inducer, @alexfikl?

Open Graph Description: In some mirgecom examples, dt can be a DOFArray. When using _compiled_lsrk45_step from grudge (which now uses BcastUntilActxArray for h, etc.), this causes dt to broadcast down to the array context...

X Description: In some mirgecom examples, dt can be a DOFArray. When using _compiled_lsrk45_step from grudge (which now uses BcastUntilActxArray for h, etc.), this causes dt to broadcast down to the array context...

Opengraph URL: https://github.com/inducer/arraycontext/pull/313

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:63fa8e3a-c41a-8c5d-a5b6-3c51be700ad4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83D6:11597D:1009AFB:16B50D8:6A4F59AA
html-safe-nonce8c2a1bf503b896519a11ae9dc43fd90cf458e2381e033caade81363dab43f3a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Q2OjExNTk3RDoxMDA5QUZCOjE2QjUwRDg6NkE0RjU5QUEiLCJ2aXNpdG9yX2lkIjoiODEyOTIxODkxNTE0MDA2NTcwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac638756b9a8bea0b5551e80b9e64e1ab97e4f3e8cec5e01f019b535fbf628a5f9
hovercard-subject-tagpull_request:2449144217
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/inducer/arraycontext/pull/313/files
twitter:imagehttps://avatars.githubusercontent.com/u/7232918?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7232918?s=400&v=4
og:image:altIn some mirgecom examples, dt can be a DOFArray. When using _compiled_lsrk45_step from grudge (which now uses BcastUntilActxArray for h, etc.), this causes dt to broadcast down to the array context...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/inducer/arraycontext git https://github.com/inducer/arraycontext.git
octolytics-dimension-user_id352067
octolytics-dimension-user_logininducer
octolytics-dimension-repository_id364716587
octolytics-dimension-repository_nwoinducer/arraycontext
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id364716587
octolytics-dimension-repository_network_root_nwoinducer/arraycontext
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/inducer/arraycontext/pull/313/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Finducer%2Farraycontext%2Fpull%2F313%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Finducer%2Farraycontext%2Fpull%2F313%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=inducer%2Farraycontext
Reloadhttps://github.com/inducer/arraycontext/pull/313/files
Reloadhttps://github.com/inducer/arraycontext/pull/313/files
Reloadhttps://github.com/inducer/arraycontext/pull/313/files
inducer https://github.com/inducer
arraycontexthttps://github.com/inducer/arraycontext
Notifications https://github.com/login?return_to=%2Finducer%2Farraycontext
Fork 11 https://github.com/login?return_to=%2Finducer%2Farraycontext
Star 9 https://github.com/login?return_to=%2Finducer%2Farraycontext
Code https://github.com/inducer/arraycontext
Issues 23 https://github.com/inducer/arraycontext/issues
Pull requests 20 https://github.com/inducer/arraycontext/pulls
Actions https://github.com/inducer/arraycontext/actions
Projects https://github.com/inducer/arraycontext/projects
Security and quality 0 https://github.com/inducer/arraycontext/security
Insights https://github.com/inducer/arraycontext/pulse
Code https://github.com/inducer/arraycontext
Issues https://github.com/inducer/arraycontext/issues
Pull requests https://github.com/inducer/arraycontext/pulls
Actions https://github.com/inducer/arraycontext/actions
Projects https://github.com/inducer/arraycontext/projects
Security and quality https://github.com/inducer/arraycontext/security
Insights https://github.com/inducer/arraycontext/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Finducer%2Farraycontext%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Finducer%2Farraycontext%2Fissues%2Fnew%2Fchoose
majosmhttps://github.com/majosm
inducer:mainhttps://github.com/inducer/arraycontext/tree/main
majosm:bcast-until-actx-array-with-containerhttps://github.com/majosm/arraycontext/tree/bcast-until-actx-array-with-container
Conversation 2 https://github.com/inducer/arraycontext/pull/313
Commits 1 https://github.com/inducer/arraycontext/pull/313/commits
Checks 0 https://github.com/inducer/arraycontext/pull/313/checks
Files changed https://github.com/inducer/arraycontext/pull/313/files
Please reload this pagehttps://github.com/inducer/arraycontext/pull/313/files
Attempt to make BcastUntilActxArray work for broadcastees that are containers https://github.com/inducer/arraycontext/pull/313/files#top
Show all changes 1 commit https://github.com/inducer/arraycontext/pull/313/files
0b879b9 attempt to make BcastUntilActxArray work for broadcastees that are co… majosm Apr 9, 2025 https://github.com/inducer/arraycontext/pull/313/commits/0b879b904a93f5cc9c8929a57dd151e14018d663
Clear filters https://github.com/inducer/arraycontext/pull/313/files
Please reload this pagehttps://github.com/inducer/arraycontext/pull/313/files
Please reload this pagehttps://github.com/inducer/arraycontext/pull/313/files
arithmetic.py https://github.com/inducer/arraycontext/pull/313/files#diff-44926777c7c03c5ed7cf8ee153e05171d8cb6483e4f17136338ae8873b8f0fe2
test_arraycontext.py https://github.com/inducer/arraycontext/pull/313/files#diff-6842f3447c679fc0d05c1403800538cb556d492d2f6f3dfcf4f48cf4a2509873
testlib.py https://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
arraycontext/container/arithmetic.pyhttps://github.com/inducer/arraycontext/pull/313/files#diff-44926777c7c03c5ed7cf8ee153e05171d8cb6483e4f17136338ae8873b8f0fe2
View file https://github.com/inducer/arraycontext/blob/0b879b904a93f5cc9c8929a57dd151e14018d663/arraycontext/container/arithmetic.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/inducer/arraycontext/pull/313/{{ revealButtonHref }}
https://github.com/inducer/arraycontext/pull/313/files#diff-44926777c7c03c5ed7cf8ee153e05171d8cb6483e4f17136338ae8873b8f0fe2
https://github.com/inducer/arraycontext/pull/313/files#diff-44926777c7c03c5ed7cf8ee153e05171d8cb6483e4f17136338ae8873b8f0fe2
https://github.com/inducer/arraycontext/pull/313/files#diff-44926777c7c03c5ed7cf8ee153e05171d8cb6483e4f17136338ae8873b8f0fe2
test/test_arraycontext.pyhttps://github.com/inducer/arraycontext/pull/313/files#diff-6842f3447c679fc0d05c1403800538cb556d492d2f6f3dfcf4f48cf4a2509873
View file https://github.com/inducer/arraycontext/blob/0b879b904a93f5cc9c8929a57dd151e14018d663/test/test_arraycontext.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/inducer/arraycontext/pull/313/{{ revealButtonHref }}
https://github.com/inducer/arraycontext/pull/313/files#diff-6842f3447c679fc0d05c1403800538cb556d492d2f6f3dfcf4f48cf4a2509873
https://github.com/inducer/arraycontext/pull/313/files#diff-6842f3447c679fc0d05c1403800538cb556d492d2f6f3dfcf4f48cf4a2509873
test/testlib.pyhttps://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
View file https://github.com/inducer/arraycontext/blob/0b879b904a93f5cc9c8929a57dd151e14018d663/test/testlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/inducer/arraycontext/pull/313/{{ revealButtonHref }}
https://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
https://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
https://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
https://github.com/inducer/arraycontext/pull/313/files#diff-7b4bf8f74cb8a58e4e197a93d8f0e6002b1617f6c1b77aa9cc6d1985782a7aa4
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.