]> granicus.if.org Git - clang/commit
[OPENMP][NVPTX] Add support for lightweight runtime.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 29 Aug 2018 18:32:21 +0000 (18:32 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 29 Aug 2018 18:32:21 +0000 (18:32 +0000)
commitd9c61e0b6257db414f03ae1917ff3289c215e213
tree2b7ec395c7717e77e62651a753758777a8158366
parentf4fb4ed5a4f27389923065826e805ed1dc285f7a
[OPENMP][NVPTX] Add support for lightweight runtime.

If the target construct can be executed in SPMD mode + it is a loop
based directive with static scheduling, we can use lightweight runtime
support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340953 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CGOpenMPRuntimeNVPTX.h
test/OpenMP/declare_target_codegen_globalization.cpp
test/OpenMP/nvptx_SPMD_codegen.cpp [new file with mode: 0644]
test/OpenMP/nvptx_target_codegen.cpp
test/OpenMP/nvptx_target_parallel_codegen.cpp
test/OpenMP/nvptx_target_parallel_proc_bind_codegen.cpp
test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
test/OpenMP/nvptx_target_teams_codegen.cpp
test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp