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
59a0b0ce
"docs/en_US/vscode:/vscode.git/clone" did not exist on "ee25377d3644c65e5077bb5ec7b870f32f149bcd"
Commit
59a0b0ce
authored
Sep 27, 2023
by
Alan Turner
Browse files
Format and cppcheck
parent
e781c38a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/fuse_ck.cpp
src/targets/gpu/fuse_ck.cpp
+2
-2
No files found.
src/targets/gpu/fuse_ck.cpp
View file @
59a0b0ce
...
@@ -95,8 +95,8 @@ struct ck_gemm_softmax_gemm
...
@@ -95,8 +95,8 @@ struct ck_gemm_softmax_gemm
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
,
const
std
::
vector
<
module_ref
>&
)
const
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
,
const
std
::
vector
<
module_ref
>&
)
const
{
{
check_shapes
{
inputs
,
*
this
}.
same_ndims
();
check_shapes
{
inputs
,
*
this
}.
same_ndims
();
if
(
inputs
.
size
()
<
2
)
if
(
inputs
.
size
()
<
3
)
MIGRAPHX_THROW
(
"
should have at least two inputs."
);
MIGRAPHX_THROW
(
"
Expected 3 inputs but got "
+
to_string
(
inputs
.
size
())
);
auto
a
=
inputs
[
0
];
auto
a
=
inputs
[
0
];
auto
b
=
inputs
[
1
];
auto
b
=
inputs
[
1
];
auto
b1
=
inputs
[
2
];
auto
b1
=
inputs
[
2
];
...
...
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