Pascal (microarchitecture)
Pascal is the codename for a GPU microarchitecture developed by Nvidia, as the successor to the Maxwell architecture. The architecture was first introduced in April 2016 with the release of the Tesla P100 (GP100) on April 5, 2016, and is primarily used in the GeForce 10 series, starting with the GeForce GTX 1080 and GTX 1070 (both using the GP104 GPU), which were released on May 17, 2016 and June 10, 2016 respectively. Pascal was manufactured using TSMC's 16 nm FinFET process,[1] and later Samsung's 14 nm FinFET process.[2]
The GTX 1070, the second commercially available card to use the Pascal architecture | |
Release date | April 5, 2016 |
---|---|
Fabrication process | |
History | |
Predecessor | Maxwell |
Successor |
The architecture is named after the 17th century French mathematician and physicist, Blaise Pascal.
On March 18, 2019, Nvidia announced that in a driver due for April 2019, they would enable DirectX Raytracing on Pascal-based cards starting with the GTX 1060 6 GB, and in the 16 series cards, a feature reserved to the Turing-based RTX series up to that point.[3]
Details
In March 2014, Nvidia announced that the successor to Maxwell would be the Pascal microarchitecture; announced on May 6, 2016 and released on May 27 of the same year. The Tesla P100 (GP100 chip) has a different version of the Pascal architecture compared to the GTX GPUs (GP104 chip). The shader units in GP104 have a Maxwell-like design.[4]
Architectural improvements of the GP100 architecture include the following:[5][6][7]
- In Pascal, an SM (streaming multiprocessor) consists of between 64-128 CUDA cores, depending on if it is GP100 or GP104. Maxwell packed 128, Kepler 192, Fermi 32 and Tesla only 8 CUDA cores into an SM; the GP100 SM is partitioned into two processing blocks, each having 32 single-precision CUDA Cores, an instruction buffer, a warp scheduler, 2 texture mapping units and 2 dispatch units.
- CUDA Compute Capability 6.1.
- High Bandwidth Memory 2 — some cards feature 16 GiB HBM2 in four stacks with a total of 4096-bit bus with a memory bandwidth of 720 GB/s.
- Unified memory — a memory architecture, where the CPU and GPU can access both main system memory and memory on the graphics card with the help of a technology called "Page Migration Engine".
- NVLink — a high-bandwidth bus between the CPU and GPU, and between multiple GPUs. Allows much higher transfer speeds than those achievable by using PCI Express; estimated to provide between 80 and 200 GB/s.[8][9]
- 16-bit (FP16) floating-point operations (colloquially "half precision") can be executed at twice the rate of 32-bit floating-point operations ("single precision")[10] and 64-bit floating-point operations (colloquially "double precision") executed at half the rate of 32-bit floating point operations.[11]
- More registers — twice the amount of registers per CUDA core compared to Maxwell.
- More shared memory.
- Dynamic load balancing scheduling system.[12] This allows the scheduler to dynamically adjust the amount of the GPU assigned to multiple tasks, ensuring that the GPU remains saturated with work except when there is no more work that can safely be distributed to distribute.[12] Nvidia therefore has safely enabled asynchronous compute in Pascal's driver.[12]
- Instruction-level and thread-level preemption.[13]
Architectural improvements of the GP104 architecture include the following:[4]
- CUDA Compute Capability 6.1.
- GDDR5X — new memory standard supporting 10Gbit/s data rates, updated memory controller.[14]
- Simultaneous Multi-Projection - generating multiple projections of a single geometry stream, as it enters the SMP engine from upstream shader stages.[15]
- DisplayPort 1.4, HDMI 2.0b.
- Fourth generation Delta Color Compression.
- Enhanced SLI Interface — SLI interface with higher bandwidth compared to the previous versions.
- PureVideo Feature Set H hardware video decoding HEVC Main10(10bit), Main12(12bit) and VP9 hardware decoding.
- HDCP 2.2 support for 4K DRM protected content playback and streaming (Maxwell GM200 and GM204 lack HDCP 2.2 support, GM206 supports HDCP 2.2).[16]
- NVENC HEVC Main10 10bit hardware encoding.
- GPU Boost 3.0.
- Instruction-level preemption.[13] In graphics tasks, the driver restricts preemption to the pixel-level, because pixel tasks typically finish quickly and the overhead costs of doing pixel-level preemption are lower than instruction-level preemption (which is expensive).[13] Compute tasks get thread-level or instruction-level preemption,[13] because they can take longer times to finish and there are no guarantees on when a compute task finishes. Therefore the driver enables the expensive instruction-level preemption for these tasks.[13]
Overview
Graphics Processor Cluster
A chip is partitioned into Graphics Processor Clusters (GPCs). For the GP104 chips, a GPC encompasses 5 SMs.
Streaming Multiprocessor "Pascal"
A "Streaming Multiprocessor" corresponds to AMD's Compute Unit. An SMP encompasses 128 single-precision ALUs ("CUDA cores") on GP104 chips and 64 single-precision ALUs on GP100 chips.
What AMD calls a CU (compute unit) can be compared to what Nvidia calls an SM (streaming multiprocessor). While all CU versions consist of 64 shader processors (i.e. 4 SIMD Vector Units (each 16-lane wide)= 64), Nvidia (regularly calling shader processors "CUDA cores") experimented with very different numbers:
- On Tesla 1 SM combines 8 single-precision (FP32) shader processors
- On Fermi 1 SM combines 32 single-precision (FP32) shader processors
- On Kepler 1 SM combines 192 single-precision (FP32) shader processors and also 64 double-precision units (at least the GK110 GPUs)
- On Maxwell 1 SM combines 128 single-precision (FP32) shader processors
- On Pascal it depends:
- On the GP100 1 SM combines 64 single-precision (FP32) shader processors and also 32 double-precision (FP64) providing a 2:1 ratio of single- to double-precision throughput. The GP100 uses more flexible FP32 cores that are able to process one single-precision or two half-precision numbers in a two-element vector.[17] Nvidia intends to address the calculation of algorithms related to deep learning with those.
- On the GP104 1 SM combines 128 single-precision ALUs, 4 double-precision ALUs providing a 32:1 ratio, and one half-precision ALU that contains a vector of two half-precision floats which can execute the same instruction on both floats providing a 64:1 ratio if the same instruction is used on both elements.
Polymorph-Engine 4.0
The Polymorph Engine version 4.0 is the unit responsible for Tessellation. It corresponds functionally with AMD's Geometric Processor. It has been moved from the shader module to the TPC to allow one Polymorph engine to feed multiple SMs within the TPC.[18]
Chips
- GP100: Nvidia Tesla P100 GPU accelerator is targeted at GPGPU applications such as FP64 double precision compute and deep learning training that uses FP16. It uses HBM2 memory.[19] Quadro GP100 also uses the GP100 GPU.
- GP102: This GPU is used in the TITAN Xp,[20] Titan X[21] and the GeForce GTX 1080 Ti. It is also used in the Quadro P6000[22] & Tesla P40.[23]
- GP104: This GPU is used in the GeForce GTX 1070, GTX 1070 Ti and the GTX 1080. The GTX 1070 has 15/20 and the GTX 1070 Ti has 19/20 of its SMs enabled. Both are connected to GDDR5 memory, while the GTX 1080 is a full chip and is connected to GDDR5X memory. It is also used in the Quadro P5000, Quadro P4000 and Tesla P4.
- GP106: This GPU is used in the GeForce GTX 1060 with GDDR5/GDDR5X[24] memory.[25][26] It is also used in the Quadro P2000.
- GP107: This GPU is used in the GeForce GTX 1050 Ti and GeForce GTX 1050. It is also used in the Quadro P1000, Quadro P600, Quadro P620 & Quadro P400.
- GP108: This GPU is used in the GeForce GT 1010 and GeForce GT 1030.
On the GP104 chip an SM consists of 128 single-precision ALUs ("CUDA cores"), on the GP100 of 64 single-precision ALUs. Due to different organization of the chips, like number of double precision ALUs, the theoretical double precision performance of the GP100 is half of the theoretical one for single precision; the ratio is 1/32 for the GP104 chip.
GK104 | GK110 | GM204 (GTX 970) | GM204 (GTX 980) | GM200 | GP104 | GP100 | |
---|---|---|---|---|---|---|---|
Dedicated texture cache per SM | 48 KiB | N/A | N/A | N/A | N/A | N/A | N/A |
Texture (graphics or compute) or read-only data (compute only) cache per SM | N/A | 48 KiB[27] | N/A | N/A | N/A | N/A | N/A |
Programmer-selectable shared memory/L1 partitions per SM | 48 KiB shared memory + 16 KiB L1 cache (default)[28] | 48 KiB shared memory + 16 KiB L1 cache (default)[28] | N/A | N/A | N/A | N/A | N/A |
32 KiB shared memory + 32 KiB L1 cache[28] | 32 KiB shared memory + 32 KiB L1 cache[28] | ||||||
16 KiB shared memory + 48 KiB L1 cache[28] | 16 KiB shared memory + 48 KiB L1 cache[28] | ||||||
Unified L1 cache/texture cache per SM | N/A | N/A | 48 KiB[29] | 48 KiB[29] | 48 KiB[29] | 48 KiB[29] | 24 KiB[29] |
Dedicated shared memory per SM | N/A | N/A | 96 KiB[29] | 96 KiB[29] | 96 KiB[29] | 96 KiB[29] | 64 KiB[29] |
L2 cache per chip | 512 KiB[29] | 1536 KiB[29] | 1792 KiB[30] | 2048 KiB[30] | 3072 KiB[29] | 2048 KiB[29] | 4096 KiB[29] |
Performance
The theoretical single-precision processing power of a Pascal GPU in GFLOPS is computed as 2 X (operations per FMA instruction per CUDA core per cycle) × number of CUDA cores × core clock speed (in GHz).
The theoretical double-precision processing power of a Pascal GPU is 1/2 of the single precision performance on Nvidia GP100, and 1/32 of Nvidia GP102, GP104, GP106, GP107 & GP108.
The theoretical half-precision processing power of a Pascal GPU is 2× of the single precision performance on GP100[11] and 1/64 on GP104, GP106, GP107 & GP108.[17]
Successor
The Pascal architecture was succeeded in 2017 by Volta in the HPC, cloud computing, and self-driving car markets, and in 2018 by Turing in the consumer and business market.[31]
References
- "NVIDIA 7nm Next-Gen-GPUs To Be Built By TSMC". Wccftech. 24 June 2018. Retrieved 6 July 2019.
- "Samsung to Optical-Shrink NVIDIA "Pascal" to 14 nm". Retrieved August 13, 2016.
- "Accelerating The Real-Time Ray Tracing Ecosystem: DXR For GeForce RTX and GeForce GTX". NVIDIA.
- "NVIDIA GeForce GTX 1080" (PDF). International.download.nvidia.com. Retrieved 2016-09-15.
- Gupta, Sumit (2014-03-21). "NVIDIA Updates GPU Roadmap; Announces Pascal". Blogs.nvidia.com. Retrieved 2014-03-25.
- "Parallel Forall". NVIDIA Developer Zone. Devblogs.nvidia.com. Archived from the original on 2014-03-26. Retrieved 2014-03-25.
- "NVIDIA Tesla P100" (PDF). International.download.nvidia.com. Retrieved 2016-09-15.
- "nside Pascal: NVIDIA's Newest Computing Platform". 2016-04-05.
- Denis Foley (2014-03-25). "NVLink, Pascal and Stacked Memory: Feeding the Appetite for Big Data". nvidia.com. Retrieved 2014-07-07.
- "NVIDIA's Next-Gen Pascal GPU Architecture to Provide 10X Speedup for Deep Learning Apps". The Official NVIDIA Blog. Retrieved 23 March 2015.
- Smith, Ryan (2015-04-05). "NVIDIA Announces Tesla P100 Accelerator - Pascal GP100 Power for HPC". AnandTech. Retrieved 2016-05-27.
Each of those SMs also contains 32 FP64 CUDA cores - giving us the 1/2 rate for FP64 - and new to the Pascal architecture is the ability to pack 2 FP16 operations inside a single FP32 CUDA core under the right circumstances
- Smith, Ryan (July 20, 2016). "The NVIDIA GeForce GTX 1080 & GTX 1070 Founders Editions Review: Kicking Off the FinFET Generation". AnandTech. p. 9. Retrieved July 21, 2016.
- Smith, Ryan (July 20, 2016). "The NVIDIA GeForce GTX 1080 & GTX 1070 Founders Editions Review: Kicking Off the FinFET Generation". AnandTech. p. 10. Retrieved July 21, 2016.
- "GTX 1080 Graphics Card". GeForce. Retrieved 2016-09-15.
- Carbotte, Kevin (2016-05-17). "Nvidia GeForce GTX 1080 Simultaneous Multi-Projection & Async Compute". Tomshardware.com. Retrieved 2016-09-15.
- "Nvidia Pascal HDCP 2.2". Nvidia Hardware Page. Retrieved 2016-05-08.
- Smith, Ryan (July 20, 2016). "The NVIDIA GeForce GTX 1080 & GTX 1070 Founders Editions Review: Kicking Off the FinFET Generation". AnandTech. p. 5. Retrieved July 21, 2016.
- Smith, Ryan (July 20, 2016). "The NVIDIA GeForce GTX 1080 & GTX 1070 Founders Editions Review: Kicking Off the FinFET Generation". AnandTech. p. 4. Retrieved July 21, 2016.
- Harris, Mark (April 5, 2016). "Inside Pascal: NVIDIA's Newest Computing Platform". Parallel Forall. Nvidia. Retrieved June 3, 2016.
- "NVIDIA TITAN Xp Graphics Card with Pascal Architecture". NVIDIA.
- "NVIDIA TITAN X Graphics Card with Pascal". GeForce. Retrieved 2016-09-15.
- "New Quadro Graphics Built on Pascal Architecture". NVIDIA. Retrieved 2016-09-15.
- "Accelerating Data Center Workloads with GPUs". NVIDIA. Retrieved 2016-09-15.
- https://www.nvidia.com/en-us/geforce/products/10series/geforce-gtx-1060/
- "NVIDIA GeForce GTX 1060 to be released on July 7th". VideoCardz.com. Retrieved 2016-09-15.
- "GTX 1060 Graphics Cards". GeForce. Retrieved 2016-09-15.
- Smith, Ryan (November 12, 2012). "NVIDIA Launches Tesla K20 & K20X: GK110 Arrives At Last". AnandTech. p. 3. Retrieved July 24, 2016.
- Nvidia (September 1, 2015). "CUDA C Programming Guide". Retrieved July 24, 2016.
- Triolet, Damien (May 24, 2016). "Nvidia GeForce GTX 1080, le premier GPU 16nm en test !". Hardware.fr (in French). p. 2. Retrieved July 24, 2016.
- Smith, Ryan (January 26, 2015). "GeForce GTX 970: Correcting The Specs & Exploring Memory Allocation". AnandTech. p. 1. Retrieved July 24, 2016.
- "NVIDIA Turing Release Date". Techradar.