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
composable_kernel_ROCM
Commits
dc82daa8
Unverified
Commit
dc82daa8
authored
Aug 20, 2024
by
Bartłomiej Kocot
Committed by
GitHub
Aug 20, 2024
Browse files
Convert MIOpen driver to ckProfiler script typos fix (#1476)
parent
a94113a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
profiler/include/profiler/profile_grouped_conv_bwd_weight_impl.hpp
...include/profiler/profile_grouped_conv_bwd_weight_impl.hpp
+0
-4
script/convert_miopen_driver_to_profiler.py
script/convert_miopen_driver_to_profiler.py
+1
-1
No files found.
profiler/include/profiler/profile_grouped_conv_bwd_weight_impl.hpp
View file @
dc82daa8
...
@@ -250,18 +250,14 @@ bool profile_grouped_conv_bwd_weight_impl(int do_verification,
...
@@ -250,18 +250,14 @@ bool profile_grouped_conv_bwd_weight_impl(int do_verification,
{
{
LogRangeAsType
<
float
>
(
std
::
cout
<<
"output : "
,
output
.
mData
,
","
)
LogRangeAsType
<
float
>
(
std
::
cout
<<
"output : "
,
output
.
mData
,
","
)
<<
std
::
endl
;
<<
std
::
endl
;
;
LogRangeAsType
<
float
>
(
LogRangeAsType
<
float
>
(
std
::
cout
<<
"weight (device): "
,
weight_device_result
.
mData
,
","
)
std
::
cout
<<
"weight (device): "
,
weight_device_result
.
mData
,
","
)
<<
std
::
endl
;
<<
std
::
endl
;
;
LogRangeAsType
<
float
>
(
LogRangeAsType
<
float
>
(
std
::
cout
<<
"weight (host): "
,
weight_host_result
.
mData
,
","
)
std
::
cout
<<
"weight (host): "
,
weight_host_result
.
mData
,
","
)
<<
std
::
endl
;
<<
std
::
endl
;
;
LogRangeAsType
<
float
>
(
std
::
cout
<<
"input: "
,
input
.
mData
,
","
)
LogRangeAsType
<
float
>
(
std
::
cout
<<
"input: "
,
input
.
mData
,
","
)
<<
std
::
endl
;
<<
std
::
endl
;
;
}
}
}
}
}
}
...
...
script/convert_miopen_driver_to_profiler.py
View file @
dc82daa8
...
@@ -26,7 +26,7 @@ def run_ck_profiler_cmd(cmd):
...
@@ -26,7 +26,7 @@ def run_ck_profiler_cmd(cmd):
def
parse_data_type
(
args
):
def
parse_data_type
(
args
):
if
args
.
data_type
==
"fp32"
:
if
args
.
data_type
==
"fp32"
:
if
args
.
ck_profier_op
==
"grouped_conv_bwd_weight"
or
\
if
args
.
ck_profier_op
==
"grouped_conv_bwd_weight"
or
\
args
.
ck_profier_op
==
"grouped_conv_bwd_
weight
"
or
\
args
.
ck_profier_op
==
"grouped_conv_bwd_
data
"
or
\
args
.
ck_profier_op
==
"grouped_conv_fwd"
:
args
.
ck_profier_op
==
"grouped_conv_fwd"
:
args
.
data_type
=
0
args
.
data_type
=
0
if
args
.
data_type
==
"fp16"
:
if
args
.
data_type
==
"fp16"
:
...
...
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