[OPENMP, NVPTX] Added support for L2 parallelism.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 May 2018 14:50:05 +0000 (14:50 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 May 2018 14:50:05 +0000 (14:50 +0000)
commitd7ff6d647f765ee8ce26d446a0cdd1f03d43e6dd
treea9c06047a5ac728d12872113e9cda85606a4621a
parent4a0f2c5047f59e8420dd04b2c453cc74a3d8963c
[OPENMP, NVPTX] Added support for L2 parallelism.

Added initial codegen for level 2, 3 etc. parallelism. Currently, all
the second, the third etc. parallel regions will run sequentially.

llvm-svn: 331642
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/OpenMP/nvptx_target_codegen.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp