commit | 471171c4c94ced4b0421049d6949c13bdce256f7 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Thu Mar 28 19:15:36 2019 +0000 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Thu Mar 28 19:15:36 2019 +0000 |
tree | 87f2b2613af4be365f5667dab1e5d8321747f8f7 | |
parent | ceb3de5d25668f78b27f8d7e9f1d541eb6cd4ce2 [diff] |
[OPENMP]Add check for undefined behavior with thread allocators on target and task-based directives. According to OpenMP 5.0, 2.11.4 allocate Clause, Restrictions, For task, taskloop or target directives, allocation requests to memory allocators with the trait access set to thread result in unspecified behavior. Patch introduces a check for omp_thread_mem_alloc predefined allocator on target- and trask-based directives. llvm-svn: 357205