Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
particle_methods
hysop
Commits
042cfdd6
"cmake/config.hpp.cmake" did not exist on "9ea3ae3e057bac2b1684bb538f277c4e2e153d7a"
Commit
042cfdd6
authored
8 years ago
by
Jean-Baptiste Keck
Browse files
Options
Downloads
Patches
Plain Diff
stash pop
parent
3bf9ef86
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hysop/codegen/base/statistics.py
+2
-2
2 additions, 2 deletions
hysop/codegen/base/statistics.py
hysop/tools/callback.py
+1
-1
1 addition, 1 deletion
hysop/tools/callback.py
with
3 additions
and
3 deletions
hysop/codegen/base/statistics.py
+
2
−
2
View file @
042cfdd6
...
@@ -165,6 +165,6 @@ class TimedWorkStatistics(WorkStatistics):
...
@@ -165,6 +165,6 @@ class TimedWorkStatistics(WorkStatistics):
for
(
op_category
,
op_count
)
in
ops_count
.
iteritems
():
for
(
op_category
,
op_count
)
in
ops_count
.
iteritems
():
ops_per_second
[
op_category
]
=
op_count
/
self
.
duration
ops_per_second
[
op_category
]
=
op_count
/
self
.
duration
self
.
_ops_per_category
=
ops_
per_category
self
.
_ops_per_category
=
ops_
count
self
.
_ops_per_second
=
ops_per_second
self
.
_ops_per_second
=
ops_per_second
This diff is collapsed.
Click to expand it.
hysop/tools/callback.py
+
1
−
1
View file @
042cfdd6
...
@@ -151,10 +151,10 @@ class ComputeInterface(MemInterface):
...
@@ -151,10 +151,10 @@ class ComputeInterface(MemInterface):
timed_stats
=
self
.
stats_per_second
()
timed_stats
=
self
.
stats_per_second
()
if
(
timed_stats
is
not
None
):
if
(
timed_stats
is
not
None
):
if
timed_stats
.
global_mem_throughput
()
>
0
:
if
timed_stats
.
global_mem_throughput
()
>
0
:
s
+=
'
OPI={}
'
.
format
(
unit2str
(
float
(
timed_stats
.
ops_per_category
[
'
FLOPS
'
])
/
timed_stats
.
global_mem_transactions
(),
'
FLOP/B
'
,
decimal
=
True
))
s
+=
'
throughput={}
'
.
format
(
bdw2str
(
timed_stats
.
global_mem_throughput
()))
s
+=
'
throughput={}
'
.
format
(
bdw2str
(
timed_stats
.
global_mem_throughput
()))
if
timed_stats
.
global_mem_throughput
()
<
timed_stats
.
total_mem_throughput
():
if
timed_stats
.
global_mem_throughput
()
<
timed_stats
.
total_mem_throughput
():
s
+=
'
(tot={})
'
.
format
(
bdw2str
(
timed_stats
.
total_mem_throughput
()))
s
+=
'
(tot={})
'
.
format
(
bdw2str
(
timed_stats
.
total_mem_throughput
()))
s
+=
'
OPI={}
'
.
format
(
unit2str
(
float
(
timed_stats
.
ops_per_category
()[
'
FLOPS
'
])
/
timed_stats
.
global_mem_transactions
(),
'
FLOP/B
'
,
decimal
=
True
,
rounded
=
0
))
for
(
op_category
,
ops_per_second
)
in
timed_stats
.
ops_per_second
().
iteritems
():
for
(
op_category
,
ops_per_second
)
in
timed_stats
.
ops_per_second
().
iteritems
():
s
+=
'
{}
'
.
format
(
unit2str
(
ops_per_second
,
op_category
,
decimal
=
True
,
rounded
=
0
))
s
+=
'
{}
'
.
format
(
unit2str
(
ops_per_second
,
op_category
,
decimal
=
True
,
rounded
=
0
))
...
...
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