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
fef5bd9d
"examples/vscode:/vscode.git/clone" did not exist on "63bf16093cc1bfb1abfacb7dc10a3c73a3dd0530"
Commit
fef5bd9d
authored
Nov 14, 2023
by
Ted Themistokleous
Browse files
Format 2
parent
28126c4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/fuse_pointwise.cpp
test/fuse_pointwise.cpp
+1
-1
test/simplify_algebra_test.cpp
test/simplify_algebra_test.cpp
+1
-1
No files found.
test/fuse_pointwise.cpp
View file @
fef5bd9d
...
...
@@ -414,7 +414,7 @@ TEST_CASE(add_reshape_add_nonstandard)
auto
y
=
mm
->
add_parameter
(
"y"
,
s1
);
auto
z
=
mm
->
add_parameter
(
"z"
,
s2
);
auto
add1
=
mm
->
add_instruction
(
migraphx
::
make_op
(
"add"
),
x
,
y
);
auto
reshape
=
auto
reshape
=
mm
->
add_instruction
(
migraphx
::
make_op
(
"reshape"
,
{{
"dims"
,
s2
.
lens
()}}),
add1
);
auto
add2
=
mm
->
add_instruction
(
migraphx
::
make_op
(
"add"
),
reshape
,
z
);
mm
->
add_return
({
add2
});
...
...
test/simplify_algebra_test.cpp
View file @
fef5bd9d
...
...
@@ -2691,7 +2691,7 @@ void reorder_reshape_slice()
{
s = migraphx::shape{migraphx::shape::float_type, {BS, 128, 1920}, {165120, 1, 128}};
}
auto
input
=
m2
.
add_parameter
(
"input"
,
s
);
auto input
= m2.add_parameter("input", s);
auto rsp_input = input;
std::vector<int64_t> lens = {static_cast<int64_t>(BS), 128, 30, 64};
auto r = m2.add_instruction(migraphx::make_op("reshape", {{"dims", lens}}), rsp_input);
...
...
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