Your browser does not fully support modern features. Please upgrade for a smoother experience.
Submitted Successfully!
Thank you for your contribution! You can also upload a video entry or images related to this topic. For video creation, please contact our Academic Video Service.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki Camila Xu -- 1702 2022-11-29 01:31:01

Video Upload Options

We provide professional Academic Video Service to translate complex research into visually appealing presentations. Would you like to try it?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Thread Block. Encyclopedia. Available online: https://encyclopedia.pub/entry/37105 (accessed on 22 September 2026).
HandWiki. Thread Block. Encyclopedia. Available at: https://encyclopedia.pub/entry/37105. Accessed September 22, 2026.
HandWiki. "Thread Block" Encyclopedia, https://encyclopedia.pub/entry/37105 (accessed September 22, 2026).
HandWiki. (2022, November 29). Thread Block. In Encyclopedia. https://encyclopedia.pub/entry/37105
HandWiki. "Thread Block." Encyclopedia. Web. 29 November, 2022.
Thread Block
Edit

A thread block is a programming abstraction that represents a group of threads that can be executed serially or in parallel. For better process and data mapping, threads are grouped into thread blocks. The number of threads varies with available shared memory. 'The number of threads in a thread block is also limited by the architecture to a total of 512 threads per block.' The threads in the same thread block run on the same stream processor. Threads in the same block can communicate with each other via shared memory, barrier synchronization or other synchronization primitives such as atomic operations. Multiple blocks are combined to form a grid. All the blocks in the same grid contain the same number of threads. Since the number of threads in a block is limited to 512, grids can be used for computations that require a large number of thread blocks to operate in parallel. CUDA is a parallel computing platform and programming model that higher level languages can use to exploit parallelism. In CUDA, the kernel is executed with the aid of threads. The thread is an abstract entity that represents the execution of the kernel. A kernel is a small program or a function. Multi threaded applications use many such threads that are running at the same time, to organize parallel computation. Every thread has an index, which is used for calculating memory address locations and also for taking control decisions.

programming model parallel computing thread block

References

  1. "CUDA Thread Model". https://www.olcf.ornl.gov/kb_articles/cuda-thread-model/. 
  2. "Thread Hierarchy in CUDA Programming". http://cuda-programming.blogspot.com/2012/12/thread-hierarchy-in-cuda-programming.html. 
  3. Kirk, David; Hwu, Wen-mei W (January 28, 2010). Programming Massively Parallel Processors: A Hands-on Approach. 
  4. "Thread Indexing Cheatsheet". https://cs.calvin.edu/courses/cs/374/CUDA/CUDA-Thread-Indexing-Cheatsheet.pdf. 
  5. "Thread Optimizations (University of Mayland)". http://www.umiacs.umd.edu/~ramani/cmsc828e_gpusci/lecture9.pdf. 
  6. Wilt, Nicholas (2013). The CUDA Handbook: A Comprehensive Guide to GPU Programming. 
  7. "Thread Optimizations (University of Mayland)". http://www.umiacs.umd.edu/~ramani/cmsc828e_gpusci/lecture9.pdf. 
  8. "Thread Optimizations (University of Mayland)". http://www.umiacs.umd.edu/~ramani/cmsc828e_gpusci/lecture9.pdf. 
  9. "GPU Computing with CUDA Lecture 2 - CUDA Memories". http://www.bu.edu/pasi/files/2011/07/Lecture2.pdf. 
  10. "Memory Issues in CUDA and Execution Scheduling in CUDA". http://sbel.wisc.edu/Courses/ME964/2012/Lectures/lecture0223.pdf. 
  11. "Effect of Instruction Fetch and Memory Scheduling on GPU Performance". http://www.cc.gatech.edu/fac/hyesoon/gputhread.pdf. 
  12. "CAWS: Criticality-Aware Warp Scheduling for GPGPU Workloads". http://faculty.engineering.asu.edu/carolewu/wp-content/uploads/2012/12/PACT14_CAWS_Lee_final.pdf. 
More
Upload a video for this entry
Information
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 3.0K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 29 Nov 2022
Notice
You are not a member of the advisory board for this topic. If you want to update advisory board member profile, please contact office@encyclopedia.pub.
OK
Confirm
Only members of the Encyclopedia advisory board for this topic are allowed to note entries. Would you like to become an advisory board member of the Encyclopedia?
Yes
No
${ textCharacter }/${ maxCharacter }
Submit
Cancel
There is no comment~
${ textCharacter }/${ maxCharacter }
Submit
Cancel
${ selectedItem.replyTextCharacter }/${ selectedItem.replyMaxCharacter }
Submit
Cancel
Confirm
Are you sure to Delete?
Yes No
Academic Video Service