Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pipedream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
GRUBER Fabian
pipedream
Commits
f3a9a831
Commit
f3a9a831
authored
4 years ago
by
Nicolas Derumigny
Browse files
Options
Downloads
Patches
Plain Diff
benchmakr/common: updating according to reviews
parent
c8b11b59
No related branches found
No related tags found
1 merge request
!3
benchmark/common: using argument-provided location for MEM_AREAs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pipedream/benchmark/common.py
+4
-1
4 additions, 1 deletion
src/pipedream/benchmark/common.py
with
4 additions
and
1 deletion
src/pipedream/benchmark/common.py
+
4
−
1
View file @
f3a9a831
...
...
@@ -1202,7 +1202,7 @@ class _Benchmark_Runner:
SCRATCH_REG_4
=
out
.
scratch_register
(
3
)
SCRATCH_REG_5
=
out
.
scratch_register
(
4
)
# Set of registers that are currently used, but will not during the execution
# of the kernel (=> used only during initialisation)
, and reverse
# of the kernel (=> used only during initialisation)
unused_registers_kernel
=
set
()
from
pipedream.asm.x86
import
RDX
...
...
@@ -1346,11 +1346,14 @@ class _Benchmark_Runner:
out
.
comment
(
"
push papi_event_set and papi_results
"
)
if
need_memory
:
out
.
comment
(
"
poping first mem_area regs
"
)
out
.
pop_from_stack
(
MEMORY_REG_STORE
)
out
.
pop_from_stack
(
MEMORY_REG_LOAD
)
out
.
comment
(
'"
real
"
push
'
)
out
.
push_to_stack
(
papi_event_set
)
out
.
push_to_stack
(
results
)
if
need_memory
:
out
.
comment
(
"
pushing back mem_area regs
"
)
out
.
push_to_stack
(
MEMORY_REG_LOAD
)
out
.
push_to_stack
(
MEMORY_REG_STORE
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment