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
4fda0214
Commit
4fda0214
authored
Oct 17, 2022
by
Paul
Browse files
Remove unused template variable
parent
1e2a641e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
src/targets/gpu/jit/ck_gemm.cpp
src/targets/gpu/jit/ck_gemm.cpp
+1
-11
No files found.
src/targets/gpu/jit/ck_gemm.cpp
View file @
4fda0214
...
@@ -146,10 +146,6 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
...
@@ -146,10 +146,6 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
auto
m
=
c_shape
.
lens
().
front
();
auto
m
=
c_shape
.
lens
().
front
();
auto
n
=
c_shape
.
lens
().
back
();
auto
n
=
c_shape
.
lens
().
back
();
auto
k
=
a_shape
.
lens
().
back
();
auto
sa
=
a_shape
.
strides
().
front
();
auto
sb
=
b_shape
.
strides
().
front
();
auto
sc
=
c_shape
.
strides
().
front
();
auto
i
=
v
.
get
(
"tuning_val"
,
get_tuning_for
(
inputs
));
auto
i
=
v
.
get
(
"tuning_val"
,
get_tuning_for
(
inputs
));
const
auto
&
instance
=
get_instance
(
i
,
[
&
](
const
auto
&
x
)
->
bool
{
const
auto
&
instance
=
get_instance
(
i
,
[
&
](
const
auto
&
x
)
->
bool
{
...
@@ -168,13 +164,7 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
...
@@ -168,13 +164,7 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
options
.
virtual_inputs
=
inputs
;
options
.
virtual_inputs
=
inputs
;
auto
src
=
interpolate_string
(
ck_gemm_kernel
,
auto
src
=
interpolate_string
(
ck_gemm_kernel
,
{{
"instance"
,
join_strings
(
instance
,
","
)},
{{
"instance"
,
join_strings
(
instance
,
","
)}});
{
"m"
,
to_string
(
m
)},
{
"k"
,
to_string
(
k
)},
{
"n"
,
to_string
(
n
)},
{
"sa"
,
to_string
(
sa
)},
{
"sb"
,
to_string
(
sb
)},
{
"sc"
,
to_string
(
sc
)}});
return
compile_hip_code_object
(
src
,
options
);
return
compile_hip_code_object
(
src
,
options
);
}
}
...
...
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