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
Commits
7c42995b
Commit
7c42995b
authored
May 19, 2023
by
rocking
Browse files
Refine naming
parent
084588c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
profiler/src/profile_avg_pool2d_fwd.cpp
profiler/src/profile_avg_pool2d_fwd.cpp
+2
-2
No files found.
profiler/src/profile_avg_pool2d_fwd.cpp
View file @
7c42995b
...
...
@@ -11,7 +11,7 @@
using
ck
::
index_t
;
struct
max
PoolFwdArgParser
struct
avg
PoolFwdArgParser
{
std
::
unordered_map
<
std
::
string
,
std
::
vector
<
int
>>
long_opts
=
{
{
"length"
,
{}},
{
"wsize"
,
{}},
{
"wstride"
,
{}},
{
"pad1"
,
{}},
{
"pad2"
,
{}}};
...
...
@@ -90,7 +90,7 @@ int profile_avg_pool2d_fwd(int argc, char* argv[])
time_kernel
=
std
::
stoi
(
argv
[
6
]);
// parse the long options
max
PoolFwdArgParser
arg_parser
;
avg
PoolFwdArgParser
arg_parser
;
arg_parser
(
argc
,
argv
);
in_length
=
arg_parser
.
long_opts
[
"length"
];
wsize
=
arg_parser
.
long_opts
[
"wsize"
];
...
...
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