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
626f8dc1
Commit
626f8dc1
authored
Apr 04, 2019
by
Shucai Xiao
Browse files
clang format
parent
7e4baf2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/targets/gpu/gemm.cpp
src/targets/gpu/gemm.cpp
+5
-5
No files found.
src/targets/gpu/gemm.cpp
View file @
626f8dc1
...
...
@@ -188,10 +188,10 @@ argument miopen_gemm::compute(context& ctx,
output_shape
.
visit_type
([
&
](
auto
as
)
{
auto
to_pointer
=
[
&
](
auto
&&
arg
)
{
return
to_rocblas_type
(
as
.
from
(
arg
.
data
()));
};
hipMemcpyAsync
(
to_pointer
(
args
[
3
]),
to_pointer
(
args
[
2
]),
output_shape
.
bytes
(),
hipMemcpyDeviceToDevice
,
ctx
.
get_stream
().
get
());
to_pointer
(
args
[
2
]),
output_shape
.
bytes
(),
hipMemcpyDeviceToDevice
,
ctx
.
get_stream
().
get
());
});
output_shape
.
visit_type
([
&
](
auto
as
)
{
...
...
@@ -235,7 +235,7 @@ argument miopen_gemm::compute(context& ctx,
m
*
n
,
num_matrices
);
});
//device::add(ctx.get_stream().get(), args[3], args[2], args[3]);
//
device::add(ctx.get_stream().get(), args[3], args[2], args[3]);
return
args
[
3
];
}
...
...
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