dbo:abstract |
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 in a thread block was formerly limited by the architecture to a total of 512 threads per block, but as of March 2010, with compute capability 2.x and higher, blocks may contain up to 1024 threads. 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. The number of threads in a block is limited, but grids can be used for computations that require a large number of thread blocks to operate in parallel and to use all available multiprocessors. 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 function that compiles to run on a special device. 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. (en) 线程块是CUDA中的一种抽象编程,它表示一组可以串行或并行执行的线程。线程块中的线程数量曾經受架构限制,每个线程块最多只有512个线程,但从2019年7月开始,线程块可以最多包含1024个线程。同一线程块中的线程运行在同一个流处理器上。同一线块中的线程可以通过共享内存、同步屏障相互通信。 多个线程块组合成一个网格(grid)。同一网格中的所有线程块的线程數量相同。 (zh) |
dbo:thumbnail |
wiki-commons:Special:FilePath/Block-thread.svg?width=300 |
dbo:wikiPageID |
51496360 (xsd:integer) |
dbo:wikiPageLength |
15883 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID |
1122571093 (xsd:integer) |
dbo:wikiPageWikiLink |
dbr:Programming_model dbr:Branch_predictor dbr:Cache_(computing) dbr:Compute_kernel dbr:Kepler_(microarchitecture) dbr:Parallel_computing dbr:Synchronization_(computer_science) dbr:CUDA dbr:Fermi_(microarchitecture) dbr:Central_processing_unit dbr:Graphics_processing_unit dbr:Process_(computing) dbr:Round-robin_scheduling dbc:Parallel_computing dbr:Least_Recently_Used dbr:Heterogeneous_computing dbr:Thread_(computing) dbr:Scheduling_policy dbr:Instruction-level_parallelism dbr:OpenCL dbr:Shared_memory dbr:Texture_cache dbr:Context_switching dbr:File:Block-thread.svg dbr:File:Software-Perspective_for_thread_block.jpg dbr:File:Streaming-Multiprocessor.jpg dbr:File:Warp-Scheduler-Gpu.jpg |
dbp:date |
December 2016 (en) |
dbp:reason |
Article name and lead lacks correct context. Unable to determine exactly what Thread Block architecture is applied to. CUDA is mentioned in passing. (en) |
dbp:wikiPageUsesTemplate |
dbt:Citation_needed dbt:Cleanup dbt:Reflist dbt:Short_description |
dcterms:subject |
dbc:Parallel_computing |
rdfs:comment |
线程块是CUDA中的一种抽象编程,它表示一组可以串行或并行执行的线程。线程块中的线程数量曾經受架构限制,每个线程块最多只有512个线程,但从2019年7月开始,线程块可以最多包含1024个线程。同一线程块中的线程运行在同一个流处理器上。同一线块中的线程可以通过共享内存、同步屏障相互通信。 多个线程块组合成一个网格(grid)。同一网格中的所有线程块的线程數量相同。 (zh) 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 in a thread block was formerly limited by the architecture to a total of 512 threads per block, but as of March 2010, with compute capability 2.x and higher, blocks may contain up to 1024 threads. 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. (en) |
rdfs:label |
Thread block (CUDA programming) (en) 线程块 (zh) |
owl:sameAs |
wikidata:Thread block (CUDA programming) dbpedia-zh:Thread block (CUDA programming) https://global.dbpedia.org/id/2dotu |
prov:wasDerivedFrom |
wikipedia-en:Thread_block_(CUDA_programming)?oldid=1122571093&ns=0 |
foaf:depiction |
wiki-commons:Special:FilePath/Block-thread.svg wiki-commons:Special:FilePath/Software-Perspective_for_thread_block.jpg wiki-commons:Special:FilePath/Streaming-Multiprocessor.jpg wiki-commons:Special:FilePath/Warp-Scheduler-Gpu.jpg |
foaf:isPrimaryTopicOf |
wikipedia-en:Thread_block_(CUDA_programming) |
is dbo:wikiPageRedirects of |
dbr:Thread_Block dbr:Thread_block dbr:Warp_(CUDA) |
is dbo:wikiPageWikiLink of |
dbr:Thread_Block dbr:Thread_block dbr:GeForce_16_series dbr:Warp_(CUDA) |
is foaf:primaryTopic of |
wikipedia-en:Thread_block_(CUDA_programming) |