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
60c8cc84
authored
Sep 30, 2016
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed wrong compile flag name.
parent
27d1dbb1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
mtapi_c/include/embb/mtapi/c/mtapi.h
+2
-2
mtapi_c/src/embb_mtapi_scheduler_t.h
+1
-1
mtapi_cpp/src/execution_policy.cc
+4
-4
No files found.
mtapi_c/include/embb/mtapi/c/mtapi.h
View file @
60c8cc84
...
@@ -698,10 +698,10 @@ enum mtapi_node_attributes_enum {
...
@@ -698,10 +698,10 @@ enum mtapi_node_attributes_enum {
#define MTAPI_NODE_REUSE_MAIN_THREAD_SIZE sizeof(mtapi_boolean_t)
#define MTAPI_NODE_REUSE_MAIN_THREAD_SIZE sizeof(mtapi_boolean_t)
/** size of the \a MTAPI_NODE_WORKER_PRIORITIES attribute */
/** size of the \a MTAPI_NODE_WORKER_PRIORITIES attribute */
#define MTAPI_NODE_WORKER_PRIORITIES_SIZE 0
#define MTAPI_NODE_WORKER_PRIORITIES_SIZE 0
#ifdef EMBB_
MTAPI_
HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
/** size of the \a MTAPI_NODE_SCHEDULER_MODE attribute */
/** size of the \a MTAPI_NODE_SCHEDULER_MODE attribute */
#define MTAPI_NODE_SCHEDULER_MODE sizeof(embb_mtapi_scheduler_mode_t)
#define MTAPI_NODE_SCHEDULER_MODE sizeof(embb_mtapi_scheduler_mode_t)
#endif
/*EMBB_
MTAPI_
HARD_REALTIME*/
#endif
/*EMBB_HARD_REALTIME*/
/* example attribute value */
/* example attribute value */
...
...
mtapi_c/src/embb_mtapi_scheduler_t.h
View file @
60c8cc84
...
@@ -61,7 +61,7 @@ enum embb_mtapi_scheduler_mode_enum {
...
@@ -61,7 +61,7 @@ enum embb_mtapi_scheduler_mode_enum {
WORK_STEAL_LF
=
1
,
WORK_STEAL_LF
=
1
,
NUM_SCHEDULER_MODES
NUM_SCHEDULER_MODES
};
};
#endif
/*EMBB_
MTAPI_
HARD_REALTIME*/
#endif
/*EMBB_HARD_REALTIME*/
/**
/**
* Scheduler mode type.
* Scheduler mode type.
...
...
mtapi_cpp/src/execution_policy.cc
View file @
60c8cc84
...
@@ -35,7 +35,7 @@ namespace mtapi {
...
@@ -35,7 +35,7 @@ namespace mtapi {
ExecutionPolicy
::
ExecutionPolicy
()
:
ExecutionPolicy
::
ExecutionPolicy
()
:
priority_
(
DefaultPriority
)
priority_
(
DefaultPriority
)
#ifdef
MTAPI
_HARD_REALTIME
#ifdef
EMBB
_HARD_REALTIME
,
deadline_
(
DefaultDeadline
)
,
deadline_
(
DefaultDeadline
)
#endif
#endif
{
{
...
@@ -52,7 +52,7 @@ ExecutionPolicy::ExecutionPolicy() :
...
@@ -52,7 +52,7 @@ ExecutionPolicy::ExecutionPolicy() :
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
,
mtapi_uint_t
priority
)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
,
mtapi_uint_t
priority
)
:
priority_
(
priority
)
:
priority_
(
priority
)
#ifdef
MTAPI
_HARD_REALTIME
#ifdef
EMBB
_HARD_REALTIME
,
deadline_
(
DefaultDeadline
)
,
deadline_
(
DefaultDeadline
)
#endif
#endif
{
{
...
@@ -70,7 +70,7 @@ ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
...
@@ -70,7 +70,7 @@ ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
ExecutionPolicy
::
ExecutionPolicy
(
mtapi_uint_t
priority
)
ExecutionPolicy
::
ExecutionPolicy
(
mtapi_uint_t
priority
)
:
priority_
(
priority
)
:
priority_
(
priority
)
#ifdef
MTAPI
_HARD_REALTIME
#ifdef
EMBB
_HARD_REALTIME
,
deadline_
(
DefaultDeadline
)
,
deadline_
(
DefaultDeadline
)
#endif
#endif
{
{
...
@@ -102,7 +102,7 @@ ExecutionPolicy::ExecutionPolicy(mtapi_uint64_t deadline)
...
@@ -102,7 +102,7 @@ ExecutionPolicy::ExecutionPolicy(mtapi_uint64_t deadline)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
)
ExecutionPolicy
::
ExecutionPolicy
(
bool
initial_affinity
)
:
priority_
(
DefaultPriority
)
:
priority_
(
DefaultPriority
)
#ifdef
MTAPI
_HARD_REALTIME
#ifdef
EMBB
_HARD_REALTIME
,
deadline_
(
DefaultDeadline
)
,
deadline_
(
DefaultDeadline
)
#endif
#endif
{
{
...
...
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