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
6909fcc1
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "1e0d45517be6c6548c86d31fdd98d5f1cbbd3a2b"
Commit
6909fcc1
authored
Aug 30, 2022
by
umangyadav
Browse files
formatting
parent
fea5c55d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
src/targets/gpu/convolution.cpp
src/targets/gpu/convolution.cpp
+2
-3
src/targets/gpu/deconvolution.cpp
src/targets/gpu/deconvolution.cpp
+2
-2
No files found.
src/targets/gpu/convolution.cpp
View file @
6909fcc1
...
@@ -144,10 +144,9 @@ shape miopen_convolution::find(context& ctx, const shape& output_shape, std::vec
...
@@ -144,10 +144,9 @@ shape miopen_convolution::find(context& ctx, const shape& output_shape, std::vec
if
(
status
!=
miopenStatusSuccess
)
if
(
status
!=
miopenStatusSuccess
)
MIGRAPHX_THROW
(
"MIOpen Convolution: get solution failed"
);
MIGRAPHX_THROW
(
"MIOpen Convolution: get solution failed"
);
const
auto
&
best_solution
=
solutions
.
front
();
const
auto
&
best_solution
=
solutions
.
front
();
solution_id
=
best_solution
.
solution_id
;
solution_id
=
best_solution
.
solution_id
;
algo
=
best_solution
.
algorithm
;
algo
=
best_solution
.
algorithm
;
return
shape
{
shape
::
int8_type
,
{
best_solution
.
workspace_size
}};
return
shape
{
shape
::
int8_type
,
{
best_solution
.
workspace_size
}};
}
}
...
...
src/targets/gpu/deconvolution.cpp
View file @
6909fcc1
...
@@ -145,8 +145,8 @@ shape miopen_deconvolution::find(context& ctx, const shape& output_shape, std::v
...
@@ -145,8 +145,8 @@ shape miopen_deconvolution::find(context& ctx, const shape& output_shape, std::v
MIGRAPHX_THROW
(
"MIOpen Deconvolution: get solution failed"
);
MIGRAPHX_THROW
(
"MIOpen Deconvolution: get solution failed"
);
const
auto
&
best_solution
=
solutions
.
front
();
const
auto
&
best_solution
=
solutions
.
front
();
solution_id
=
best_solution
.
solution_id
;
solution_id
=
best_solution
.
solution_id
;
algo
=
best_solution
.
algorithm
;
algo
=
best_solution
.
algorithm
;
return
shape
{
shape
::
int8_type
,
{
best_solution
.
workspace_size
}};
return
shape
{
shape
::
int8_type
,
{
best_solution
.
workspace_size
}};
}
}
...
...
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