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
c082fe1e
Commit
c082fe1e
authored
Feb 27, 2018
by
fenglei.tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nvrtc name in cmake, enable mkldnn only for CPU
parent
4e64e96f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
CMakeLists.txt
test/CMakeLists.txt
+2
-2
backend_test.in.cpp
test/backend_test.in.cpp
+1
-2
No files found.
test/CMakeLists.txt
View file @
c082fe1e
...
...
@@ -171,8 +171,8 @@ if(LLVM_INCLUDE_DIR)
endif
()
if
(
CUDA_INCLUDE_DIRS
)
find_library
(
CUDA_
nvrtc
_LIBRARY nvrtc /usr/local/cuda/lib64
)
target_link_libraries
(
unit-test
${
CUDA_
nvrtc
_LIBRARY
}
${
CUDA_LIBRARIES
}
${
CUDNN_LIBRARIES
}
${
CUDA_CUBLAS_LIBRARIES
}
)
find_library
(
CUDA_
NVRTC
_LIBRARY nvrtc /usr/local/cuda/lib64
)
target_link_libraries
(
unit-test
${
CUDA_
NVRTC
_LIBRARY
}
${
CUDA_LIBRARIES
}
${
CUDNN_LIBRARIES
}
${
CUDA_CUBLAS_LIBRARIES
}
)
endif
()
target_link_libraries
(
unit-test ngraph libgtest pthread
)
...
...
test/backend_test.in.cpp
View file @
c082fe1e
...
...
@@ -6244,8 +6244,7 @@ TEST(${BACKEND_NAME}, convolution_outlining)
TEST
(
$
{
BACKEND_NAME
},
mkldnn_layouts
)
{
SKIP_TEST_FOR
(
"GPU"
,
"${BACKEND_NAME}"
);
SKIP_TEST_FOR
(
"INTERPRETER"
,
"${BACKEND_NAME}"
);
ONLY_ENABLE_TEST_FOR
(
"CPU"
,
"${BACKEND_NAME"
);
Shape
shape_a
{
1
,
16
,
2
,
2
};
auto
A
=
make_shared
<
op
::
Parameter
>
(
element
::
f32
,
shape_a
);
Shape
shape_b
{
32
,
16
,
1
,
1
};
...
...
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