Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
746291a8
Commit
746291a8
authored
Oct 10, 2022
by
Paul
Browse files
Format
parent
12a82ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/driver/perf.cpp
src/targets/gpu/driver/perf.cpp
+1
-1
No files found.
src/targets/gpu/driver/perf.cpp
View file @
746291a8
...
@@ -66,7 +66,7 @@ time_op(context& ictx, operation op, const std::vector<shape>& inputs, int n)
...
@@ -66,7 +66,7 @@ time_op(context& ictx, operation op, const std::vector<shape>& inputs, int n)
}
}
// Measure device time only for code_object ops which support it
// Measure device time only for code_object ops which support it
double
device_time
=
0.0
;
double
device_time
=
0.0
;
if
(
op
.
name
()
==
"gpu::code_object"
)
if
(
op
.
name
()
==
"gpu::code_object"
)
{
{
gctx
.
enable_perf_measurement
();
gctx
.
enable_perf_measurement
();
run
();
run
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment