mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[OPENMP50]Basic support for uses_allocators clause.
Summary: Added parsing/sema/serialization supoprt for uses_allocators clause. Reviewers: jdoerfert Subscribers: yaxunl, guansong, arphaman, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D78577
This commit is contained in:
parent
ef96f15e63
commit
95c0ce24ff
@ -196,6 +196,7 @@ __OMP_CLAUSE(destroy, OMPDestroyClause)
|
||||
__OMP_CLAUSE(detach, OMPDetachClause)
|
||||
__OMP_CLAUSE(inclusive, OMPInclusiveClause)
|
||||
__OMP_CLAUSE(exclusive, OMPExclusiveClause)
|
||||
__OMP_CLAUSE(uses_allocators, OMPUsesAllocatorsClause)
|
||||
|
||||
__OMP_CLAUSE_NO_CLASS(uniform)
|
||||
__OMP_CLAUSE_NO_CLASS(device_type)
|
||||
@ -887,6 +888,7 @@ __OMP_DIRECTIVE_CLAUSE(target, 1, ~0, firstprivate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target, 1, ~0, is_device_ptr)
|
||||
__OMP_DIRECTIVE_CLAUSE(target, 1, ~0, reduction)
|
||||
__OMP_DIRECTIVE_CLAUSE(target, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(requires, 1, ~0, unified_address)
|
||||
__OMP_DIRECTIVE_CLAUSE(requires, 1, ~0, unified_shared_memory)
|
||||
@ -928,6 +930,7 @@ __OMP_DIRECTIVE_CLAUSE(target_parallel, 1, ~0, shared)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel, 1, ~0, reduction)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel, 1, ~0, is_device_ptr)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 1, ~0, device)
|
||||
@ -950,6 +953,7 @@ __OMP_DIRECTIVE_CLAUSE(target_parallel_for, 1, ~0, linear)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 1, ~0, is_device_ptr)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_update, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_update, 1, ~0, device)
|
||||
@ -1187,6 +1191,7 @@ __OMP_DIRECTIVE_CLAUSE(target_parallel_for_simd, 1, ~0, is_device_ptr)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for_simd, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for_simd, 50, ~0, nontemporal)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for_simd, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_parallel_for_simd, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 1, ~0, device)
|
||||
@ -1207,6 +1212,7 @@ __OMP_DIRECTIVE_CLAUSE(target_simd, 1, ~0, reduction)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 50, ~0, nontemporal)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_simd, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(teams_distribute, 1, ~0, default)
|
||||
__OMP_DIRECTIVE_CLAUSE(teams_distribute, 1, ~0, private)
|
||||
@ -1294,6 +1300,7 @@ __OMP_DIRECTIVE_CLAUSE(target_teams, 1, ~0, reduction)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams, 1, ~0, num_teams)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams, 1, ~0, thread_limit)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, device)
|
||||
@ -1313,6 +1320,7 @@ __OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, lastprivate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, collapse)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, dist_schedule)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 1, ~0, device)
|
||||
@ -1340,6 +1348,8 @@ __OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 1, ~0, proc_bind)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 1, ~0, schedule)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for, 50, ~0,
|
||||
uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 1, ~0, device)
|
||||
@ -1387,6 +1397,8 @@ __OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 1, ~0,
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 50, ~0,
|
||||
nontemporal)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_parallel_for_simd, 50, ~0,
|
||||
uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 1, ~0, device)
|
||||
@ -1411,6 +1423,7 @@ __OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 1, ~0, simdlen)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 1, ~0, allocate)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 50, ~0, nontemporal)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 50, ~0, order)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_teams_distribute_simd, 50, ~0, uses_allocators)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(taskgroup, 1, ~0, task_reduction)
|
||||
__OMP_DIRECTIVE_CLAUSE(taskgroup, 1, ~0, allocate)
|
||||
|
Loading…
Reference in New Issue
Block a user