mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[OPENMP50]Initial support for use_device_addr clause.
Summary: Added parsing/sema analysis/serialization support for use_device_addr clauses. Reviewers: jdoerfert Subscribers: yaxunl, guansong, arphaman, sstefan1, llvm-commits, cfe-commits, caomhin Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D80404
This commit is contained in:
parent
aa7eac2e43
commit
a216c97bbe
@ -198,6 +198,7 @@ __OMP_CLAUSE(inclusive, OMPInclusiveClause)
|
||||
__OMP_CLAUSE(exclusive, OMPExclusiveClause)
|
||||
__OMP_CLAUSE(uses_allocators, OMPUsesAllocatorsClause)
|
||||
__OMP_CLAUSE(affinity, OMPAffinityClause)
|
||||
__OMP_CLAUSE(use_device_addr, OMPUseDeviceAddrClause)
|
||||
|
||||
__OMP_CLAUSE_NO_CLASS(uniform)
|
||||
__OMP_CLAUSE_NO_CLASS(device_type)
|
||||
@ -904,6 +905,7 @@ __OMP_DIRECTIVE_CLAUSE(target_data, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_data, 1, ~0, device)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_data, 1, ~0, map)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_data, 1, ~0, use_device_ptr)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_data, 50, ~0, use_device_addr)
|
||||
|
||||
__OMP_DIRECTIVE_CLAUSE(target_enter_data, 1, ~0, if)
|
||||
__OMP_DIRECTIVE_CLAUSE(target_enter_data, 1, ~0, device)
|
||||
|
Loading…
Reference in New Issue
Block a user