Skip to content

ATL fix for verbs provider and some minor fixes#5

Open
rajakrishi wants to merge 2 commits intoOpenFAM:develfrom
rajakrishi:devel
Open

ATL fix for verbs provider and some minor fixes#5
rajakrishi wants to merge 2 commits intoOpenFAM:develfrom
rajakrishi:devel

Conversation

@rajakrishi
Copy link

ATL Fix for Scale out System and fixes for #3 & #4

src/fam_atl.cpp Outdated
} \
catch (Fam_Exception & e) { \
throw e; \
throw e; \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the spacing right ? Why is this line modified ?


if (defaultCtx != NULL)
delete defaultCtx;
//if (defaultCtx != NULL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a TODO comment on why this is commented out ?

src/fam_atl.cpp Outdated

uint64_t nodeId = descriptor->get_memserver_id();
Fam_Context *ATLCtx = get_defaultCtx(nodeId);
//uint64_t ATLBaseAddr = (uint64_t)descriptor->get_base_address();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented code,please remove

try {
myatlib->fam_scatter_atomic(msg1, item1, 5, 1, 2, 2);
} catch (Fam_Exception &e) {
cout << "Scatter atomic not found" << e.fam_error_msg() << endl;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct the print message

memset(msg2, 0, 200);
start = std::chrono::high_resolution_clock::now();
myatlib->fam_gather_atomic(msg2, item1, 5, indexes, 2);
} catch (Fam_Exception &e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run git clang-format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments