Commit da773e45 by Marcus Winter

dataflow_cpp: small fix to test and example

parent 9bcc7d15
...@@ -156,7 +156,7 @@ void SimpleTest::TestBasic() { ...@@ -156,7 +156,7 @@ void SimpleTest::TestBasic() {
embb::mtapi::NodeAttributes node_attr; embb::mtapi::NodeAttributes node_attr;
node_attr node_attr
.SetCoreAffinity(core_set) .SetCoreAffinity(core_set)
.SetQueueLimit(2); .SetMaxQueues(2);
embb::mtapi::Node::Initialize( embb::mtapi::Node::Initialize(
MTAPI_DOMAIN_ID, MTAPI_DOMAIN_ID,
MTAPI_NODE_ID, MTAPI_NODE_ID,
......
status = task.Wait(MTAPI_INFINITE); mtapi_status_t task_status = task.Wait(MTAPI_INFINITE);
if (status != MTAPI_SUCCESS) { if (task_status != MTAPI_SUCCESS) {
printf("task failed with error: %d\n\n", status); printf("task failed with error: %d\n\n", task_status);
exit(status); exit(task_status);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment