René's URL Explorer Experiment


Title: Add loop unrolling for matmul by junjihashimoto · Pull Request #11 · AnswerDotAI/gpu.cpp · GitHub

Open Graph Title: Add loop unrolling for matmul by junjihashimoto · Pull Request #11 · AnswerDotAI/gpu.cpp

X Title: Add loop unrolling for matmul by junjihashimoto · Pull Request #11 · AnswerDotAI/gpu.cpp

Description: WGSL of dawn/tint does not have the optimization of loop unrolling. So this PR implements loop unrolling for matmul to check the performance of it. In my environment(m2 pro), the result is as follo...

Open Graph Description: WGSL of dawn/tint does not have the optimization of loop unrolling. So this PR implements loop unrolling for matmul to check the performance of it. In my environment(m2 pro), the result is as follo...

X Description: WGSL of dawn/tint does not have the optimization of loop unrolling. So this PR implements loop unrolling for matmul to check the performance of it. In my environment(m2 pro), the result is as follo...

Opengraph URL: https://github.com/AnswerDotAI/gpu.cpp/pull/11

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7ac340ce-ffbc-9e89-de0a-e1d032b112d7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA892:41B0D:5F1B3E0:81B979E:698D0C88
html-safe-noncea8102be0fe5391c60c4ca61c09259527da57df869330b19c07647e98b9b138b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODkyOjQxQjBEOjVGMUIzRTA6ODFCOTc5RTo2OThEMEM4OCIsInZpc2l0b3JfaWQiOiI0MTcyNDMwMjY1OTA4MjY4MTY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7445eb738120bac8cd0daeaaab55f7a9ba274804cac656aa24a4deac013d0ba3
hovercard-subject-tagpull_request:1968932379
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/AnswerDotAI/gpu.cpp/11/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/86ca20d972bb3085a7dca8be5ac0cc24fcf438a0cbac081ff7758cdd997a9cb2/AnswerDotAI/gpu.cpp/pull/11
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86ca20d972bb3085a7dca8be5ac0cc24fcf438a0cbac081ff7758cdd997a9cb2/AnswerDotAI/gpu.cpp/pull/11
og:image:altWGSL of dawn/tint does not have the optimization of loop unrolling. So this PR implements loop unrolling for matmul to check the performance of it. In my environment(m2 pro), the result is as follo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejunjihashimoto
hostnamegithub.com
expected-hostnamegithub.com
Nonef2da95634bce8a94cfa4123788169bfabdf845fd1d790fbaaaaab09dcfebdf28
turbo-cache-controlno-preview
go-importgithub.com/AnswerDotAI/gpu.cpp git https://github.com/AnswerDotAI/gpu.cpp.git
octolytics-dimension-user_id156509747
octolytics-dimension-user_loginAnswerDotAI
octolytics-dimension-repository_id808280286
octolytics-dimension-repository_nwoAnswerDotAI/gpu.cpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id808280286
octolytics-dimension-repository_network_root_nwoAnswerDotAI/gpu.cpp
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
release311e6780106f89302807c2d4e7790575cc939515
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AnswerDotAI/gpu.cpp/pull/11#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAnswerDotAI%2Fgpu.cpp%2Fpull%2F11
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%2FAnswerDotAI%2Fgpu.cpp%2Fpull%2F11
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=AnswerDotAI%2Fgpu.cpp
Reloadhttps://github.com/AnswerDotAI/gpu.cpp/pull/11
Reloadhttps://github.com/AnswerDotAI/gpu.cpp/pull/11
Reloadhttps://github.com/AnswerDotAI/gpu.cpp/pull/11
AnswerDotAI https://github.com/AnswerDotAI
gpu.cpphttps://github.com/AnswerDotAI/gpu.cpp
Notifications https://github.com/login?return_to=%2FAnswerDotAI%2Fgpu.cpp
Fork 189 https://github.com/login?return_to=%2FAnswerDotAI%2Fgpu.cpp
Star 3.9k https://github.com/login?return_to=%2FAnswerDotAI%2Fgpu.cpp
Code https://github.com/AnswerDotAI/gpu.cpp
Issues 8 https://github.com/AnswerDotAI/gpu.cpp/issues
Pull requests 1 https://github.com/AnswerDotAI/gpu.cpp/pulls
Actions https://github.com/AnswerDotAI/gpu.cpp/actions
Projects 1 https://github.com/AnswerDotAI/gpu.cpp/projects
Wiki https://github.com/AnswerDotAI/gpu.cpp/wiki
Security 0 https://github.com/AnswerDotAI/gpu.cpp/security
Insights https://github.com/AnswerDotAI/gpu.cpp/pulse
Code https://github.com/AnswerDotAI/gpu.cpp
Issues https://github.com/AnswerDotAI/gpu.cpp/issues
Pull requests https://github.com/AnswerDotAI/gpu.cpp/pulls
Actions https://github.com/AnswerDotAI/gpu.cpp/actions
Projects https://github.com/AnswerDotAI/gpu.cpp/projects
Wiki https://github.com/AnswerDotAI/gpu.cpp/wiki
Security https://github.com/AnswerDotAI/gpu.cpp/security
Insights https://github.com/AnswerDotAI/gpu.cpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FAnswerDotAI%2Fgpu.cpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAnswerDotAI%2Fgpu.cpp%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/AnswerDotAI/gpu.cpp/pull/11#issue-comment-box
austinvhuanghttps://github.com/austinvhuang
AnswerDotAI:mainhttps://github.com/AnswerDotAI/gpu.cpp/tree/main
junjihashimoto:feature/unrollinghttps://github.com/junjihashimoto/gpu.cpp/tree/feature/unrolling
Add loop unrolling for matmul https://github.com/AnswerDotAI/gpu.cpp/pull/11#top
austinvhuanghttps://github.com/austinvhuang
AnswerDotAI:mainhttps://github.com/AnswerDotAI/gpu.cpp/tree/main
junjihashimoto:feature/unrollinghttps://github.com/junjihashimoto/gpu.cpp/tree/feature/unrolling
Conversation 4 https://github.com/AnswerDotAI/gpu.cpp/pull/11
Commits 3 https://github.com/AnswerDotAI/gpu.cpp/pull/11/commits
Checks 0 https://github.com/AnswerDotAI/gpu.cpp/pull/11/checks
Files changed 2 https://github.com/AnswerDotAI/gpu.cpp/pull/11/files
https://github.co/hiddenchars
https://github.com/AnswerDotAI/gpu.cpp/pull/{{ revealButtonHref }}
https://github.com/junjihashimoto
junjihashimotohttps://github.com/junjihashimoto
Jul 15, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#issue-2408192441
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/junjihashimoto
Add loop unrolling for matmulhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/b2c79ef8617c7fd11b213d9cbf019a21ed8fe596
b2c79efhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/b2c79ef8617c7fd11b213d9cbf019a21ed8fe596
https://github.com/austinvhuang
austinvhuanghttps://github.com/austinvhuang
Jul 15, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#issuecomment-2228916558
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/junjihashimoto
junjihashimotohttps://github.com/junjihashimoto
Jul 15, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#issuecomment-2229070848
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
Classic RISC stageshttps://en.wikipedia.org/wiki/Classic_RISC_pipeline
smatryhttps://www.smarty.net/docsv2/en/language.function.foreach.tpl
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/junjihashimoto
Move loopUnrolling function to experimental/wgsl.hhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
0ae5bedhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
https://github.com/junjihashimoto
junjihashimotohttps://github.com/junjihashimoto
force-pushedhttps://github.com/AnswerDotAI/gpu.cpp/compare/c209132e8b78e90657b8b06fae7a940d827359ac..0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
c209132https://github.com/AnswerDotAI/gpu.cpp/commit/c209132e8b78e90657b8b06fae7a940d827359ac
0ae5bedhttps://github.com/AnswerDotAI/gpu.cpp/commit/0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
Compare https://github.com/AnswerDotAI/gpu.cpp/compare/c209132e8b78e90657b8b06fae7a940d827359ac..0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
July 15, 2024 18:25https://github.com/AnswerDotAI/gpu.cpp/pull/11#event-13509477682
https://github.com/junjihashimoto
junjihashimotohttps://github.com/junjihashimoto
Jul 15, 2024 https://github.com/AnswerDotAI/gpu.cpp/pull/11#pullrequestreview-2178398612
View reviewed changes https://github.com/AnswerDotAI/gpu.cpp/pull/11/files/0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf
experimental/wgsl.hhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/files/0ae5bed4ffd9baa5af0e1546b50512facb3c3fdf#diff-7cac8859c1243adfaacd301575ac8c076323d17ed0ad5ebad3bc8eadf40524d2
junjihashimotohttps://github.com/junjihashimoto
Jul 15, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#discussion_r1678239212
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/junjihashimoto
Add the threshold of loop-unrollinghttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/91b572ddcd9674257efe680664c9a79b8c93cf00
91b572dhttps://github.com/AnswerDotAI/gpu.cpp/pull/11/commits/91b572ddcd9674257efe680664c9a79b8c93cf00
https://github.com/austinvhuang
austinvhuanghttps://github.com/austinvhuang
Jul 16, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#issuecomment-2231406769
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/austinvhuang
austinvhuanghttps://github.com/austinvhuang
af6e1e0https://github.com/AnswerDotAI/gpu.cpp/commit/af6e1e0be79e27f6d5635c3eeabc7a1ff8da6d38
Jul 16, 2024https://github.com/AnswerDotAI/gpu.cpp/pull/11#event-13524402115
https://github.com/junjihashimoto
junjihashimotohttps://github.com/junjihashimoto
July 16, 2024 18:26https://github.com/AnswerDotAI/gpu.cpp/pull/11#event-13525335460
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAnswerDotAI%2Fgpu.cpp%2Fpull%2F11
Please reload this pagehttps://github.com/AnswerDotAI/gpu.cpp/pull/11
https://github.com/junjihashimoto
https://github.com/austinvhuang
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.