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
32b1fda9
"test/srt/git@developer.sourcefind.cn:change/sglang.git" did not exist on "34b6b8426f9d4eb44fc7922284f54a9f26b0e600"
Commit
32b1fda9
authored
Jun 13, 2018
by
Paul
Browse files
Formatting
parent
de13ac71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/miopen/miopen.cpp
test/miopen/miopen.cpp
+1
-1
No files found.
test/miopen/miopen.cpp
View file @
32b1fda9
...
@@ -93,7 +93,7 @@ std::vector<float> cpu()
...
@@ -93,7 +93,7 @@ std::vector<float> cpu()
auto
x
=
get_tensor_argument_cpu
({
rtg
::
shape
::
float_type
,
{
4
,
3
,
3
,
3
}});
auto
x
=
get_tensor_argument_cpu
({
rtg
::
shape
::
float_type
,
{
4
,
3
,
3
,
3
}});
auto
w
=
get_tensor_argument_cpu
({
rtg
::
shape
::
float_type
,
{
4
,
3
,
3
,
3
}});
auto
w
=
get_tensor_argument_cpu
({
rtg
::
shape
::
float_type
,
{
4
,
3
,
3
,
3
}});
p
.
compile
(
rtg
::
cpu
::
cpu_target
{});
p
.
compile
(
rtg
::
cpu
::
cpu_target
{});
auto
r
=
p
.
eval
({{
"x"
,
x
},
{
"w"
,
w
}});
auto
r
=
p
.
eval
({{
"x"
,
x
},
{
"w"
,
w
}});
auto
output
=
r
.
get
<
float
>
();
auto
output
=
r
.
get
<
float
>
();
result
.
assign
(
output
.
begin
(),
output
.
end
());
result
.
assign
(
output
.
begin
(),
output
.
end
());
return
result
;
return
result
;
...
...
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