]> granicus.if.org Git - clang/commit
[OpenMP] Support the 'is_device_ptr' clause with 'target parallel for simd' pragma
authorKelvin Li <kkwli0@gmail.com>
Tue, 10 Jan 2017 04:26:44 +0000 (04:26 +0000)
committerKelvin Li <kkwli0@gmail.com>
Tue, 10 Jan 2017 04:26:44 +0000 (04:26 +0000)
commit59a054450c47ffb2e16c15c9afa10e0da081ee48
tree02cfafb62cfbb58b006cfa6020877befa58905dd
parentf20949c9d512ce322bbba7d4427b1ae9ff3794fe
[OpenMP] Support the 'is_device_ptr' clause with 'target parallel for simd' pragma

This patch is to add support of the 'is_device_ptr' clause with the 'target parallel for simd' pragma.

Differential Revision: https://reviews.llvm.org/D28402

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291537 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/OpenMPKinds.def
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_parallel_for_simd_is_device_ptr_ast_print.cpp [new file with mode: 0644]
test/OpenMP/target_parallel_for_simd_is_device_ptr_messages.cpp [new file with mode: 0644]