Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 82259f8f authored by Thierry's avatar Thierry
Browse files

Fix problem with undefined OMP_PLACES

parent 8c95d25a
No related branches found
No related tags found
No related merge requests found
......@@ -828,6 +828,7 @@ void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) {
KMP_MB(); /* Flush all pending memory write invalidates. */
#if 0 /*TG: comment part of this code. kmp_affinit_set_place could be called if OMP_PLACES not set. (assert)*/
/* move this code from thread code __kmp_launch_worker to here in order to set the righ
affinity mask at thread creation.
*/
......@@ -837,6 +838,7 @@ void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) {
__kmp_affinity_set_place( gtid );
# endif
#endif
#endif
#ifdef KMP_THREAD_ATTR
status = pthread_attr_init(&thread_attr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment