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
!178
Some Cava optimization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Some Cava optimization
cava_opt
into
main
Overview
0
Commits
19
Pipelines
6
Changes
10
Merged
rarbore2
requested to merge
cava_opt
into
main
1 month ago
Overview
0
Commits
19
Pipelines
6
Changes
2
Expand
Optimize Cava's CPU schedule.
Add
fork-fusion
pass for fusing unrelated but adjacent fork-joins.
Add intrinsic functions to math expressions.
Add
print
pass for debugging schedules.
Avoid some edges in dot output to help little xdot out.
TODO: need more relaxed bounds for forkify to parallelize demosaic.
Edited
1 month ago
by
rarbore2
0
0
Merge request reports
Compare
version 1
version 5
bb507941
1 month ago
version 4
9397f55d
1 month ago
version 3
0b1a9eb3
1 month ago
version 2
0958995e
1 month ago
version 1
81f524ca
1 month ago
main (base)
and
version 2
latest version
a3ec1d56
19 commits,
1 month ago
version 5
bb507941
18 commits,
1 month ago
version 4
9397f55d
17 commits,
1 month ago
version 3
0b1a9eb3
16 commits,
1 month ago
version 2
0958995e
15 commits,
1 month ago
version 1
81f524ca
14 commits,
1 month ago
Show latest version
2 files
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
juno_samples/cava/src/cava.jn
+
1
−
1
Options
@@ -153,7 +153,7 @@ fn gamut<row : usize, col : usize, num_ctrl_pts : usize>(
l2_dist
[
cp
]
=
sqrt!
::
<
f32
>
(
v
);
}
for
chan
=
0
to
CHAN
{
@
channel_loop
for
chan
=
0
to
CHAN
{
let
chan_val
:
f32
=
0.0
;
for
cp
=
0
to
num_ctrl_pts
{
chan_val
+=
l2_dist
[
cp
]
*
weights
[
cp
,
chan
];
Loading