Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
e40f9c50
Commit
e40f9c50
authored
Feb 21, 2018
by
fenglei.tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add skip gpu test micro for new tests
parent
d673953e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
autodiff.in.cpp
test/autodiff.in.cpp
+3
-2
backend_test.in.cpp
test/backend_test.in.cpp
+0
-0
No files found.
test/autodiff.in.cpp
View file @
e40f9c50
...
@@ -1458,6 +1458,7 @@ TEST(${BACKEND_NAME}, backwards_reverse_3d_02)
...
@@ -1458,6 +1458,7 @@ TEST(${BACKEND_NAME}, backwards_reverse_3d_02)
TEST
(
$
{
BACKEND_NAME
},
backwards_maxpool_n4c1h4w4_kh2kw2_sh1sw1
)
TEST
(
$
{
BACKEND_NAME
},
backwards_maxpool_n4c1h4w4_kh2kw2_sh1sw1
)
{
{
SKIP_TEST_FOR
(
"GPU"
,
"${BACKEND_NAME}"
);
auto
manager
=
runtime
::
Manager
::
get
(
"${BACKEND_NAME}"
);
auto
manager
=
runtime
::
Manager
::
get
(
"${BACKEND_NAME}"
);
auto
backend
=
manager
->
allocate_backend
();
auto
backend
=
manager
->
allocate_backend
();
Shape
shape_a
{
4
,
1
,
4
,
4
};
//in NCHW
Shape
shape_a
{
4
,
1
,
4
,
4
};
//in NCHW
...
@@ -1500,6 +1501,7 @@ TEST(${BACKEND_NAME}, backwards_maxpool_n4c1h4w4_kh2kw2_sh1sw1)
...
@@ -1500,6 +1501,7 @@ TEST(${BACKEND_NAME}, backwards_maxpool_n4c1h4w4_kh2kw2_sh1sw1)
TEST
(
$
{
BACKEND_NAME
},
backwards_maxpool_n2c1h5w5_kh3kw3_sh2sw2
)
TEST
(
$
{
BACKEND_NAME
},
backwards_maxpool_n2c1h5w5_kh3kw3_sh2sw2
)
{
{
SKIP_TEST_FOR
(
"GPU"
,
"${BACKEND_NAME}"
);
auto
manager
=
runtime
::
Manager
::
get
(
"${BACKEND_NAME}"
);
auto
manager
=
runtime
::
Manager
::
get
(
"${BACKEND_NAME}"
);
auto
backend
=
manager
->
allocate_backend
();
auto
backend
=
manager
->
allocate_backend
();
...
@@ -1539,4 +1541,4 @@ TEST(${BACKEND_NAME}, backwards_maxpool_n2c1h5w5_kh3kw3_sh2sw2)
...
@@ -1539,4 +1541,4 @@ TEST(${BACKEND_NAME}, backwards_maxpool_n2c1h5w5_kh3kw3_sh2sw2)
auto
cf
=
backend
->
make_call_frame
(
external
);
auto
cf
=
backend
->
make_call_frame
(
external
);
cf
->
tensor_call
({
input
,
ep
},
{
output
});
cf
->
tensor_call
({
input
,
ep
},
{
output
});
ASSERT_TRUE
(
read_vector
<
float
>
(
output
)
==
expected
);
ASSERT_TRUE
(
read_vector
<
float
>
(
output
)
==
expected
);
}
}
\ No newline at end of file
test/backend_test.in.cpp
View file @
e40f9c50
This diff is collapsed.
Click to expand it.
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