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
3755e41e
Commit
3755e41e
authored
Aug 25, 2018
by
Paul
Browse files
Formatting
parent
7af75b2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/targets/gpu/device/include/migraph/gpu/device/nary.hpp
src/targets/gpu/device/include/migraph/gpu/device/nary.hpp
+3
-3
No files found.
src/targets/gpu/device/include/migraph/gpu/device/nary.hpp
View file @
3755e41e
...
@@ -66,9 +66,9 @@ inline auto binary_broadcast(argument result, argument arg1, argument arg2)
...
@@ -66,9 +66,9 @@ inline auto binary_broadcast(argument result, argument arg1, argument arg2)
__syncthreads
();
__syncthreads
();
for
(
size_t
i
=
idx
.
global
;
i
<
n
;
i
+=
nglobal
)
for
(
size_t
i
=
idx
.
global
;
i
<
n
;
i
+=
nglobal
)
{
{
auto
bidx
=
i
%
bdim_len
;
auto
bidx
=
i
%
bdim_len
;
auto
b
=
buffer
[
bidx
];
auto
b
=
buffer
[
bidx
];
outp
[
i
]
=
f
(
xp
[
i
],
b
);
outp
[
i
]
=
f
(
xp
[
i
],
b
);
}
}
});
});
});
});
...
...
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