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
eb01ef26
"library/src/utility/host_tensor.cpp" did not exist on "6014185ac65e75f2a84cb67ef6ba83b48ae0fcb3"
Commit
eb01ef26
authored
Aug 30, 2022
by
umangyadav
Browse files
formatting
parent
f02c2856
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
src/targets/gpu/convolution.cpp
src/targets/gpu/convolution.cpp
+2
-2
src/targets/gpu/deconvolution.cpp
src/targets/gpu/deconvolution.cpp
+2
-2
src/targets/gpu/fuse_ops.cpp
src/targets/gpu/fuse_ops.cpp
+2
-2
src/targets/gpu/quant_convolution.cpp
src/targets/gpu/quant_convolution.cpp
+1
-1
No files found.
src/targets/gpu/convolution.cpp
View file @
eb01ef26
...
@@ -144,8 +144,8 @@ shape miopen_convolution::find(context& ctx, const shape& output_shape, std::vec
...
@@ -144,8 +144,8 @@ 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"
);
solution_id
=
solutions
.
front
().
solution_id
;
solution_id
=
solutions
.
front
().
solution_id
;
algo
=
solutions
.
front
().
algorithm
;
algo
=
solutions
.
front
().
algorithm
;
workspace_size
=
solutions
.
front
().
workspace_size
;
workspace_size
=
solutions
.
front
().
workspace_size
;
return
shape
{
shape
::
int8_type
,
{
workspace_size
}};
return
shape
{
shape
::
int8_type
,
{
workspace_size
}};
...
...
src/targets/gpu/deconvolution.cpp
View file @
eb01ef26
...
@@ -144,8 +144,8 @@ shape miopen_deconvolution::find(context& ctx, const shape& output_shape, std::v
...
@@ -144,8 +144,8 @@ shape miopen_deconvolution::find(context& ctx, const shape& output_shape, std::v
if
(
status
!=
miopenStatusSuccess
)
if
(
status
!=
miopenStatusSuccess
)
MIGRAPHX_THROW
(
"MIOpen Deconvolution: get solution failed"
);
MIGRAPHX_THROW
(
"MIOpen Deconvolution: get solution failed"
);
solution_id
=
solutions
.
front
().
solution_id
;
solution_id
=
solutions
.
front
().
solution_id
;
algo
=
solutions
.
front
().
algorithm
;
algo
=
solutions
.
front
().
algorithm
;
workspace_size
=
solutions
.
front
().
workspace_size
;
workspace_size
=
solutions
.
front
().
workspace_size
;
return
shape
{
shape
::
int8_type
,
{
workspace_size
}};
return
shape
{
shape
::
int8_type
,
{
workspace_size
}};
...
...
src/targets/gpu/fuse_ops.cpp
View file @
eb01ef26
...
@@ -220,8 +220,8 @@ MIGRAPHX_PRED_MATCHER(fusable_conv, instruction_ref ins)
...
@@ -220,8 +220,8 @@ MIGRAPHX_PRED_MATCHER(fusable_conv, instruction_ref ins)
auto
op
=
conv
.
op
;
auto
op
=
conv
.
op
;
// Dont fuse winograd for non-3x3s since there is no fused windograd for those configs
// Dont fuse winograd for non-3x3s since there is no fused windograd for those configs
if
(
conv
.
algo
==
miopenConvolutionAlgoWinograd
and
wei
.
lens
()[
2
]
!=
3
and
if
(
conv
.
algo
==
miopenConvolutionAlgoWinograd
and
wei
.
lens
()[
2
]
!=
3
and
wei
.
lens
()[
3
]
!=
3
and
wei
.
lens
()[
3
]
!=
3
and
contains
({{
1
,
1
}},
op
.
stride
))
contains
({{
1
,
1
}},
op
.
stride
))
return
false
;
return
false
;
return
contains
({{
0
,
0
,
0
,
0
},
{
1
,
1
,
1
,
1
},
{
2
,
2
,
2
,
2
}},
op
.
padding
)
and
return
contains
({{
0
,
0
,
0
,
0
},
{
1
,
1
,
1
,
1
},
{
2
,
2
,
2
,
2
}},
op
.
padding
)
and
contains
({{
0
,
0
},
{
1
,
1
}},
op
.
stride
)
and
contains
({{
1
,
1
}},
op
.
dilation
);
contains
({{
0
,
0
},
{
1
,
1
}},
op
.
stride
)
and
contains
({{
1
,
1
}},
op
.
dilation
);
...
...
src/targets/gpu/quant_convolution.cpp
View file @
eb01ef26
...
@@ -139,7 +139,7 @@ shape miopen_quant_convolution::find(context& ctx,
...
@@ -139,7 +139,7 @@ shape miopen_quant_convolution::find(context& ctx,
solution_id
=
solutions
.
front
().
solution_id
;
solution_id
=
solutions
.
front
().
solution_id
;
algo
=
solutions
.
front
().
algorithm
;
algo
=
solutions
.
front
().
algorithm
;
workspace_size
=
solutions
.
front
().
workspace_size
;
workspace_size
=
solutions
.
front
().
workspace_size
;
return
shape
{
shape
::
int8_type
,
{
workspace_size
}};
return
shape
{
shape
::
int8_type
,
{
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