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
73da1e4a
Commit
73da1e4a
authored
Aug 19, 2022
by
Paul
Browse files
Format
parent
dd900bf2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
34 deletions
+34
-34
src/targets/gpu/kernels/include/migraphx/kernels/array.hpp
src/targets/gpu/kernels/include/migraphx/kernels/array.hpp
+34
-34
No files found.
src/targets/gpu/kernels/include/migraphx/kernels/array.hpp
View file @
73da1e4a
...
...
@@ -43,7 +43,7 @@ namespace migraphx {
template <class U, MIGRAPHX_REQUIRES(is_convertible<U, T>{})> \
constexpr array& operator op(const U& x) \
{ \
array_for_each(*this)([&](auto& sy) { sy op x; });
\
array_for_each
(*this)([&](auto& sy) { sy op x; }); \
return *this; \
} \
template <class U> \
...
...
@@ -68,7 +68,7 @@ namespace migraphx {
return z; \
}
template
<
class
T
,
class
...
Ts
>
template
<
class
T
,
class
...
Ts
>
constexpr
auto
array_for_each
(
T
&
x
,
Ts
&
...
xs
)
{
return
[
&
](
auto
f
)
{
...
...
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