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
c343c534
Commit
c343c534
authored
Oct 07, 2022
by
Paul
Browse files
Use get
parent
19a570a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/targets/gpu/jit/ck_gemm.cpp
src/targets/gpu/jit/ck_gemm.cpp
+1
-4
No files found.
src/targets/gpu/jit/ck_gemm.cpp
View file @
c343c534
...
...
@@ -117,7 +117,6 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
};
// clang-format on
const
std
::
vector
<
block_settings
>
params
{{
256
,
256
,
128
},
{
256
,
256
,
128
},
{
256
,
128
,
256
},
...
...
@@ -139,9 +138,7 @@ struct ck_gemm_compiler : compiler<ck_gemm_compiler>
operation
compile_op
(
context
&
/* ctx */
,
const
std
::
vector
<
shape
>&
inputs
,
const
value
&
v
)
const
{
int
i
=
4
;
if
(
contains
(
v
,
"tuning_val"
))
i
=
v
.
at
(
"tuning_val"
).
to
<
int
>
();
int
i
=
v
.
get
(
"tuning_val"
,
4
);
assert
(
i
>=
0
and
i
<
instances
.
size
());
hip_compile_options
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