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
ea832ee9
authored
Apr 01, 2015
by
Christian Kern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust pathes for snippets
parent
2e9fff9a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
doc/examples/mtapi/mtapi_c_network-fragmented.cc
+7
-7
doc/examples/mtapi/mtapi_c_opencl-fragmented.cc
+6
-6
doc/examples/mtapi/mtapi_c_plugin-fragmented.cc
+8
-8
No files found.
doc/examples/mtapi/mtapi_c_network-fragmented.cc
View file @
ea832ee9
...
...
@@ -25,10 +25,10 @@
*/
#include <embb/mtapi/c/mtapi.h>
#include "mtapi_network_c_header-snippet.h"
#include "mtapi
/mtapi
_network_c_header-snippet.h"
#include <embb/base/c/internal/unused.h>
#include "mtapi_check_status-snippet.h"
#include "mtapi
/mtapi
_check_status-snippet.h"
#define NETWORK_DOMAIN 1
#define NETWORK_LOCAL_NODE 3
...
...
@@ -36,7 +36,7 @@
#define NETWORK_REMOTE_NODE 3
#define NETWORK_REMOTE_JOB 4
#include "mtapi_network_c_action_function-snippet.h"
#include "mtapi
/mtapi
_network_c_action_function-snippet.h"
void
RunMTAPI_C_Network
()
{
mtapi_status_t
status
;
...
...
@@ -61,13 +61,13 @@ void RunMTAPI_C_Network() {
&
status
);
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_network_c_plugin_initialize-snippet.h"
#include "mtapi
/mtapi
_network_c_plugin_initialize-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_network_c_remote_action_create-snippet.h"
#include "mtapi
/mtapi
_network_c_remote_action_create-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_network_c_local_action_create-snippet.h"
#include "mtapi
/mtapi
_network_c_local_action_create-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
job
=
mtapi_job_get
(
NETWORK_LOCAL_JOB
,
NETWORK_DOMAIN
,
&
status
);
...
...
@@ -94,7 +94,7 @@ void RunMTAPI_C_Network() {
}
}
#include "mtapi_network_c_plugin_finalize-snippet.h"
#include "mtapi
/mtapi
_network_c_plugin_finalize-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
mtapi_finalize
(
&
status
);
...
...
doc/examples/mtapi/mtapi_c_opencl-fragmented.cc
View file @
ea832ee9
...
...
@@ -25,16 +25,16 @@
*/
#include <embb/mtapi/c/mtapi.h>
#include "mtapi_opencl_c_header-snippet.h"
#include "mtapi
/mtapi
_opencl_c_header-snippet.h"
#include "mtapi_check_status-snippet.h"
#include "mtapi
/mtapi
_check_status-snippet.h"
#define OPENCL_DOMAIN 1
#define OPENCL_NODE 2
#define OPENCL_JOB 2
// OpenCL Kernel Function for element by element vector addition
#include "mtapi_opencl_c_kernel-snippet.h"
#include "mtapi
/mtapi
_opencl_c_kernel-snippet.h"
void
RunMTAPI_C_OpenCL
()
{
mtapi_status_t
status
;
...
...
@@ -59,10 +59,10 @@ void RunMTAPI_C_OpenCL() {
&
status
);
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_opencl_c_plugin_initialize-snippet.h"
#include "mtapi
/mtapi
_opencl_c_plugin_initialize-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_opencl_c_action_create-snippet.h"
#include "mtapi
/mtapi
_opencl_c_action_create-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
status
=
MTAPI_ERR_UNKNOWN
;
...
...
@@ -90,7 +90,7 @@ void RunMTAPI_C_OpenCL() {
}
}
#include "mtapi_opencl_c_plugin_finalize-snippet.h"
#include "mtapi
/mtapi
_opencl_c_plugin_finalize-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
mtapi_finalize
(
&
status
);
...
...
doc/examples/mtapi/mtapi_c_plugin-fragmented.cc
View file @
ea832ee9
...
...
@@ -42,15 +42,15 @@
#define PLUGIN_NODE_ID 1
#define PLUGIN_JOB_ID 1
#include "mtapi_check_status-snippet.h"
#include "mtapi
/mtapi
_check_status-snippet.h"
#include "mtapi_c_plugin_task_schedule-snippet.h"
#include "mtapi
/mtapi
_c_plugin_task_schedule-snippet.h"
#include "mtapi_c_plugin_task_start_cb-snippet.h"
#include "mtapi
/mtapi
_c_plugin_task_start_cb-snippet.h"
#include "mtapi_c_plugin_task_cancel_cb-snippet.h"
#include "mtapi
/mtapi
_c_plugin_task_cancel_cb-snippet.h"
#include "mtapi_c_plugin_action_finalize_cb-snippet.h"
#include "mtapi
/mtapi
_c_plugin_action_finalize_cb-snippet.h"
void
RunMTAPI_C_Plugin
()
{
mtapi_status_t
status
;
...
...
@@ -66,13 +66,13 @@ void RunMTAPI_C_Plugin() {
&
status
);
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_c_plugin_action_create-snippet.h"
#include "mtapi
/mtapi
_c_plugin_action_create-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_c_plugin_get_job-snippet.h"
#include "mtapi
/mtapi
_c_plugin_get_job-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
#include "mtapi_c_plugin_task_start-snippet.h"
#include "mtapi
/mtapi
_c_plugin_task_start-snippet.h"
MTAPI_CHECK_STATUS
(
status
);
mtapi_task_wait
(
task
,
MTAPI_INFINITE
,
&
status
);
...
...
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