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
!214
More optimizations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
More optimizations
more_opt3
into
main
Overview
0
Commits
21
Pipelines
1
Changes
2
Merged
rarbore2
requested to merge
more_opt3
into
main
2 weeks ago
Overview
0
Commits
21
Pipelines
1
Changes
2
Expand
A lot of misc. optimization work, notably parallelization of Rodinia CPU schedules.
Support >32 tiles in GPU backend.
Tweak some transformations.
0
0
Merge request reports
Viewing commit
be6c3a90
Prev
Next
Show latest version
2 files
+
18
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
be6c3a90
New backprop schedule
· be6c3a90
Aaron Councilman
authored
2 weeks ago
juno_samples/rodinia/backprop/src/backprop.jn
+
4
−
4
Options
@@ -91,15 +91,15 @@ fn backprop<input_n, hidden_n, output_n: usize>(
)
->
f32
,
f32
,
f32
[
input_n
+
1
,
hidden_n
+
1
],
f32
[
input_n
+
1
,
hidden_n
+
1
],
f32
[
hidden_n
+
1
,
output_n
+
1
],
f32
[
hidden_n
+
1
,
output_n
+
1
]
{
let
hidden_vals
=
layer_forward
::
<
input_n
,
hidden_n
>
(
input_vals
,
input_weights
);
let
output_vals
=
layer_forward
::
<
hidden_n
,
output_n
>
(
hidden_vals
,
hidden_weights
);
@
forward_input
let
hidden_vals
=
layer_forward
::
<
input_n
,
hidden_n
>
(
input_vals
,
input_weights
);
@
forward_hidden
let
output_vals
=
layer_forward
::
<
hidden_n
,
output_n
>
(
hidden_vals
,
hidden_weights
);
@
output_error
let
out_err
,
out_delta
=
output_error
::
<
output_n
>
(
target
,
output_vals
);
@
hidden_error
let
hid_err
,
hid_delta
=
hidden_error
::
<
hidden_n
,
output_n
>
(
out_delta
,
hidden_weights
,
hidden_vals
);
let
hidden_weights
,
hidden_prev_weights
@
adjust_hidden
let
hidden_weights
,
hidden_prev_weights
=
adjust_weights
::
<
hidden_n
,
output_n
>
(
out_delta
,
hidden_vals
,
hidden_weights
,
hidden_prev_weights
);
let
input_weights
,
input_prev_weights
@
adjust_input
let
input_weights
,
input_prev_weights
=
adjust_weights
::
<
input_n
,
hidden_n
>
(
hid_delta
,
input_vals
,
input_weights
,
input_prev_weights
);
return
out_err
,
hid_err
,
input_weights
,
input_prev_weights
,
hidden_weights
,
hidden_prev_weights
;
Loading