Go to file
Carlo Bertolli c687225b43 [OPENMP] Codegen for teams directive for NVPTX
This patch implements the teams directive for the NVPTX backend. It is different from the host code generation path as it:

Does not call kmpc_fork_teams. All necessary teams and threads are started upon touching the target region, when launching a CUDA kernel, and their execution is coordinated through sequential and parallel regions within the target region.
Does not call kmpc_push_num_teams even if a num_teams of thread_limit clause is present. Setting the number of teams and the thread limit is implemented by the nvptx-related runtime.
Please note that I am now passing a Clang Expr * to emitPushNumTeams instead of the originally chosen llvm::Value * type. The reason for that is that I want to avoid emitting expressions for num_teams and thread_limit if they are not needed in the target region.

http://reviews.llvm.org/D17963

llvm-svn: 265304
2016-04-04 15:55:02 +00:00
clang [OPENMP] Codegen for teams directive for NVPTX 2016-04-04 15:55:02 +00:00
clang-tools-extra [clang-tidy] Reduce false-positive ratio in misc-suspicious-missing-comma check. 2016-04-04 15:46:38 +00:00
compiler-rt [asan,tsan] Make Darwin-specific tests more stable (use ignore_interceptors_accesses=1 for GCD tests and printf instead of NSLog). 2016-04-04 14:54:05 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update copyright year to 2016. 2016-03-30 22:39:03 +00:00
libcxx Fix LWG issue 2469 - Use piecewise construction in map::operator[]. 2016-03-31 03:13:37 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Try to fix the windows build. 2016-04-04 14:31:20 +00:00
lldb Make FileSpec handling platform-independent 2016-04-04 14:39:12 +00:00
llgo [llgo] add USES_TERMINAL option to check-libgo 2016-03-30 00:29:33 +00:00
llvm [mips] Range check simm32 and fold MIPS16's imm32 into simm32. 2016-04-04 15:32:49 +00:00
openmp Fix bug when KMP_USE_ADAPTIVE_LOCKS is 0 2016-03-30 21:50:59 +00:00
polly Do not allow to complex branch conditions 2016-04-04 07:59:41 +00:00