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
4070855d
Commit
4070855d
authored
Aug 12, 2019
by
Paul
Browse files
Fix tidy warnings
parent
a6ea39ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/include/migraphx/matcher.hpp
src/include/migraphx/matcher.hpp
+2
-2
src/targets/gpu/device/include/migraphx/gpu/device/nary.hpp
src/targets/gpu/device/include/migraphx/gpu/device/nary.hpp
+2
-2
No files found.
src/include/migraphx/matcher.hpp
View file @
4070855d
...
@@ -470,9 +470,9 @@ inline auto name(std::unordered_set<std::string> names)
...
@@ -470,9 +470,9 @@ inline auto name(std::unordered_set<std::string> names)
}
}
template
<
class
...
Ts
>
template
<
class
...
Ts
>
inline
auto
name
(
std
::
string
s
,
Ts
...
xs
)
inline
auto
name
(
std
::
string
s
,
Ts
...
xs
)
// NOLINT
{
{
return
name
(
std
::
unordered_set
<
std
::
string
>
{
s
,
xs
...});
return
name
(
std
::
unordered_set
<
std
::
string
>
{
s
td
::
move
(
s
),
std
::
move
(
xs
)
...});
}
}
inline
auto
nargs
(
std
::
size_t
n
)
inline
auto
nargs
(
std
::
size_t
n
)
...
...
src/targets/gpu/device/include/migraphx/gpu/device/nary.hpp
View file @
4070855d
...
@@ -283,7 +283,7 @@ auto nary_standard(hipStream_t stream, argument result, Arguments... args)
...
@@ -283,7 +283,7 @@ auto nary_standard(hipStream_t stream, argument result, Arguments... args)
template
<
class
...
Arguments
>
template
<
class
...
Arguments
>
bool
broadcastable
(
bool
broadcastable
(
bool
&
divisible_by_4
,
std
::
size_t
max_size
,
argument
result
,
argument
barg
,
Arguments
...
args
)
bool
&
divisible_by_4
,
std
::
size_t
max_size
,
const
argument
&
result
,
const
argument
&
barg
,
const
Arguments
&
...
args
)
{
{
divisible_by_4
=
false
;
divisible_by_4
=
false
;
auto
bshape
=
barg
.
get_shape
();
auto
bshape
=
barg
.
get_shape
();
...
@@ -312,7 +312,7 @@ bool broadcastable(
...
@@ -312,7 +312,7 @@ bool broadcastable(
return
false
;
return
false
;
}
}
inline
bool
broadcastable
(
bool
&
divisible_by_4
,
std
::
size_t
,
argument
,
argument
)
inline
bool
broadcastable
(
bool
&
divisible_by_4
,
std
::
size_t
,
const
argument
&
,
const
argument
&
)
{
{
divisible_by_4
=
false
;
divisible_by_4
=
false
;
return
false
;
return
false
;
...
...
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