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
1fd73bac
Commit
1fd73bac
authored
Oct 18, 2023
by
Paul
Browse files
Some more merge fixes
parent
a42edd9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/targets/gpu/gemm_impl.cpp
src/targets/gpu/gemm_impl.cpp
+2
-5
No files found.
src/targets/gpu/gemm_impl.cpp
View file @
1fd73bac
...
@@ -159,11 +159,6 @@ struct gemm_impl
...
@@ -159,11 +159,6 @@ struct gemm_impl
beta
=
0
;
beta
=
0
;
}
}
rocblas_gemm_flags
flag
=
rocblas_gemm_flags_none
;
#if ROCBLAS_VERSION_MAJOR < 3
if
(
int8_x4_format
)
flag
=
rocblas_gemm_flags_pack_int8x4
;
#endif
// Create lambdas that will cast alpha, beta to the output shape's type
// Create lambdas that will cast alpha, beta to the output shape's type
// and retain the values being pointed to
// and retain the values being pointed to
output_shape
.
visit_type
([
&
](
auto
as
)
{
output_shape
.
visit_type
([
&
](
auto
as
)
{
...
@@ -205,7 +200,9 @@ struct gemm_impl
...
@@ -205,7 +200,9 @@ struct gemm_impl
compute_type
=
rocblas_datatype_f32_r
;
compute_type
=
rocblas_datatype_f32_r
;
}
}
#if ROCBLAS_VERSION_MAJOR < 3
int8_flag
=
int8_x4_format
?
rocblas_gemm_flags_pack_int8x4
:
rocblas_gemm_flags_none
;
int8_flag
=
int8_x4_format
?
rocblas_gemm_flags_pack_int8x4
:
rocblas_gemm_flags_none
;
#endif
auto
a_lens
=
input_shapes
[
0
].
lens
();
auto
a_lens
=
input_shapes
[
0
].
lens
();
auto
b_lens
=
input_shapes
[
1
].
lens
();
auto
b_lens
=
input_shapes
[
1
].
lens
();
...
...
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