-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ATL fix for verbs provider and some minor fixes #5
base: devel
Are you sure you want to change the base?
Conversation
src/fam_atl.cpp
Outdated
@@ -69,7 +69,7 @@ namespace openfam { | |||
#define RETURN_WITH_FAM_EXCEPTION \ | |||
} \ | |||
catch (Fam_Exception & e) { \ | |||
throw e; \ | |||
throw e; \ |
There was a problem hiding this comment.
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 ?
@@ -501,8 +501,8 @@ int atl_finalize() { | |||
|
|||
if (serverAddrName) free(serverAddrName); | |||
|
|||
if (defaultCtx != NULL) | |||
delete defaultCtx; | |||
//if (defaultCtx != NULL) |
There was a problem hiding this comment.
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
@@ -599,10 +599,11 @@ int fam_get_atomic(void *local, Fam_Descriptor *descriptor, | |||
|
|||
uint64_t nodeId = descriptor->get_memserver_id(); | |||
Fam_Context *ATLCtx = get_defaultCtx(nodeId); | |||
//uint64_t ATLBaseAddr = (uint64_t)descriptor->get_base_address(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented code,please remove
test/fam_SG_ATL.cpp
Outdated
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct the print message
test/fam_SG_ATL.cpp
Outdated
@@ -164,6 +191,9 @@ int main() { | |||
memset(msg2, 0, 200); | |||
start = std::chrono::high_resolution_clock::now(); | |||
myatlib->fam_gather_atomic(msg2, item1, 5, indexes, 2); | |||
} catch (Fam_Exception &e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run git clang-format
ATL Fix for Scale out System and fixes for #3 & #4