| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6000e92b-023b-445e-cda6-664e810399b0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A07A:225E33:18CA134:213AA95:6969AD97 |
| html-safe-nonce | 367a350ad65e98cfa3fa9198f3cc8326c121a783cee78f367d00aa01669fba11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDdBOjIyNUUzMzoxOENBMTM0OjIxM0FBOTU6Njk2OUFEOTciLCJ2aXNpdG9yX2lkIjoiNDY0NTM4NDc2NzM5MjAzNDE5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc22b863c5051df47cdbfa7af20f9ecd1a68330af0b2720e5a9c747b70ecc344 |
| hovercard-subject-tag | pull_request:82065569 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/arrayfire/arrayfire/1550/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d4e37a37193af48a9986377741d780c2bc713d83b8307081ab073e456892771e/arrayfire/arrayfire/pull/1550 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4e37a37193af48a9986377741d780c2bc713d83b8307081ab073e456892771e/arrayfire/arrayfire/pull/1550 |
| og:image:alt | As discussed in #1547 (comment), this patch is to optimize the algorithm for erode and dilate. Before this patch, the following code took about 110 seconds, while after the patch it takes about 4 s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vakopian |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 25889802 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 25889802 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/arrayfire/arrayfire/pull/1550#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F1550 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Farrayfire%2Farrayfire%2Fpull%2F1550 |
|
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=arrayfire%2Farrayfire |
| Reload | https://github.com/arrayfire/arrayfire/pull/1550 |
| Reload | https://github.com/arrayfire/arrayfire/pull/1550 |
| Reload | https://github.com/arrayfire/arrayfire/pull/1550 |
|
arrayfire
| https://github.com/arrayfire |
| arrayfire | https://github.com/arrayfire/arrayfire |
|
Notifications
| https://github.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Fork
549
| https://github.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Star
4.8k
| https://github.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Code
| https://github.com/arrayfire/arrayfire |
|
Issues
285
| https://github.com/arrayfire/arrayfire/issues |
|
Pull requests
18
| https://github.com/arrayfire/arrayfire/pulls |
|
Actions
| https://github.com/arrayfire/arrayfire/actions |
|
Projects
0
| https://github.com/arrayfire/arrayfire/projects |
|
Wiki
| https://github.com/arrayfire/arrayfire/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/arrayfire/arrayfire/security |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
|
Insights
| https://github.com/arrayfire/arrayfire/pulse |
|
Code
| https://github.com/arrayfire/arrayfire |
|
Issues
| https://github.com/arrayfire/arrayfire/issues |
|
Pull requests
| https://github.com/arrayfire/arrayfire/pulls |
|
Actions
| https://github.com/arrayfire/arrayfire/actions |
|
Projects
| https://github.com/arrayfire/arrayfire/projects |
|
Wiki
| https://github.com/arrayfire/arrayfire/wiki |
|
Security
| https://github.com/arrayfire/arrayfire/security |
|
Insights
| https://github.com/arrayfire/arrayfire/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/arrayfire/arrayfire/pull/1550#issue-comment-box |
| vakopian | https://github.com/vakopian |
| arrayfire:master | https://github.com/arrayfire/arrayfire/tree/master |
| vakopian:morph-optimization | https://github.com/vakopian/arrayfire/tree/morph-optimization |
|
optimize morph by pre-computing the mask linear offsets
| https://github.com/arrayfire/arrayfire/pull/1550#top |
| vakopian | https://github.com/vakopian |
| arrayfire:master | https://github.com/arrayfire/arrayfire/tree/master |
| vakopian:morph-optimization | https://github.com/vakopian/arrayfire/tree/morph-optimization |
|
Conversation
12
| https://github.com/arrayfire/arrayfire/pull/1550 |
|
Commits
3
| https://github.com/arrayfire/arrayfire/pull/1550/commits |
|
Checks
0
| https://github.com/arrayfire/arrayfire/pull/1550/checks |
|
Files changed
| https://github.com/arrayfire/arrayfire/pull/1550/files |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.co/hiddenchars |
| https://github.com/arrayfire/arrayfire/pull/{{ revealButtonHref }} |
|
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 20, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issue-172247509 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| #1547 (comment) | https://github.com/arrayfire/arrayfire/pull/1547#issuecomment-241145933 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| optimize morph by pre-computing the mask linear offsets | https://github.com/arrayfire/arrayfire/pull/1550/commits/40b5a8deda5132414e892979dedca31017ac3075 |
| 40b5a8d | https://github.com/arrayfire/arrayfire/pull/1550/commits/40b5a8deda5132414e892979dedca31017ac3075 |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 20, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#event-761971919 |
| need to pad the input array to be able to use mask offsets | https://github.com/arrayfire/arrayfire/pull/1550/commits/86c77c182dce321185dac6a483e2b4e9de2bb9ac |
| 86c77c1 | https://github.com/arrayfire/arrayfire/pull/1550/commits/86c77c182dce321185dac6a483e2b4e9de2bb9ac |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 20, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#event-762170736 |
| no need for eval | https://github.com/arrayfire/arrayfire/pull/1550/commits/be0f81750e618b5a448558e848ac6c0d875bce3f |
| be0f817 | https://github.com/arrayfire/arrayfire/pull/1550/commits/be0f81750e618b5a448558e848ac6c0d875bce3f |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 21, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241285924 |
| @vakopian | https://github.com/vakopian |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241491741 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241495315 |
| @vakopian | https://github.com/vakopian |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241507862 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241513811 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| @vakopian | https://github.com/vakopian |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241514224 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241516867 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241519989 |
| @vakopian | https://github.com/vakopian |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241542059 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/vakopian |
| vakopian | https://github.com/vakopian |
| Aug 22, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241585752 |
| @pavanky | https://github.com/pavanky |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| Sep 8, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#event-782836820 |
| https://github.com/shehzan10 |
| shehzan10 | https://github.com/shehzan10 |
| v3.4.2 | https://github.com/arrayfire/arrayfire/milestone/19 |
| v3.4.1 | https://github.com/arrayfire/arrayfire/milestone/18 |
| Oct 12, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#event-821092463 |
| https://github.com/shehzan10 |
| shehzan10 | https://github.com/shehzan10 |
| v3.5.0 | https://github.com/arrayfire/arrayfire/milestone/16 |
| v3.4.2 | https://github.com/arrayfire/arrayfire/milestone/19 |
| Dec 16, 2016 | https://github.com/arrayfire/arrayfire/pull/1550#event-896964758 |
| https://github.com/mlloreda |
| mlloreda | https://github.com/mlloreda |
| v3.5.1 | https://github.com/arrayfire/arrayfire/milestone/20 |
| v3.5.0 | https://github.com/arrayfire/arrayfire/milestone/16 |
| May 22, 2017 | https://github.com/arrayfire/arrayfire/pull/1550#event-1092014761 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| v3.6.0 | https://github.com/arrayfire/arrayfire/milestone/21 |
| v3.5.1 | https://github.com/arrayfire/arrayfire/milestone/20 |
| Jun 16, 2017 | https://github.com/arrayfire/arrayfire/pull/1550#event-1127489010 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| August 23, 2017 14:59 | https://github.com/arrayfire/arrayfire/pull/1550#event-1218026170 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| August 23, 2017 15:05 | https://github.com/arrayfire/arrayfire/pull/1550#event-1218038758 |
| https://github.com/pavanky |
| pavanky | https://github.com/pavanky |
| v3.6.0 | https://github.com/arrayfire/arrayfire/milestone/21 |
| v3.5.1 | https://github.com/arrayfire/arrayfire/milestone/20 |
| Aug 23, 2017 | https://github.com/arrayfire/arrayfire/pull/1550#event-1218038966 |
| https://github.com/9prady9 |
| 9prady9 | https://github.com/9prady9 |
| Feb 25, 2018 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-368277925 |
| @vakopian | https://github.com/vakopian |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/umar456 |
| umar456 | https://github.com/umar456 |
| v3.6.0 | https://github.com/arrayfire/arrayfire/milestone/21 |
| Feb 27, 2018 | https://github.com/arrayfire/arrayfire/pull/1550#event-1495621261 |
| https://github.com/9prady9 |
| 9prady9 | https://github.com/9prady9 |
|
in-progress
| https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3Ain-progress |
|
CPU
| https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3ACPU |
| Jul 13, 2018 | https://github.com/arrayfire/arrayfire/pull/1550#event-1731907916 |
| https://github.com/9prady9 |
| 9prady9 | https://github.com/9prady9 |
|
Jul 13, 2018
| https://github.com/arrayfire/arrayfire/pull/1550#ref-pullrequest-340998221 |
|
Morph optimizations
#2238
| https://github.com/arrayfire/arrayfire/pull/2238 |
| https://github.com/9prady9 |
| 9prady9 | https://github.com/9prady9 |
| Jul 13, 2018 | https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-404817386 |
| #2238 | https://github.com/arrayfire/arrayfire/pull/2238 |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
| https://github.com/9prady9 |
| 9prady9 | https://github.com/9prady9 |
| Jul 13, 2018 | https://github.com/arrayfire/arrayfire/pull/1550#event-1732464233 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F1550 |
|
CPU
| https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3ACPU |
|
in-progress
| https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3Ain-progress |
| Please reload this page | https://github.com/arrayfire/arrayfire/pull/1550 |
|
| https://github.com/vakopian |
|
| https://github.com/pavanky |
|
| https://github.com/9prady9 |
|
| https://github.com/mlloreda |
|
| https://github.com/umar456 |
|
| https://github.com/shehzan10 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |