diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:23 +0000 |
| commit | 0c75eea8f661a82866688fd1fc4465883c4dd7d5 (patch) | |
| tree | 96848f3b7cc25f95142a52b6dd2ba93f1de6e413 /lib/CodeGen/CGOpenMPRuntimeNVPTX.h | |
| parent | bab175ec4b075c8076ba14c762900392533f6ee4 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/CGOpenMPRuntimeNVPTX.h')
| -rw-r--r-- | lib/CodeGen/CGOpenMPRuntimeNVPTX.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/CodeGen/CGOpenMPRuntimeNVPTX.h b/lib/CodeGen/CGOpenMPRuntimeNVPTX.h index e18d28cdda9f1..a33fb27579f65 100644 --- a/lib/CodeGen/CGOpenMPRuntimeNVPTX.h +++ b/lib/CodeGen/CGOpenMPRuntimeNVPTX.h @@ -50,38 +50,6 @@ public: private: // - // NVPTX calls. - // - - /// \brief Get the GPU warp size. - llvm::Value *getNVPTXWarpSize(CodeGenFunction &CGF); - - /// \brief Get the id of the current thread on the GPU. - llvm::Value *getNVPTXThreadID(CodeGenFunction &CGF); - - // \brief Get the maximum number of threads in a block of the GPU. - llvm::Value *getNVPTXNumThreads(CodeGenFunction &CGF); - - /// \brief Get barrier to synchronize all threads in a block. - void getNVPTXCTABarrier(CodeGenFunction &CGF); - - // \brief Synchronize all GPU threads in a block. - void syncCTAThreads(CodeGenFunction &CGF); - - // - // OMP calls. - // - - /// \brief Get the thread id of the OMP master thread. - /// The master thread id is the first thread (lane) of the last warp in the - /// GPU block. Warp size is assumed to be some power of 2. - /// Thread id is 0 indexed. - /// E.g: If NumThreads is 33, master id is 32. - /// If NumThreads is 64, master id is 32. - /// If NumThreads is 1024, master id is 992. - llvm::Value *getMasterThreadID(CodeGenFunction &CGF); - - // // Private state and methods. // |
