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
fcb1a503
Commit
fcb1a503
authored
Oct 07, 2023
by
Artur Wojcik
Browse files
dnnl: fix clang-tidy
parent
4f9088ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/targets/cpu/include/migraphx/cpu/dnnl.hpp
src/targets/cpu/include/migraphx/cpu/dnnl.hpp
+5
-5
No files found.
src/targets/cpu/include/migraphx/cpu/dnnl.hpp
View file @
fcb1a503
...
@@ -112,17 +112,17 @@ struct dnnl_op : auto_register_op<Derived>
...
@@ -112,17 +112,17 @@ struct dnnl_op : auto_register_op<Derived>
#endif
#endif
public:
public:
// clang-format off
// clang-format off
executable
(
const
dnnl_op
&
op
,
const
shape
&
_outp
ut_shape
,
const
std
::
vector
<
shape
>&
_
in
put
s
)
executable
(
const
dnnl_op
&
op
,
const
shape
&
o
ut_shape
,
const
std
::
vector
<
shape
>&
in
_shape
s
)
:
md
{
op
.
to_memory_desc
(
_outp
ut_shape
,
_
in
put
s
)},
:
md
{
op
.
to_memory_desc
(
o
ut_shape
,
in
_shape
s
)},
prim
{
op
.
get_primitive
(
md
)},
prim
{
op
.
get_primitive
(
md
)},
arg_lookup
{
op
.
create_arg_map
(
_
in
put
s
.
size
())}
arg_lookup
{
op
.
create_arg_map
(
in
_shape
s
.
size
())}
#ifdef _DEBUG
#ifdef _DEBUG
,
self
{
op
},
,
self
{
op
},
derived
{
static_cast
<
const
Derived
&>
(
op
)},
derived
{
static_cast
<
const
Derived
&>
(
op
)},
name
{
derived
.
name
()},
name
{
derived
.
name
()},
prim_attr
{
op
.
get_primitive_attr
(
md
)},
prim_attr
{
op
.
get_primitive_attr
(
md
)},
inputs
{
_
in
put
s
},
inputs
{
in
_shape
s
},
output_shape
{
_outp
ut_shape
}
output_shape
{
o
ut_shape
}
#endif
#endif
// clang-format on
// clang-format on
{
{
...
...
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