Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hercules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
Hercules
Merge requests
!223
Fix backprop and matmul cpu schedules
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix backprop and matmul cpu schedules
fix-cpu-tilings
into
main
Overview
0
Commits
2
Pipelines
2
Changes
2
Merged
Aaron Councilman
requested to merge
fix-cpu-tilings
into
main
3 weeks ago
Overview
0
Commits
2
Pipelines
2
Changes
2
Expand
Whoops.
0
0
Merge request reports
Viewing commit
74d6d375
Prev
Next
Show latest version
2 files
+
12
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
74d6d375
Fix backprop and matmul cpu schedules
· 74d6d375
Aaron Councilman
authored
3 weeks ago
juno_samples/matmul/src/matmul.sch
+
6
−
2
Options
@@ -25,6 +25,10 @@ macro forkify!(X) {
}
}
macro fork-chunk {
fork-tile[n, 0, false, false](X);
}
macro fork-tile {
fork-tile[n, 0, false, true](X);
}
@@ -66,8 +70,8 @@ if feature("cuda") {
// Parallelize by computing output array as 16 chunks
let par = matmul@outer \ matmul@inner;
fork-
tile
;
let (outer, inner, _) = fork-reshape[[
1
,
3
], [
0
], [
2
]](par);
fork-
chunk
;
let (outer, inner, _) = fork-reshape[[
0
,
2
], [
1
], [
3
]](par);
parallelize!(outer \ inner);
let body = outline(inner);
Loading