-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update bml_allocate.c #376
Conversation
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.
Could you fix the indentation?
src/C-interface/bml_allocate.c
Outdated
@@ -54,6 +54,7 @@ bml_allocate_memory( | |||
#elif defined(HAVE_POSIX_MEMALIGN) | |||
char *ptr; | |||
posix_memalign((void **) &ptr, MALLOC_ALIGNMENT, size); | |||
#pragma omp parallel for simd |
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.
I think the change is fine, however, this raises the compiler requirement to OpenMP >= 4.0
, which means gcc >= 4.9
. Right now we are still testing with gcc-4.7
. In terms of Ubuntu this excludes only Trusty (14.04) which is probably not a big issue.
This PR is stale because it has been open for 90 days with no activity. |
51d6d2b
to
67b216a
Compare
67b216a
to
aa8e2db
Compare
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.
👍🏾
Modified HAVE_POSIX_MEMALIGN macro for first touch. Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
aa8e2db
to
eb83935
Compare
modified HAVE_POSIX_MEMALIGN macro for first touch
This change is