Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
33f07ad7
authored
Mar 31, 2015
by
Christian Kern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Only run opencl tests if opencl is installed. Otherwise skip those tests."
This reverts commit
fca2298d
.
parent
fca2298d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
20 deletions
+3
-20
doc/examples/main.cc
+1
-9
mtapi_opencl_c/test/main.cc
+2
-11
No files found.
doc/examples/main.cc
View file @
33f07ad7
...
...
@@ -26,7 +26,6 @@
#include <iostream>
#include <embb/base/c/thread.h>
#include "../../mtapi_opencl_c/src/embb_mtapi_opencl_runtimelinker.h"
void
RunMTAPI_C
();
void
RunMTAPI_C_Plugin
();
...
...
@@ -68,14 +67,7 @@ int main() {
std
::
cout
<<
"RunMTAPI_C_Network() ... done"
<<
std
::
endl
;
std
::
cout
<<
"RunMTAPI_C_OpenCL() ..."
<<
std
::
endl
;
if
(
embb_mtapi_opencl_link_at_runtime
()
!=
0
)
{
RunMTAPI_C_OpenCL
();
}
else
{
::
std
::
cout
<<
"! Skipping OpenCL tests, as OpenCL is not installed on your system."
<<
::
std
::
endl
;
}
RunMTAPI_C_OpenCL
();
std
::
cout
<<
"RunMTAPI_C_OpenCL() ... done"
<<
std
::
endl
;
std
::
cout
<<
"RunMTAPI_CPP() ..."
<<
std
::
endl
;
...
...
mtapi_opencl_c/test/main.cc
View file @
33f07ad7
...
...
@@ -29,17 +29,8 @@
#include <embb_mtapi_opencl_test_linker.h>
#include <embb_mtapi_opencl_test_task.h>
#include <embb_mtapi_opencl_runtimelinker.h>
PT_MAIN
(
"MTAPI OPENCL"
)
{
if
(
embb_mtapi_opencl_link_at_runtime
()
!=
0
)
{
PT_RUN
(
LinkerTest
);
PT_RUN
(
TaskTest
);
}
else
{
::
std
::
cout
<<
"! Skipping OpenCL tests, as OpenCL is not installed on your system."
<<
::
std
::
endl
;
}
PT_RUN
(
LinkerTest
);
PT_RUN
(
TaskTest
);
}
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