Multi-GPU multi-display sharding rendering with optimized variable rate shading
By using multi-GPU rendering with optimized variable-rate shading in a multi-monitor configuration, the increased latency and power consumption of traditional methods are addressed, resulting in more efficient rendering performance and lower energy consumption.
Patent Information
- Application Number
- CN202311873480.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-22
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional multi-monitor configurations require multiple graphics processors to render a single scene, leading to increased latency and power consumption, which impacts performance.
Multi-monitor tiled rendering is performed using multiple graphics processing units (GPUs) with optimized variable-rate shading. This reduces repetitive rendering workload by subdividing the scene on each GPU and rendering tiles or quadrants based on the monitor position.
It improves multi-monitor rendering performance and reduces power consumption, thus reducing rendering wait time.
Smart Images

Figure CN118537201A
Abstract
Description
Technical Field
[0001] Embodiments relate generally to graphics processing architectures and more particularly to multi-graphics processing unit (GPU) multi-display tile rendering with optimized variable rate shading in graphics processing architectures. Background Art
[0002] In a variety of settings (such as digital signage, operational control, product design review, and other settings), it may be advantageous to present visual content across multiple displays (e.g., monitors). However, traditional multi-display configurations may use multiple graphics processors (e.g., graphics processing units / GPUs) to render a single scene, where the entire scene is rendered multiple times (e.g., once per GPU). This approach may involve uploading and rendering all meshes, textures, constant buffers, and resources on each GPU. The user mode driver of each GPU can then subdivide the scene into tiles or quadrants, and render each quadrant or tile of the entire scene to an individual display based on the corresponding position of the display in the display array. This rendering method may increase latency, which in turn has a negative impact on performance and / or power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Various advantages of the embodiments will become apparent to those skilled in the art upon reading the following description and appended claims, and by referring to the following drawings, in which:
[0004] Figure 1 is a block diagram of a processing system according to an embodiment;
[0005] Figure 2A is a block diagram of an embodiment of a processor having one or more processor cores, an integrated memory controller, and an integrated graphics processor;
[0006] Figure 2B is a block diagram of the hardware logic of a graphics processor core block according to some embodiments described herein;
[0007] Figure 2C The illustration includes a graphics processing unit (GPU) comprising a dedicated collection of graphics processing resources arranged as a multi-core group;
[0008] Figure 2D is a block diagram of a general purpose graphics processing unit (GPGPU) that may be configured as a graphics processor and / or a computing accelerator according to embodiments described herein;
[0009] Figure 3Ais a block diagram of a graphics processor, which may be a discrete graphics processing unit, or may be a graphics processor integrated with multiple processing cores or other semiconductor devices such as, but not limited to, a memory device or a network interface.
[0010] Figure 3B illustrates a graphics processor having a tiled architecture according to embodiments described herein;
[0011] Figure 3C illustrates a computing accelerator according to embodiments described herein;
[0012] Figure 4 is a block diagram of a graphics processing engine of a graphics processor according to some embodiments;
[0013] Figure 5A illustrates a graphics core cluster according to an embodiment;
[0014] Figure 5B illustrates a vector engine of a graphics core according to an embodiment;
[0015] Figure 5C illustrates a matrix engine of a graphics core according to an embodiment;
[0016] Figure 6 FIG. 1 illustrates a tile of a multi-chip processor according to an embodiment;
[0017] Figure 7 is a block diagram illustrating a graphics processor instruction format according to some embodiments;
[0018] Figure 8 is a block diagram of another embodiment of a graphics processor;
[0019] Fig.9A is a block diagram illustrating a graphics processor command format that may be used to program a graphics processing pipeline according to some embodiments;
[0020] Fig. 9B is a block diagram illustrating a graphics processor command sequence according to an embodiment;
[0021] Fig.10 illustrates an exemplary graphical software architecture for a data processing system according to some embodiments;
[0022] Fig.11A is a block diagram illustrating an IP core development system that may be used to manufacture an integrated circuit to perform operations according to an embodiment;
[0023] Fig. 11B illustrates a cross-sectional side view of an integrated circuit package assembly 1170 according to some embodiments described herein;
[0024] Fig. 11C A package assembly including multiple hardware logic chiplets connected to a substrate is shown;
[0025] Fig.11D illustrates a package assembly including interchangeable chiplets according to an embodiment;
[0026] Fig.12 is a block diagram illustrating an exemplary system-on-chip integrated circuit that may be fabricated using one or more IP cores according to an embodiment;
[0027] Fig.13A illustrates an exemplary graphics processor of a system-on-chip integrated circuit that may be fabricated using one or more IP cores in accordance with an embodiment;
[0028] Fig. 13B illustrates additional exemplary graphics processors of system-on-chip integrated circuits that may be fabricated using one or more IP cores in accordance with an embodiment;
[0029] Fig.14 is an illustration of an example of a scenario associated with multiple graphics processors and multiple displays according to an embodiment;
[0030] Fig.15A is a diagram of examples of corners of an on-screen area, a guard band, and an off-screen area according to an embodiment;
[0031] Fig. 15B is a diagram of examples of edges of an on-screen area, a guard band, and an off-screen area according to an embodiment;
[0032] Fig.16 is an illustration of an example of a scene partitioned into an on-screen area, a guard band, and an off-screen area according to an embodiment;
[0033] Fig.17 is a flowchart of an example of a method of operating a user mode graphics driver according to an embodiment; and
[0034] Fig.18 is a message passing diagram of an example of a multi-GPU multi-display graphics architecture, according to an embodiment. DETAILED DESCRIPTION
[0035] System Overview
[0036] Figure 11 is a block diagram of a processing system 100 according to an embodiment. The processing system 100 may be used in a single-processor desktop computer system, a multi-processor workstation system, or a server system having a large number of processors 102 or processor cores 107. In one embodiment, the processing system 100 is a processing platform incorporated within a system-on-a-chip (SoC) integrated circuit for use in a mobile device, handheld device, or embedded device, such as for use within an Internet-of-things (IoT) device having wired or wireless connectivity to a local area network or a wide area network.
[0037] In one embodiment, the processing system 100 may include, be coupled with, or be incorporated into a server-based gaming platform, a gaming console including a gaming and media console, a mobile gaming console, a handheld gaming console, or an online gaming console. In some embodiments, the processing system 100 is part of a mobile phone, a smart phone, a tablet computing device, or a mobile Internet-connected device such as a notebook with low internal storage capacity. The processing system 100 may also include, be coupled with, or be integrated into a wearable device such as a smart watch wearable device; smart glasses or clothing enhanced with augmented reality (AR) or virtual reality (VR) features to provide visual, audio, or tactile output to supplement the real-world visual, audio, or tactile experience or otherwise provide text, audio, graphics, video, holographic images or video, or tactile feedback; other augmented reality (AR) devices; or other virtual reality (VR) devices. In some embodiments, the processing system 100 includes a television or set-top box device, or is part of a television or set-top box device. In one embodiment, processing system 100 may include, be coupled to, or be integrated in an autonomous vehicle, such as a bus, a tractor trailer, an automobile, a motor or electric power cycle, an airplane, or a glider (or any combination thereof). The autonomous vehicle may use processing system 100 to process the environment sensed around the vehicle.
[0038] In some embodiments, one or more processors 102 each include one or more processor cores 107 for processor instructions, which, when executed, perform operations for system or user software. In some embodiments, at least one of the one or more processor cores 107 is configured to process a specific instruction set 109. In some embodiments, the instruction set 109 may facilitate complex instruction set computing (CISC), reduced instruction set computing (RISC), or computing via very long instruction words (VLIW). One or more processor cores 107 may process different instruction sets 109, which may include instructions for facilitating emulation of other instruction sets. The processor core 107 may also include other processing devices, such as a digital signal processor (DSP).
[0039] In some embodiments, the processor 102 includes a cache memory 104. Depending on the architecture, the processor 102 may have a single internal cache or multiple levels of internal cache. In some embodiments, the cache memory is shared between various components of the processor 102. In some embodiments, the processor 102 also uses an external cache (e.g., a level 3 (L3) cache or a last level cache (LLC)) (not shown), which can be shared between the processor cores 107 using known cache coherence techniques. A register file 106 may additionally be included in the processor 102, and the register file 106 may include different types of registers (e.g., integer registers, floating point registers, status registers, and instruction pointer registers) for storing different types of data. Some registers may be general purpose registers, while other registers may be specific to the design of the processor 102.
[0040] In some embodiments, one or more processors 102 are coupled to one or more interface buses 110 to transmit communication signals, such as address, data, or control signals, between the processor 102 and other components in the processing system 100. In one embodiment, the interface bus 110 can be a processor bus, such as a version of a Direct Media Interface (DMI) bus. However, the processor bus is not limited to the DMI bus and may include one or more peripheral component interconnect buses (e.g., PCI, PCI express), memory buses, or other types of interface buses. In one embodiment, the processor (s) 102 include a memory controller 116 and a platform controller hub 130. The memory controller 116 facilitates communication between memory devices and other components of the processing system 100, while the platform controller hub (PCH) 130 provides connections to I / O devices via a local I / O bus. The memory device 120 may be a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, a flash memory device, a phase change memory device, or some other memory device having appropriate performance to act as a process memory. In one embodiment, the memory device 120 may operate as a system memory for the processing system 100 to store data 122 and instructions 121 for use when one or more processors 102 execute applications or processes. The memory controller 116 is also coupled to an optional external graphics processor 118, which may communicate with one or more graphics processors 108 in the processor 102 to perform graphics operations and media operations. In some embodiments, graphics operations, media operations, or computing operations may be assisted by an accelerator 112, which is a coprocessor that can be configured to perform a collection of specialized graphics operations, media operations, or computing operations. For example, in one embodiment, the accelerator 112 is a matrix multiplication accelerator for optimizing machine learning or computing operations. In one embodiment, accelerator 112 is a ray tracing accelerator that can be used to perform ray tracing operations in coordination with graphics processor 108. In one embodiment, external accelerator 119 can be used instead of accelerator 112 or can be used in coordination with accelerator 112.
[0041] In some embodiments, display device 111 may be connected to processor(s) 102. Display device 111 may be one or more of: an internal display device, such as in a mobile electronic device or laptop device; or an external display device attached via a display interface (e.g., display port, etc.). In one embodiment, display device 111 may be a head mounted display (HMD), such as a stereoscopic display device for use in virtual reality (VR) applications or augmented reality (AR) applications.
[0042] In some embodiments, the platform controller hub 130 enables peripheral devices to be connected to the memory device 120 and the processor 102 via a high-speed I / O bus. The I / O peripherals include, but are not limited to, an audio controller 146, a network controller 134, a firmware interface 128, a wireless transceiver 126, a touch sensor 125, a data storage device 124 (e.g., non-volatile memory, volatile memory, hard drive, flash memory, NAND, 3D NAND, 3D XPoint, etc.). The data storage device 124 can be connected via a storage interface (e.g., SATA) or via a peripheral bus such as a peripheral component interconnect bus (e.g., PCI, PCI Express). The touch sensor 125 can include a touch screen sensor, a pressure sensor, or a fingerprint sensor. The wireless transceiver 126 can be a Wi-Fi transceiver, a Bluetooth transceiver, or a mobile network transceiver such as a 3G, 4G, 5G or Long-Term Evolution (LTE) transceiver. The firmware interface 128 enables communication with the system firmware and can be, for example, a unified extensible firmware interface (UEFI). The network controller 134 can enable network connection to a wired network. In some embodiments, a high-performance network controller (not shown) is coupled to the interface bus 110. In one embodiment, the audio controller 146 is a multi-channel high-definition audio controller. In one embodiment, the processing system 100 includes an optional traditional I / O controller 140 for coupling traditional (e.g., Personal System 2 (PS / 2)) devices to the system. The platform controller hub 130 can also be connected to one or more Universal Serial Bus (USB) controllers 142 to connect input devices, such as a keyboard and mouse 143 combination, a camera 144, or other USB input devices.
[0043] It will be appreciated that the processing system 100 shown is exemplary and not limiting, as other types of data processing systems configured in different manners may also be used. For example, instances of the memory controller 116 and the platform controller hub 130 may be integrated into a discrete external graphics processor, such as the external graphics processor 118. In one embodiment, the platform controller hub 130 and / or the memory controller 116 may be external to the one or more processors 102 and reside in a system chipset that communicates with the processor(s) 102.
[0044] For example, a circuit board ("sled") can be used, on which components (such as CPU, memory and other components) are placed, which is designed for increased thermal performance. In some examples, processing components such as processors are located on the top side of the sled, while nearby memories such as DIMMs are located on the bottom side of the sled. As a result of the enhanced airflow provided by the design, the components can operate at higher frequencies and power levels than typical systems, thereby increasing performance. In addition, the sled is configured to blindly match power and data communication cables in the rack, thereby enhancing their ability to be quickly removed, upgraded, reinstalled and / or replaced. Similarly, the various components (such as processors, accelerators, memory and data storage devices) located on the sled are configured to be easy to upgrade due to their increased spacing relative to each other. In an illustrative embodiment, the components additionally include hardware authentication features for proving their authenticity.
[0045] The data center may utilize a single network architecture ("fabric") that supports multiple other network architectures, including Ethernet and Omni-Path. The sleds may be coupled to the switches via optical fiber, which provides higher bandwidth and lower latency than typical twisted pair cabling (e.g., Category 5, Category 5e, Category 6, etc.). Due to the high-bandwidth, low-latency interconnect and network architecture, the data center may, in use, concentrate physically disaggregated resources such as memory, accelerators (e.g., GPUs, graphics accelerators, FPGAs, ASICs, neural network and / or artificial intelligence accelerators, etc.) and data storage drives, and provide them to computing resources (e.g., processors) as needed, thereby enabling the computing resources to access the concentrated resources as if the concentrated resources were local.
[0046] A power supply or power source may provide voltage and / or current to the processing system 100 or any component or system described herein. In one example, the power supply includes an AC-DC (alternating current-direct current) adapter for plugging into a wall socket. Such AC power may be a renewable energy (e.g., solar) power source. In one example, the power source includes a DC power source, such as an external AC-DC converter. In one example, the power source or power supply includes wireless charging hardware for charging by approaching a charging field. In one example, the power source may include an internal battery, an AC supply, a motion-based power supply, a solar power supply, or a fuel cell source.
[0047] Figure 2A-2D Illustrated is a computing system and graphics processor provided by embodiments described herein. Figure 2A-2D Those elements having the same reference numerals (or names) as elements of any other figure herein may operate or function in any manner similar to that described elsewhere herein, but are not limited thereto.
[0048] Figure 2A 2 is a block diagram of an embodiment of a processor 200 having one or more processor cores 202A-202N, an integrated memory controller 214, and an integrated graphics processor 208. The processor 200 may include additional cores up to and including the additional core 202N represented by the dashed box. Each of the processor cores 202A-202N includes one or more internal cache units 204A-204N. In some embodiments, each processor core also has access to one or more shared cache units 206. The internal cache units 204A-204N and the shared cache units 206 represent a cache memory hierarchy within the processor 200. The cache memory hierarchy may include at least one level of instruction and data cache within each processor core and one or more levels of shared mid-level cache, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, where the highest level of cache before the external memory is classified as LLC. In some embodiments, cache coherency logic maintains coherency between cache units 206 and 204A-204N.
[0049] In some embodiments, the processor 200 may also include a set of one or more bus controller units 216 and a system agent core 210. The one or more bus controller units 216 manage a set of peripheral buses, such as one or more PCI buses or PCI Express buses. The system agent core 210 provides management functions for various processor components. In some embodiments, the system agent core 210 includes one or more integrated memory controllers 214 for managing access to various external memory devices (not shown).
[0050] In some embodiments, one or more of the processor cores 202A-202N include support for simultaneous multithreading. In such embodiments, the system agent core 210 includes components for coordinating and operating the cores 202A-202N during multithreaded processing. The system agent core 210 may additionally include a power control unit (PCU) that includes logic and components for regulating the power state of the processor cores 202A-202N and the graphics processor 208.
[0051] In some embodiments, the processor 200 additionally includes a graphics processor 208 for performing graphics processing operations. In some embodiments, the graphics processor 208 is coupled to the set of shared cache units 206 and to a system agent core 210, which includes one or more integrated memory controllers 214. In some embodiments, the system agent core 210 also includes a display controller 211 for driving the graphics processor output to one or more coupled displays. In some embodiments, the display controller 211 may also be a separate module coupled to the graphics processor via at least one interconnect, or may be integrated within the graphics processor 208.
[0052] In some embodiments, a ring-based interconnect 212 is used to couple internal components of the processor 200. However, alternative interconnect units may be used, such as point-to-point interconnects, switched interconnects, mesh interconnects, or other technologies, including those known in the art. In some embodiments, the graphics processor 208 is coupled to the ring-based interconnect 212 via an I / O link 213. The exemplary I / O link 213 represents at least one of a plurality of various I / O interconnects, including an on-package I / O interconnect that facilitates communication between various processor components and a high-performance embedded memory module 218, such as an eDRAM module or a high-bandwidth memory (HBM) module. In some embodiments, each of the processor cores 202A-202N and the graphics processor 208 may use the embedded memory module 218 as a shared last-level cache.
[0053] In some embodiments, the processor cores 202A-202N are isomorphic cores that execute the same instruction set architecture. In another embodiment, the processor cores 202A-202N are heterogeneous in terms of instruction set architecture (ISA), wherein one or more of the processor cores 202A-202N execute a first instruction set, while at least one of the other cores executes a subset of the first instruction set or a different instruction set. In one embodiment, the processor cores 202A-202N are heterogeneous in terms of microarchitecture, wherein one or more cores with relatively high power consumption are coupled with one or more power cores with lower power consumption. In one fact, the processor cores 202A-202N are heterogeneous in terms of computing power. In addition, the processor 200 may be implemented on one or more chips, or as a SoC integrated circuit having the components illustrated in addition to other components.
[0054] Figure 2B is a block diagram of the hardware logic of the graphics processor core block 219 according to some embodiments described herein. In some embodiments, Figure 2B Those elements having the same reference numerals (or names) as elements of any other figure herein may operate or function in a manner similar to that described elsewhere herein. Graphics processor core block 219 is an example of a partition of a graphics processor. Graphics processor core block 219 may be included in Figure 2AThe graphics processor described herein may include multiple graphics core blocks based on target power and performance envelopes. Each graphics processor core block 219 may include a functional block 230 coupled to multiple graphics cores 221A-221F, which include modular blocks of fixed function logic and general programmable logic. The graphics processor core block 219 also includes a shared / cache memory 236 accessible by all graphics cores 221A-221F, a rasterizer logic 237, and additional fixed function logic 238. In some embodiments, the functional block 230 includes a geometry / fixed function pipeline 231, which can be shared by all graphics cores in the graphics processor core block 219. In various embodiments, the geometry / fixed function pipeline 231 includes a 3D geometry pipeline, a video front end unit, a thread generator and a global thread dispatcher, and a unified return buffer manager that manages a unified return buffer. In one embodiment, the functional block 230 also includes a graphics SoC interface 232, a graphics microcontroller 233, and a media pipeline 234. The graphics SoC interface 232 provides an interface between the graphics processor core block 219 and other core blocks within the graphics processor or computing accelerator SoC. The graphics microcontroller 233 is a programmable subprocessor that can be configured to manage various functions of the graphics processor core block 219, including thread dispatching, scheduling, and preemption. The media pipeline 234 includes logic for facilitating decoding, encoding, preprocessing, and / or post-processing of multimedia data including image data and video data. The media pipeline 234 implements media operations via requests to the calculation or sampling logic within the graphics core 221A-221F. One or more pixel backends 235 may also be included in the functional block 230. The pixel backend 235 includes a cache memory that stores pixel color values, and can perform blending operations and lossless color compression of rendered pixel data.
[0055] In one embodiment, the graphics SoC interface 232 enables the graphics processor core block 219 to communicate with a general application processor core (e.g., CPU) and / or other components within the SoC or a system host CPU coupled to the SoC via a peripheral interface. The graphics SoC interface 232 also enables communication with off-chip memory hierarchy elements such as shared last-level cache memory, system RAM, and / or embedded on-chip or packaged DRAM. The SoC interface 232 may also enable communication with fixed-function devices such as camera imaging pipelines within the SoC, and enable the use and / or implementation of global memory atomicity, which may be shared between the graphics processor core block 219 and the CPU within the SoC. The graphics SoC interface 232 may also implement power management control for the graphics processor core block 219, and enable an interface between the clock domain of the graphics processor core block 219 and other clock domains within the SoC. In one embodiment, the graphics SoC interface 232 enables receiving a command buffer from a command streamer and a global thread dispatcher, which is configured to provide commands and instructions to each of the one or more graphics cores within the graphics processor. When media operations are to be performed, these commands and instructions may be dispatched to the media pipeline 234, and when graphics processing operations are to be performed, these commands and instructions may be dispatched to the geometry and fixed function pipeline 231. When compute operations are to be performed, the compute dispatch logic may dispatch these commands to the graphics cores 221A-221F, thereby bypassing the geometry and media pipelines.
[0056] The graphics microcontroller 233 may be configured to perform various scheduling and management tasks for the graphics processor core block 219. In one embodiment, the graphics microcontroller 233 may perform graphics and / or computational workload scheduling on the various vector engines 222A-222F, 224A-224F and matrix engines 223A-223F, 225A-225F within the graphics core 221A-221F. In this scheduling model, host software executing on a CPU core of a SoC including the graphics processor core block 219 may submit a workload to one of a plurality of graphics processor doorbells, which invokes a scheduling operation to the appropriate graphics engine. The scheduling operation includes determining which workload to run next, submitting the workload to the command streamer, preempting an existing workload running on an engine, monitoring the progress of the workload, and notifying the host software when the workload is completed. In one embodiment, the graphics microcontroller 233 may also facilitate a low power or idle state for the graphics processor core block 219, thereby providing the graphics processor core block 219 with the ability to save and restore registers within the graphics processor core block 219 across low power state transitions independent of the operating system and / or graphics driver software on the system. The graphics processor core block 219 may have more or fewer than the illustrated graphics cores 221A-221F, up to N modular graphics cores. For each set of N graphics cores, the graphics processor core block 219 may also include a shared / cache memory 236 (which may be configured as a shared memory or a cache memory), a rasterizer logic 237, and additional fixed function logic 238 to accelerate various graphics and compute processing operations.
[0057] Within each graphics core 221A-221F is a collection of execution resources that can be used to perform graphics operations, media operations, and compute operations in response to requests made by the graphics pipeline, media pipeline, or shader programs. Graphics cores 221A-221F include: multiple vector engines 222A-222F, 224A-224F, matrix acceleration units 223A-223F, 225A-225D, cache / shared local memory (SLM), samplers 226A-226F, and ray tracing units 227A-227F.
[0058] The vector engines 222A-222F, 224A-224F are general purpose graphics processing units capable of performing floating point and integer / fixed point logic operations to serve graphics operations, media operations, or compute operations (including graphics programs, media programs, or compute / GPGPU programs). The vector engines 222A-222F, 224A-224F can operate with variable vector widths using SIMD, SIMT, or SIMT+SIMD execution modes. The matrix acceleration units 223A-223F, 225A-225D include matrix-matrix and matrix-vector acceleration logic that improves performance on matrix operations, particularly low-precision and mixed-precision (e.g., INT8, FP16, BF16) matrix operations for machine learning. In one embodiment, each of the matrix acceleration units 223A-223F, 225A-225D includes one or more systolic arrays of processing elements that can perform concurrent matrix multiplication or dot product operations on matrix elements.
[0059] Samplers 226A-226F may read media or texture data into memory and may sample the data differently based on the configured sampler state and the texture / media format being read. Threads executing on vector engines 222A-222F, 224A-224F or matrix acceleration units 223A-223F, 225A-225D may utilize caches / SLMs 228A-228F within each execution core. Caches / SLMs 228A-228F may be configured as cache memory or a shared memory pool that is local to each of the corresponding graphics cores 221A-221F. Ray tracing units 227A-227F within graphics cores 221A-221F include ray traversal / intersection circuitry for performing ray traversals using a bounding volume hierarchy (BVH) and identifying intersections between rays and primitives enclosed within the BVH. In one embodiment, the ray tracing units 227A-227F include circuitry for performing depth testing and culling (e.g., using a depth buffer or similar arrangement). In one implementation, the ray tracing units 227A-227F perform traversal and intersection operations in conjunction with image denoising, at least a portion of which operations may be performed using associated matrix acceleration units 223A-223F, 225A-225D.
[0060] Figure 2C A graphics processing unit (GPU) 239 is shown, which includes a dedicated set of graphics processing resources arranged as multi-core groups 240A-240N. Details of multi-core group 240A are shown. Other multi-core groups 240B-240N may be equipped with the same or similar set of graphics processing resources.
[0061] As illustrated, multi-core group 240A may include a set of graphics cores 243, a set of tensor cores 244, and a set of ray tracing cores 245. Scheduler / dispatcher 241 schedules and dispatches graphics threads for execution on the various cores 243, 244, 245. In one embodiment, tensor core 244 is a sparse tensor core having hardware that enables bypassing of multiplication operations with zero-valued inputs. Figure 2C GPU 239 graphics core 243 relative to Figure 2B The graphics cores 221A-221F differ in the level of abstraction. Figure 2B The graphics core 221A-221F is similar to Figure 2C The multi-core group 240A-240N. Figure 2C The graphics core 243, tensor core 244 and ray tracing core 245 are similar to Figure 2B Vector engines 222A-222F, 224A-224F, matrix engines 223A-223F, 225A-225F and ray tracing units 227A-227F.
[0062] The set of register files 242 may store operand values used by the cores 243, 244, 245 when executing a graphics thread. These register files may include, for example, integer registers for storing integer values, floating point registers for storing floating point values, vector registers for storing packed data elements (integer and / or floating point data elements), and slice registers for storing tensor / matrix values. In one embodiment, the slice registers are implemented as a combined set of vector registers.
[0063] One or more combined first level (L1) caches and shared memory units 247 store graphics data locally within each multi-core group 240A, such as texture data, vertex data, pixel data, light data, bounding volume data, etc. One or more texture units 247 can also be used to perform texture operations, such as texture mapping and sampling. A second level (L2) cache 253 shared by all multi-core groups 240A-240N or a subset of multi-core groups 240A-240N stores graphics data and / or instructions for multiple concurrent graphics threads. As illustrated, the L2 cache 253 can be shared across multiple multi-core groups 240A-240N. One or more memory controllers 248 couple the GPU 239 to a memory 249, which can be system memory (e.g., DRAM) and / or dedicated graphics memory (e.g., GDDR6 memory).
[0064] Input / output (I / O) circuitry 250 couples GPU 239 to one or more I / O devices 252, such as a digital signal processor (DSP), a network controller, or a user input device. On-chip interconnects may be used to couple I / O devices 252 to GPU 239 and memory 249. One or more I / O memory management units (IOMMUs) 251 of I / O circuitry 250 directly couple I / O devices 252 to memory 249. In one embodiment, IOMMU 251 manages page tables for mapping virtual addresses to multiple sets of physical addresses in memory 249. In this embodiment, I / O devices 252, CPU(s) 246, and GPU 239 may share the same virtual address space.
[0065] In one implementation, IOMMU 251 supports virtualization. In this case, IOMMU 251 may manage a first set of page tables for mapping guest / graphics virtual addresses to guest / graphics physical addresses and a second set of page tables for mapping guest / graphics physical addresses to system / host physical addresses (e.g., within memory 249). The base address of each of the first set of page tables and the second set of page tables may be stored in a control register and swapped out upon context switch (e.g., so that the new context is provided with access to the relevant set of page tables). Although not described in detail in the prior art, the IOMMU 251 may be used to map guest / graphics virtual addresses to guest / graphics physical addresses and to map guest / graphics physical addresses to system / host physical addresses (e.g., within memory 249). Figure 2C , but each of the cores 243, 244, 245 and / or multi-core groups 240A-240N may include a translation backside buffer (TLB) for caching guest virtual to guest physical translations, guest physical to host physical translations, and guest virtual to host physical translations.
[0066] In one embodiment, CPU 246, GPU 239, and I / O devices 252 are integrated on a single semiconductor chip and / or chip package. Memory 249 may be integrated on the same chip, or may be coupled to memory controller 248 via an off-chip interface. In one implementation, memory 249 includes GDDR6 memory that shares the same virtual address space as other physical system-level memory, although the underlying principles of the embodiments described herein are not limited to this particular implementation.
[0067] In one embodiment, the tensor core 244 includes a plurality of functional units specifically designed to perform matrix operations, which are the basic computational operations for performing deep learning operations. For example, synchronized matrix multiplication operations can be used for neural network training and inference. The tensor core 244 can perform matrix processing using a variety of operand precisions, including single-precision floating point (e.g., 32 bits), half-precision floating point (e.g., 16 bits), integer words (16 bits), bytes (8 bits), and half bytes (4 bits). In one embodiment, a neural network implementation extracts features of each rendered scene, potentially combining details from multiple frames to construct a high-quality final image.
[0068] In a deep learning implementation, parallel matrix multiplication work may be scheduled for execution on the tensor core 244. The training of neural networks in particular requires a large number of matrix dot product operations. To handle the inner product formulation of an N×N×N matrix multiplication, the tensor core 244 may include at least N dot product processing elements. Before the matrix multiplication begins, a complete matrix is loaded into the slice register, and for each of the N cycles, at least one column of the second matrix is loaded. For each cycle, there are N dot products that are processed.
[0069] Depending on the specific implementation, matrix elements can be stored in different precisions, including 16-bit words, 8-bit bytes (e.g., INT8), and 4-bit nibbles (e.g., INT4). Different precision modes can be specified for the tensor cores 244 to ensure that the most efficient precision is used for different workloads (e.g., such as inference workloads, which can tolerate quantization to bytes and to nibbles).
[0070] In one embodiment, the ray tracing core 245 accelerates ray tracing operations for both real-time ray tracing implementations and non-real-time ray tracing implementations. Specifically, the ray tracing core 245 includes a ray traversal / intersection circuit that uses a bounding volume hierarchy (BVH) to perform ray traversals and identify intersections between rays and primitives enclosed within the BVH. The ray tracing core 245 may also include circuits for performing depth testing and culling (e.g., using a Z buffer or similar arrangement). In one implementation, the ray tracing core 245 performs traversal operations and intersection operations in conjunction with the image denoising techniques described herein, at least a portion of which may be performed on the tensor core 244. For example, in one embodiment, the tensor core 244 implements a deep learning neural network to perform denoising on frames generated by the ray tracing core 245. However, (one or more) CPUs 246, graphics cores 243, and / or ray tracing cores 245 may also implement all or part of the denoising and / or deep learning algorithms.
[0071] In addition, as described above, a distributed approach to denoising may be employed in which the GPU 239 is in a computing device coupled to other computing devices via a network or high-speed interconnect. In this embodiment, the interconnected computing devices share neural network learning / training data to improve the speed at which the entire system learns to perform denoising for different types of image frames and / or different graphics applications.
[0072] In one embodiment, the ray tracing core 245 handles all BVH traversals and ray-primitive intersections, thereby preventing the graphics core 243 from being overloaded with thousands of instructions for each ray. In one embodiment, each ray tracing core 245 includes a first set of specialized circuits for performing bounding box tests (e.g., for traversal operations) and a second set of specialized circuits for performing ray-triangle intersection tests (e.g., intersecting rays that have been traversed). Thus, in one embodiment, the multi-core group 240A can simply initiate ray detection, and the ray tracing core 245 independently performs ray traversals and intersections and returns hit data (e.g., hits, no hits, multiple hits, etc.) to the thread context. While the ray tracing core 245 performs traversal and intersection operations, the other cores 243, 244 are freed up to perform other graphics or computational work.
[0073] In one embodiment, each ray tracing core 245 includes a traversal unit for performing BVH test operations and an intersection unit for performing ray-primitive intersection tests. The intersection unit generates a "hit", "no hit", or "multiple hits" response, which it provides to the appropriate thread. During traversal and intersection operations, execution resources of other cores (e.g., graphics core 243 and tensor core 244) are freed up to perform other forms of graphics work.
[0074] In one particular embodiment described below, a hybrid rasterization / ray tracing approach is used in which the work is distributed between graphics core 243 and ray tracing core 245 .
[0075] In one embodiment, the ray tracing core 245 (and / or other cores 243, 244) includes hardware support for ray tracing instruction sets, such as Microsoft's DirectX Ray Tracing (DXR), which includes the DispatchRays command; and ray generation shaders, nearest hit shaders, any hit shaders, and miss shaders, which enable the assignment of a unique set of shaders and textures to each object. Another ray tracing platform that can be supported by the ray tracing core 245, graphics core 243, and tensor core 244 is Vulkan 1.1.85. However, it is to be noted that the underlying principles of the embodiments described herein are not limited to any particular ray tracing ISA.
[0076] In general, each core 245, 244, 243 may support a ray tracing instruction set including instructions / functions for: ray generation, nearest hit, any hit, ray-primitive intersection, per-primitive and hierarchy bounding box construction, misses, visits, and exceptions. More specifically, one embodiment includes ray tracing instructions for performing the following functions:
[0077] Light Generation (Ray Generation) - Ray generation instructions can be executed for each pixel, sample, or other user-defined work distribution.
[0078] Recent Hits (Closest Hit) - The closest hit command can be executed to locate the closest intersection of a ray and a primitive within the scene.
[0079] Any hit (Any Hit) – The Any Hit instruction identifies multiple intersections between rays and primitives within the scene, potentially identifying a new closest intersection point.
[0080] intersect (Intersection)——The intersection command performs a ray-primitive intersection test and outputs the result.
[0081] Construct bounding box per primitive (Per-primitive Bounding box Construction) - This instruction builds a bounding box around a given primitive or group of primitives (for example, when building a new BVH or other acceleration data structure).
[0082] miss (Miss) – Indicates that the ray missed the scene or any geometry within the specified region of the scene.
[0083] visit(Visit) – Indicates the child volume that the ray will traverse.
[0084] abnormal (Exceptions) - includes various types of exception handlers (e.g., called for various error conditions).
[0085] In one embodiment, the ray tracing core 245 can be adapted to accelerate general computing operations that can be accelerated using computing techniques similar to ray intersection tests. A computing framework can be provided that enables shader programs to be compiled into low-level instructions and / or primitives that perform general computing operations via the ray tracing core. Exemplary computing problems that can benefit from computing operations performed on the ray tracing core 245 include calculations involving beam, wave, light or particle propagation in a coordinate space. Interactions associated with the propagation can be calculated relative to a geometry or mesh in a coordinate space. For example, calculations associated with the propagation of electromagnetic signals through an environment can be accelerated using instructions or primitives executed via a ray tracing core. Diffraction and reflection of signals by objects in the environment can be calculated as a direct ray tracing analogy.
[0086] The ray tracing core 245 can also be used to perform calculations that are not directly similar to ray tracing. For example, the ray tracing core 245 can be used to accelerate mesh projection, mesh refinement, and volume sampling calculations. General coordinate space calculations, such as nearest neighbor calculations, can also be performed. For example, a set of points near a given point can be found by defining a bounding box in the coordinate space around the point. The BVH and ray detection logic within the ray tracing core 245 can then be used to determine a set of point intersections within the bounding box. The intersection constitutes the origin and the nearest neighbor to the origin. The calculations performed using the ray tracing core 245 can be performed in parallel with the calculations performed on the graphics core 243 and the tensor core 244. The shader compiler can be configured to compile a compute shader or other general graphics processing program into a low-level primitive that can be parallelized across the graphics core 243, the tensor core 244, and the ray tracing core 245.
[0087] Figure 2D2 is a block diagram of a general purpose graphics processing unit (GPGPU) 270 according to an embodiment described herein, which GPGPU 270 can be configured as a graphics processor and / or a computing accelerator. GPGPU 270 can be interconnected with a host processor (e.g., one or more CPUs 246) and memories 271, 272 via one or more system and / or memory buses. In one embodiment, memory 271 is a system memory that can be shared with one or more CPUs 246, while memory 272 is a device memory dedicated to GPGPU 270. In one embodiment, components within GPGPU 270 and memory 272 can be mapped to memory addresses accessible by one or more CPUs 246. Access to memories 271 and 272 can be facilitated via a memory controller 268. In one embodiment, memory controller 268 includes an internal direct memory access (DMA) controller 269, or can include logic for performing operations that would otherwise be performed by a DMA controller.
[0088] GPGPU 270 includes a plurality of cache memories, including L2 cache 253, L1 cache 254, instruction cache 255, and shared memory 256, at least a portion of which may also be partitioned as cache memories. GPGPU 270 also includes a plurality of computing units 260A-260N, which represent similar Figure 2B Graphics cores 221A-221F and Figure 2CThe hierarchical abstraction level of the multi-core group 240A-240N of FIG. Each computing unit 260A-260N includes a set 261 of vector registers, a set 262 of scalar registers, a set 263 of vector logic units, and a set 264 of scalar logic units. The computing units 260A-260N may also include a local shared memory 265 and a program counter 266. The computing units 260A-260N may be coupled with a constant cache 267, which may be used to store constant data, which is data that will not change during the execution of a core program or a shader program executed on the GPGPU 270. In one embodiment, the constant cache 267 is a scalar data cache, and the cached data may be directly fetched into the scalar registers 262. During operation, one or more CPUs 246 may write commands to registers in the GPGPU 270, or to memory in the GPGPU 270 that has been mapped to an accessible address space. The command processor 257 can read commands from registers or memory and determine how to process those commands within the GPGPU 270. The thread dispatcher 258 can then be used to dispatch threads to the computing units 260A-260N to execute those commands. Each computing unit 260A-260N can execute threads independently of other computing units. In addition, each computing unit 260A-260N can be independently configured for conditional calculations and can conditionally output the results of the calculations to memory. When the submitted commands are completed, the command processor 257 can interrupt one or more CPUs 246.
[0089] Figure 3A-3C Block diagram illustrating additional graphics processor and computing accelerator architectures provided by embodiments described herein. Figure 3A-3C Those elements having the same reference numerals (or names) as elements of any other figure herein may operate or function in any manner similar to that described elsewhere herein, but are not limited thereto.
[0090] Figure 3A 3 is a block diagram of a graphics processor 300, which may be a discrete graphics processing unit, or may be a graphics processor integrated with multiple processing cores or other semiconductor devices, such as, but not limited to, memory devices or network interfaces. In some embodiments, the graphics processor communicates via a memory-mapped I / O interface to registers on the graphics processor and using commands placed into processor memory. In some embodiments, the graphics processor 300 includes a memory interface 314 for accessing memory. The memory interface 314 may be an interface to local memory, one or more internal caches, one or more shared external caches, and / or system memory.
[0091] In some embodiments, the graphics processor 300 also includes a display controller 302 for driving display output data to a display device 318. The display controller 302 includes hardware for compositing one or more overlay planes and multiple layers of video or user interface elements for a display. The display device 318 can be an internal or external display device. In one embodiment, the display device 318 is a head-mounted display device, such as a virtual reality (VR) display device or an augmented reality (AR) display device. In some embodiments, the graphics processor 300 includes a video codec engine 306 for encoding media to one or more media coding formats, decoding media from one or more media coding formats, or transcoding media between one or more media coding formats, including but not limited to: Moving Picture Experts Group (MPEG) formats (such as MPEG-2), Advanced Video Coding (AVC) formats (such as H.264 / MPEG-4 AVC, H.265 / HEVC, Alliance for Open Media (AO Media) VP8, VP9), and Society of Motion Picture & Television Engineers (SMPTE) 421M / VC-1, and Joint Photographic Experts Group (JPEG) formats (such as JPEG and Motion JPEG (MJPEG) formats).
[0092] In some embodiments, graphics processor 300 includes a block image transfer (BLIT) engine 304 for performing two-dimensional (2D) rasterizer operations, including, for example, bit boundary block transfers. However, in one embodiment, 2D graphics operations are performed using one or more components of a graphics processing engine (GPE) 310. In some embodiments, GPE 310 is a compute engine for performing graphics operations, including three-dimensional (3D) graphics operations and media operations.
[0093] In some embodiments, GPE 310 includes a 3D pipeline 312 for performing 3D operations, such as rendering three-dimensional images and scenes using processing functions that act on 3D primitive shapes (e.g., rectangles, triangles, etc.). 3D pipeline 312 includes programmable and fixed-function elements that perform various tasks within elements and / or generated execution threads of 3D / media subsystem 315. Although 3D pipeline 312 can be used to perform media operations, embodiments of GPE 310 also include a media pipeline 316 that is specifically used to perform media operations, such as video post-processing and image enhancement.
[0094] In some embodiments, the media pipeline 316 includes fixed-function or programmable logic units for performing one or more specialized media operations, such as video decoding acceleration, video deinterlacing, and video encoding acceleration, instead of, or on behalf of the video codec engine 306. In some embodiments, the media pipeline 316 additionally includes a thread generation unit to generate threads for execution on the 3D / media subsystem 315. The generated threads perform calculations for media operations on one or more graphics cores included in the 3D / media subsystem 315.
[0095] In some embodiments, the 3D / media subsystem 315 includes logic for executing threads generated by the 3D pipeline 312 and the media pipeline 316. In one embodiment, the pipeline sends thread execution requests to the 3D / media subsystem 315, which includes thread dispatch logic for arbitrating and dispatching various requests for available thread execution resources. The execution resources include an array of graphics cores for processing 3D threads and media threads. In some embodiments, the 3D / media subsystem 315 includes one or more internal caches for thread instructions and data. In some embodiments, the subsystem also includes a shared memory for sharing data between threads and for storing output data, which includes registers and addressable memory.
[0096] Figure 3B A graphics processor 320 having a tiled architecture is shown in accordance with an embodiment described herein. In one embodiment, the graphics processor 320 includes a graphics processing engine cluster 322 having graphics engine slices 310A-310D. Figure 3A310D. Each graphics engine slice 310A-310D may be interconnected via a set 323A-323F of slice interconnects. Each graphics engine slice 310A-310D may also be connected to a memory module or memory device 326A-326D via a memory interconnect 325A-325D. The memory device 326A-326D may use any graphics memory technology. For example, the memory device 326A-326D may be a graphics double data rate (GDDR) memory. In one embodiment, the memory devices 326A-326D are HBM modules that may be on a die with their corresponding graphics engine slices 310A-310D. In one embodiment, the memory devices 326A-326D are stacked memory devices that may be stacked on top of their corresponding graphics engine slices 310A-310D. In one embodiment, each graphics engine slice 310A-310D and associated memory 326A-326D resides on a separate chiplet that is bonded to a base die or substrate, such as in Figure 11B-Figure 11D As described in further detail in .
[0097] Graphics processor 320 may be configured with a non-uniform memory access (NUMA) system in which memory devices 326A-326D are coupled to associated graphics engine slices 310A-310D. A given memory device may be accessed by a graphics engine slice rather than a slice to which it is directly connected. However, access latency to memory devices 326A-326D may be lowest when accessing a local slice. In one embodiment, a cache-consistent NUMA (ccNUMA) system is enabled that uses slice interconnects 323A-323F to enable communication between cache controllers within graphics engine slices 310A-310D to maintain a consistent memory image when more than one cache stores the same memory location.
[0098] The graphics processing engine cluster 322 may be connected to an on-chip or on-package fabric interconnect 324. In one embodiment, the fabric interconnect 324 includes a network processor, a network on chip (NoC), or other switch processor to enable the fabric interconnect 324 to function as a packet-switched fabric interconnect that exchanges data packets between components of the graphics processor 320. The fabric interconnect 324 may enable communication between the graphics engine slices 310A-310D and components such as the video codec engine 306 and one or more replica engines 304. The replica engines 304 may be used to move data out of the memory devices 326A-326D and memory external to the graphics processor 320 (e.g., system memory), move data into the memory devices 326A-326D and memory external to the graphics processor 320 (e.g., system memory), and move data between the memory devices 326A-326D and memory external to the graphics processor 320 (e.g., system memory). Fabric interconnect 324 may also be coupled to one or more of slice interconnects 323A-323F to facilitate or enhance interconnection between graphics engine slices 310A-310D. Fabric interconnect 324 may also be configured to interconnect multiple instances of graphics processor 320 (e.g., via host interface 328), thereby enabling slice-to-slice communication between graphics engine slices 310A-310D of multiple GPUs. In one embodiment, graphics engine slices 310A-310D of multiple GPUs may be presented to a host system as a single logical device.
[0099] The graphics processor 320 may optionally include a display controller 302 to enable connection to a display device 318. The graphics processor may also be configured as a graphics accelerator or a computing accelerator. In an accelerator configuration, the display controller 302 and the display device 318 may be omitted.
[0100] Graphics processor 320 may be connected to a host system via host interface 328. Host interface 328 may enable communication between graphics processor 320, system memory, and / or system components. Host interface 328 may be, for example, a PCI Express bus or another type of host system interface. For example, host interface 328 may be an NVLink or NVSwitch interface. Host interface 328 and fabric interconnect 324 may collaborate to enable multiple instances of graphics processor 320 to act as a single logical device. The collaboration between host interface 328 and fabric interconnect 324 may also enable individual graphics engine slices 310A-310D to be presented to the host system as different logical graphics devices.
[0101] Figure 3C FIG. 3 shows a computing accelerator 330 according to an embodiment described herein. The computing accelerator 330 may include Figure 3BThe computing engine cluster 332 may have an architectural similarity to the graphics processor 320 in the graphics processor 320, and is optimized for computing acceleration. The computing engine cluster 332 may include a set 340A-340D of computing engine slices, and the set 340A-340D of computing engine slices includes execution logic optimized for parallel or vector-based general computing operations. In some embodiments, the computing engine slices 340A-340D do not include fixed-function graphics processing logic, but in one embodiment, one or more of the computing engine slices 340A-340D may include logic for performing media acceleration. The computing engine slices 340A-340D may be connected to the memory 326A-326D via the memory interconnect 325A-325D. The memory 326A-326D and the memory interconnect 325A-325D may be similar technologies as in the graphics processor 320, or may be different technologies. The graphics compute engine slices 340A-340D may also be interconnected via a set of tile interconnects 323A-323F, and may be connected to and / or interconnected by a fabric interconnect 324. Cross-tile communication may be facilitated via the fabric interconnect 324. The fabric interconnect 324 may also facilitate communication between the compute engine slices 340A-340D of multiple instances of a compute accelerator 330 (e.g., via a host interface 328). In one embodiment, the compute accelerator 330 includes a large L3 cache 336 that may be configured as a device-wide cache. The compute accelerator 330 may also communicate with the host computer 328 to communicate with the host computer 328. Figure 3B The computing accelerator 330 is connected to the host processor and memory via the host interface 328 in a similar manner to the graphics processor 320 in the computing accelerator. The computing accelerator 330 may also include an integrated network interface 342. In one embodiment, the network interface 342 includes a network processor and controller logic that enables the computing engine cluster 332 to communicate via a physical layer interconnect 344 without the need for data to pass through the memory of the host system. In one embodiment, one of the computing engine slices 340A-340D is replaced by a network processor logic, and the data to be transmitted or received via the physical layer interconnect 344 can be directly transmitted to or received from the memory 326A-326D. Multiple instances of the computing accelerator 330 can be joined into a single logical device via the physical layer interconnect 344. Alternatively, the various computing engine slices 340A-340D can be presented as different network-accessible computing accelerator devices.
[0102] Graphics processing engine
[0103] Figure 4 is a block diagram of a graphics processing engine 410 of a graphics processor according to some embodiments. In one embodiment, the graphics processing engine (GPE) 410 is Figure 3A A version of the GPE 310 shown in FIG. Figure 3B The graphics engine slices 310A-310D in FIG. Figure 4 Those elements having the same reference numerals (or names) as elements of any other figure herein can operate or function in any manner similar to that described elsewhere herein, but are not limited thereto. Figure 3A 410. The 3D pipeline 312 and the media pipeline 316 of the GPE 410. The media pipeline 316 is optional in some embodiments of the GPE 410 and may not be explicitly included within the GPE 410. For example and in at least one embodiment, separate media and / or image processors are coupled to the GPE 410.
[0104] In some embodiments, the GPE 410 is coupled to or includes a command streamer 403 that provides a command stream to the 3D pipeline 312 and / or the media pipeline 316. Alternatively or additionally, the command streamer 403 may be directly coupled to a unified return buffer 418. The unified return buffer 418 may be communicatively coupled to the graphics core cluster 414. In some embodiments, the command streamer 403 is coupled to a memory, which may be a system memory, or one or more of an internal cache memory and a shared cache memory. In some embodiments, the command streamer 403 receives commands from the memory and sends these commands to the 3D pipeline 312 and / or the media pipeline 316. These commands are instructions taken from a ring buffer that stores commands for the 3D pipeline 312 and the media pipeline 316. In one embodiment, the ring buffer may additionally include a batch command buffer that stores a batch of multiple commands. Commands for the 3D pipeline 312 may also include references to data stored in memory, such as, but not limited to, vertex data and geometry data for the 3D pipeline 312 and / or image data and memory objects for the media pipeline 316. The 3D pipeline 312 and the media pipeline 316 process commands and data by performing operations via logic within their respective pipelines or by dispatching one or more execution threads to the graphics core cluster 414. In one embodiment, the graphics core cluster 414 includes one or more graphics core blocks (e.g., graphics core block 415A, graphics core block 415B), each block including one or more graphics cores. Each graphics core includes a collection of graphics execution resources, including: general execution logic and graphics-specific execution logic for performing graphics operations and computational operations; and fixed-function texture processing logic and / or machine learning and artificial intelligence acceleration logic, such as matrix or AI acceleration logic.
[0105] In various embodiments, the 3D pipeline 312 may include fixed function and programmable logic for processing one or more shader programs, such as vertex shaders, geometry shaders, pixel shaders, fragment shaders, compute shaders, or other shaders and / or GPGPU programs, by processing instructions and dispatching execution threads to the graphics core cluster 414. The graphics core cluster 414 provides a unified execution resource block for use in processing these shader programs. The multi-function execution logic within the graphics core blocks 415A-415B of the graphics core cluster 414 includes support for various 3D API shader languages and can execute multiple simultaneous execution threads associated with multiple shaders.
[0106] In some embodiments, graphics core cluster 414 includes execution logic for performing media functions such as video and / or image processing. In one embodiment, the graphics core includes general purpose logic that can be programmed to perform parallel general purpose computing operations in addition to performing graphics processing operations. The general purpose logic can be used with Figure 1 (one or more) processor cores 107 or Figure 2A The general logic within the cores 202A-202N in the MCU performs processing operations in parallel or in combination.
[0107] Output data generated by threads executing on graphics core cluster 414 may output data to memory in unified return buffer (URB) 418. URB 418 may store data for multiple threads. In some embodiments, URB 418 may be used to send data between different threads executing on graphics core cluster 414. In some embodiments, URB 418 may additionally be used for synchronization between threads on the graphics core array and fixed function logic within shared function logic 420.
[0108] In some embodiments, graphics core cluster 414 is scalable such that the cluster includes a variable number of graphics cores, each having a variable number of graphics cores based on the target power and performance level of GPE 410. In one embodiment, execution resources are dynamically scalable such that execution resources can be enabled or disabled as needed.
[0109] The graphics core cluster 414 is coupled to shared function logic 420, which includes a plurality of resources shared between the graphics cores in the graphics core array. The shared functions within the shared function logic 420 are hardware logic units that provide specialized supplemental functions to the graphics core cluster 414. In various embodiments, the shared function logic 420 may include, but is not limited to, sampler logic 421, math logic 422, and inter-thread communication (ITC) logic 423. Additionally, some embodiments implement one or more caches 425 within the shared function logic 420. The shared function logic 420 may implement Figure 2B The additional fixed function logic 238 performs the same or similar functions.
[0110] Shared functionality is implemented at least in cases where demand for a given specialized functionality is insufficient to be included in graphics core cluster 414. Instead, a single instantiation of the specialized functionality is implemented as an independent entity in shared functionality logic 420 and shared between execution resources within graphics core cluster 414. The exact set of functions shared between graphics core clusters 414 and included within graphics core cluster 414 varies from embodiment to embodiment. In some embodiments, specific shared functionality within shared functionality logic 420 that is widely used by graphics core cluster 414 may be included within shared functionality logic 416 within graphics core cluster 414. In various embodiments, shared functionality logic 416 within graphics core cluster 414 may include some or all of the logic within shared functionality logic 420. In one embodiment, all logic elements within shared functionality logic 420 may be replicated within shared functionality logic 416 of graphics core cluster 414. In one embodiment, shared functionality logic 420 is excluded in favor of shared functionality logic 416 within graphics core cluster 414.
[0111] Graphics processing resources
[0112] Figures 5A-5C Execution logic including an array of processing elements employed in a graphics processor is illustrated according to embodiments described herein. Figure 5A Illustrated is a graphics core cluster according to an embodiment. Figure 5B Illustrated is a vector engine of a graphics core according to an embodiment. Figure 5C Illustrated is a matrix engine of a graphics core according to an embodiment. Figures 5A-5C Elements in the same figure as elements in any other figure herein may operate or function in any manner similar to that described elsewhere herein, but are not limited thereto. For example, Figures 5A-5C The components can be Figure 2B The graphics processor core block 219 and / or Figure 4In one embodiment, Figures 5A-5C The components have Figure 2A Graphics processor 208, Figure 2C GPU 239 or Figure 2D The equivalent components of the GPGPU 270 have similar functions.
[0113] like Figure 5A As shown, in one embodiment, the graphics core cluster 414 includes a graphics core block 415, which may be Figure 4 Graphics core block 415 may include any number of graphics cores (e.g., graphics core 515A, graphics core 515B through graphics core 515N). Multiple instances of graphics core block 415 may be included. In one embodiment, the components of graphics cores 515A-515N have the same Figure 2B 221F of the graphics core 221A-221F. In such an embodiment, the graphics cores 515A-515N each include circuitry including, but not limited to, vector engines 502A-502N, matrix engines 503A-503N, memory load / store units 504A-504N, instruction caches 505A-505N, data caches / shared local memories 506A-506N, ray tracing units 508A-508N, and samplers 510A-510N. The circuitry of the graphics cores 515A-515N may additionally include fixed function logic 512A-512N. The number of vector engines 502A-502N and matrix engines 503A-503N within a designed graphics core 515A-515N may vary based on the workload, performance, and power targets for the design.
[0114] With reference to graphics core 515A, vector engine 502A and matrix engine 503A can be configured to perform parallel computing operations on data in various integer and floating point data formats based on instructions associated with shader programs. Each vector engine 502A and matrix engine 503A can act as a programmable general-purpose computing unit that can execute multiple simultaneous hardware threads while processing multiple data elements in parallel for each thread. Vector engine 502A and matrix engine 503A support processing with variable width vectors of various SIMD widths (including but not limited to SIMD8, SIMD16 and SIMD32). Input data elements can be stored in registers as compact data types, and vector engine 502A and matrix engine 503A can process various elements based on the data size of the elements. For example, when operating on a 256-bit wide vector, the 256 bits of the vector are stored in registers and the vector is processed as four separate 64-bit packed data elements (quad-word (QW) size data elements), eight separate 32-bit packed data elements (double-word (DW) size data elements), sixteen separate 16-bit packed data elements (word (W) size data elements), or thirty-two separate 8-bit data elements (byte (B) size data elements). However, different vector widths and register sizes are possible. In one embodiment, the vector engine 502A and the matrix engine 503A can also be configured to perform SIMT operations on warps or thread groups of various sizes (e.g., 8, 16 or 32 threads).
[0115] Continuing with the graphics core 515A, the memory load / store unit 504A services memory access requests issued by the vector engine 502A, the matrix engine 503A, and / or other components of the graphics core 515A that have access to memory. The memory access request can be processed by the memory load / store unit 504A to load or store the requested data to or from the cache or memory into a register file associated with the vector engine 502A and / or the matrix engine 503A. The memory load / store unit 504A can also perform prefetch operations. In one embodiment, the memory load / store unit 504A is configured to provide SIMT scatter / gather prefetch or block prefetch for data stored in the memory 610 from memory local to other slices or from system memory via the slice interconnect 608. Prefetching can be performed on a specific L1 cache (e.g., data cache / shared local memory 506A), L2 cache 604, or L3 cache 606. In one embodiment, a prefetch to L3 cache 606 automatically causes the data to be stored in L2 cache 604 .
[0116] Instruction cache 505A stores instructions to be executed by graphics core 515A. In one embodiment, graphics core 515A also includes instruction acquisition and pre-fetch circuits that acquire or pre-fetch instructions into instruction cache 505A. Graphics core 515A also includes instruction decoding logic to decode instructions within instruction cache 505A. Data cache / shared local memory 506A can be configured as a data cache managed by a cache controller that implements a cache replacement strategy and / or configured as a shared memory that is explicitly managed. Ray tracing unit 508A includes circuits for accelerating ray tracing operations. Sampler 510A provides texture sampling for 3D operations and media sampling for media operations. Fixed function logic 512A includes fixed function circuits shared between various instances of vector engine 502A and matrix engine 503A. Graphics cores 515B-515N can operate in a manner similar to graphics core 515A.
[0117] The functions of instruction caches 505A-505N, data cache / shared local memory 506A-506N, ray tracing units 508A-508N, samplers 510A-510N, and fixed function logic 512A-512N correspond to equivalent functions in the graphics processor architecture described herein. For example, instruction caches 505A-505N may be implemented in a manner similar to Figure 2D The data cache / shared local memory 506A-506N, the ray tracing units 508A-508N and the samplers 510A-510N can be operated in a manner similar to Figure 2B The fixed function logic 512A-512N may include the cache / SLM 228A-228F, the ray tracing unit 227A-227F and the sampler 226A-226F. Figure 2B In one embodiment, ray tracing units 508A-508N include components for performing the operations performed by Figure 2C The ray tracing core 245 is a circuit for performing ray tracing acceleration operations.
[0118] like Figure 5BAs shown, in one embodiment, the vector engine 502 includes an instruction fetch unit 537, a general register file array (GRF) 524, an architectural register file array (ARF) 526, a thread arbiter 522, an issue unit 530, a branch unit 532, a set of SIMD floating point units (FPUs) 534, and a set of integer SIMD ALUs 535 in one embodiment. The GRF 524 and ARF 526 include a set of general register files and architectural register files associated with each hardware thread that can be active in the vector engine 502. In one embodiment, the per-thread architectural state is maintained in the ARF 526, and data used during thread execution is stored in the GRF 524. The execution state of each thread, including the instruction pointer for each thread, can be maintained in thread-specific registers in the ARF 526.
[0119] In one embodiment, the vector engine 502 has an architecture that is a combination of Simultaneous Multi-Threading (SMT) and fine-grained Interleaved Multi-Threading (IMT). The architecture has a modular configuration that can be fine-tuned at design time based on the target number of simultaneous threads and the number of registers per graphics core, where graphics core resources are divided across logic for executing multiple simultaneous threads. The number of logical threads that can be executed by the vector engine 502 is not limited to the number of hardware threads, and multiple logical threads can be assigned to each hardware thread.
[0120] In one embodiment, vector engine 502 can issue multiple instructions in coordination, and these instructions can be different instructions respectively.Thread arbiter 522 can dispatch instructions to one of the following items for execution: send unit 530, branch unit 532 or (one or more) SIMD FPU 534. Each execution thread can access 128 general registers in GRF 524, wherein each register can store 32 bytes that can be accessed as a variable width vector with 32-bit data elements. In one embodiment, each thread has access to 4 kilobytes in GRF 524, but the embodiment is not limited thereto, and more or less register resources can be provided in other embodiments. In one embodiment, vector engine 502 is partitioned into seven hardware threads that can independently perform calculation operations, but the number of threads of each vector engine 502 can also be different according to the embodiment. For example, in one embodiment, support up to 16 hardware threads. In the embodiment where seven threads can access 4 kilobytes, GRF 524 can store a total of 28 kilobytes. With 16 threads accessing 4 kilobytes, a total of 64 kilobytes can be stored by GRF 524. Flexible addressing modes may permit multiple registers to be addressed together, creating effectively wider registers or representing strided rectangular block data structures.
[0121] In one embodiment, memory operations, sampler operations, and other longer latency system communications are dispatched via "send" instructions executed through message passing send unit 530. In one embodiment, branch instructions are dispatched to a dedicated branch unit 532 to facilitate SIMD divergence and eventual convergence.
[0122] In one embodiment, the vector engine 502 includes one or more SIMD floating point units (FPUs) 534 for performing floating point operations. In one embodiment, the (one or more) FPUs 534 also support integer calculations. In one embodiment, the (one or more) FPUs 534 can perform up to a number M of 32-bit floating point (or integer) operations, or perform up to 2M 16-bit integer or 16-bit floating point operations. In one embodiment, at least one of the (one or more) FPUs provides extended math capabilities that support high throughput transcendental math functions and double-precision 64-bit floating points. In some embodiments, a set 535 of 8-bit integer SIMD ALUs also exists and can be specifically optimized to perform operations associated with machine learning calculations. In one embodiment, the SIMD ALUs are replaced by an additional set of SIMD FPUs 534, which can be configured to perform integer and floating point operations. In one embodiment, the SIMD FPUs 534 and SIMD ALUs 535 can be configured to execute SIMT programs. In one embodiment, combined SIMD+SIMT operations are supported. In one embodiment, an array of multiple instances of the vector engine 502 can be instantiated in a graphics core. For scalability, product architects can choose the exact number of vector engines per graphics core grouping. In one embodiment, vector engine 502 can execute instructions across multiple execution lanes. In further embodiments, each thread executed on vector engine 502 is executed on a different lane.
[0123] like Figure 5CAs shown, in one embodiment, the matrix engine 503 includes an array of processing elements, which are configured to perform tensor operations, including vector / matrix and matrix / matrix operations, such as but not limited to matrix multiplication and / or dot product operations. The matrix engine 503 is configured with M rows and N columns of processing elements (PE 552AA-PE 552MN), which include multipliers and adder circuits organized in a pipelined manner. In one embodiment, the processing elements 552AA-PE 552MN form a physical pipeline stage of a systolic array of N width and M depth, which can be used to perform vector / matrix or matrix / matrix operations in a data parallel manner, including matrix multiplication, fused multiplication-addition, dot product or other general matrix-matrix multiplication (GEMM) operations. In one embodiment, the matrix engine 503 supports 16-bit floating point operations, as well as 8-bit, 4-bit, 2-bit and binary integer operations. The matrix engine 503 can also be configured to accelerate specific machine learning operations. In such an embodiment, the matrix engine 503 may be configured with support for the bfloat (brain floating point) 16-bit floating point format or the tensor float 32-bit floating point format (TF32), which have a different number of mantissa and exponent bits relative to the Institute of Electrical and Electronics Engineers (IEEE) 754 format.
[0124] In one embodiment, during each cycle, each stage can add the result of the operation performed at the stage to the output of the previous stage. In other embodiments, after the calculation cycle set, the data movement pattern between the processing elements 552AA-552MN can change based on the instruction or macro operation being executed. For example, in one embodiment, the partial sum loopback is enabled, and the processing element can instead add the output of the current cycle to the output generated in the previous cycle. In one embodiment, the last stage of the systolic array can be configured with a loopback to the initial stage of the systolic array. In such an embodiment, the number of physical pipeline stages can be decoupled from the number of logical pipeline stages supported by the matrix engine 503. For example, in the case where the processing elements 552AA-552MN are configured as a systolic array of M physical stages, the loopback from stage M to the initial pipeline stage can enable the processing elements 552AA-PE 552MN to operate as a systolic array of logical pipeline stages such as 2M, 3M, 4M, etc.
[0125] In one embodiment, the matrix engine 503 includes memories 541A-541N, 542A-542M to store input data in the form of row and column data of the input matrix. The memories 542A-542M can be configured to store the row elements (A0-Am) of the first input matrix, and the memories 541A-541N can be configured to store the column elements (B0-Bn) of the second input matrix. The row and column elements are provided to the processing elements 552AA-552MN as input for processing. In one embodiment, before the row and column elements of the input matrix are provided to the memories 541A-541N, 542A-542M, these elements can be stored in the systolic register file 540 within the matrix engine 503. In one embodiment, the systolic register file 540 is excluded, and the memories 541A-541N, 542A-542M are removed from the registers in the associated vector engine (e.g., Figure 5B 524 of the vector engine 502) or other memory of the graphics core including the matrix engine 503 (e.g., Figure 5A The results generated by the processing elements 552AA-552MN are then output to output buffers and / or written to register files (e.g., systolic register file 540, GRF 524, data cache / shared local memory 506A-506N) for further processing by other functional units of the graphics processor or output to memory.
[0126] In some embodiments, the matrix engine 503 is configured with support for input sparsity, wherein the multiplication operation for the sparse area of the input data can be bypassed by skipping the multiplication operation with zero-valued operands. In one embodiment, the processing element 552AA-552MN is configured to skip the execution of certain operations with zero-valued inputs. In one embodiment, the sparsity in the input matrix can be detected, and the operation with known zero output value can be bypassed before being submitted to the processing element 552AA-552MN. Loading the zero-valued operand into the processing element can be bypassed, and the processing element 552AA-552MN can be configured to perform multiplication on non-zero-valued input elements. The matrix engine 503 can also be configured with support for output sparsity, so that the operation with the result predetermined to be zero is bypassed. For input sparsity and / or output sparsity, in one embodiment, metadata is provided to the processing element 552AA-552MN to indicate which processing elements and / or data channels will be active during the cycle for the processing cycle.
[0127] In one embodiment, matrix engine 503 includes hardware that enables operation on sparse data, and this sparse data has the compression representation of the sparse matrix storing non-zero values and the metadata of the position of the non-zero value in the matrix.Exemplary compression representation includes but is not limited to compressed tensor representation, such as compressed sparse row (CSR), compressed sparse column (CSC), compressed sparse fiber (CSF) representation.Support for compressed representation enables operation to input in compressed tensor format, without decompressing or decoding compressed representation.In such embodiment, operation can be performed only on non-zero input value, and the obtained non-zero output value can be mapped to output matrix.In certain embodiments, hardware support is also provided for the machine-specific lossless data compression format used when transmitting data in hardware or across system bus.For sparse input data, this data can be retained in compressed format, and matrix engine 503 can use the compression metadata of compressed data, so that operation can be performed only on non-zero value, or block that can bypass zero data input is carried out multiplication operation.
[0128] In various embodiments, the input data may be provided by the programmer in a compressed tensor representation, or the codec may compress the input data into a compressed tensor representation or another sparse data encoding. In addition to support for compressed tensor representations, streaming compression of sparse input data may be performed before the data is provided to the processing elements 552AA-552MN. In one embodiment, compression is performed on data written to a cache memory associated with the graphics core cluster 414, wherein the compression is performed using an encoding supported by the matrix engine 503. In one embodiment, the matrix engine 503 includes support for inputs with structured sparsity, in which a predetermined level or pattern of sparsity is applied to the input data. The data may be compressed to a known compression ratio, wherein the processing elements 552AA-552MN process the compressed data according to metadata associated with the compressed data.
[0129] Figure 6 FIG. 6 is a diagram of a slice 600 of a multi-slice processor according to an embodiment. In one embodiment, slice 600 represents Figure 3B Graphics engine chips 310A-310D or Figure 3C Slice 600 of a multi-slice graphics processor includes an array of graphics core clusters (e.g., graphics core cluster 414A, graphics core cluster 414B through graphics core cluster 414N), each of which has an array of graphics cores 515A-515N. Slice 600 also includes a global dispatcher 602 for dispatching threads to processing resources of slice 600.
[0130] Slice 600 may include or be coupled with L3 cache 606 and memory 610. In various embodiments, L3 cache 606 may be excluded or slice 600 may include additional levels of cache, such as an L4 cache. In one embodiment, each instance of slice 600 in a multi-slice graphics processor has an associated memory 610, such as in Figure 3B and Figure 3C In one embodiment, the multi-chip processor can be configured as a multi-chip module, where the L3 cache 606 and / or memory 610 reside on a chiplet that is separate from the graphics core clusters 414A-414N. In this context, a chiplet is an at least partially packaged integrated circuit that includes different logic units that can be assembled with other chiplets into a larger package. For example, the L3 cache 606 can be included in a dedicated cache chiplet, or can reside on the same chiplet as the graphics core clusters 414A-414N. In one embodiment, the L3 cache 606 can be included in an active base die or an active interposer, such as Fig. 11C As shown in the figure.
[0131] Memory structure 603 enables communication between graphics core clusters 414A-414N, L3 cache 606, and memory 610. L2 cache 604 is coupled to memory structure 603 and may be configured to cache transactions executed via memory structure 603. Slice interconnect 608 enables communication with other slices on the graphics processor and may be Figure 3B and 3C 604. In an embodiment where L3 cache 606 is excluded from slice 600, L2 cache 604 may be configured as a combined L2 / L3 cache. In a specific implementation, memory structure 603 may be configured to route data to L3 cache 606 or a memory controller associated with memory 610 based on the presence or absence of L3 cache 606. L3 cache 606 may be configured as a per-tile cache dedicated to the processing resources of slice 600, or may be a partition of a GPU-wide L3 cache.
[0132] Figure 7700 is a block diagram illustrating a graphics processor instruction format 700 according to some embodiments. In one or more embodiments, the graphics processor core supports an instruction set having instructions in multiple formats. Solid line boxes illustrate components that are typically included in the graphics core instructions, while dashed lines include components that are optional or included only in a subset of the instructions. In some embodiments, the graphics processor instruction format 700 described and illustrated are macroinstructions because they are instructions supplied to the graphics core, as opposed to micro-operations that result from instruction decoding that is performed once the instruction is processed. Therefore, a single instruction can cause the hardware to perform multiple micro-operations.
[0133] In some embodiments, the graphics processor natively supports instructions in the 128-bit instruction format 710. Based on the selected instructions, instruction options, and the number of operands, the 64-bit compact instruction format 730 can be used for some instructions. The native 128-bit instruction format 710 provides access to all instruction options, while some options and operations are limited in the 64-bit format 730. The native instructions available in the 64-bit format 730 vary from embodiment to embodiment. In some embodiments, the instructions are partially compressed using a set of index values in the index field 713. The graphics core hardware references a set of compression tables based on the index values and uses the compression table output to reconstruct the native instructions of the 128-bit instruction format 710. Other sizes and formats of instructions can be used.
[0134] For each format, the instruction opcode 712 defines the operation to be performed by the graphics core. The graphics core executes each instruction in parallel across multiple data elements of each operand. For example, in response to an addition instruction, the graphics core performs a synchronous addition operation across each color channel representing a texture element or a picture element. By default, the graphics core executes each instruction across all data channels of the operand. In some embodiments, the instruction control field 714 enables control of certain execution options, such as channel selection (e.g., predication) and data channel order (e.g., mixing). For instructions in the 128-bit instruction format 710, the execution size field 716 limits the number of data channels that will be executed in parallel. In some embodiments, the execution size field 716 is not available for the 64-bit compact instruction format 730.
[0135] Some graphics core instructions have up to three operands, including two source operands src0 720, src1 722, and one destination operand 718. In some embodiments, the graphics core supports dual destination instructions, where one of the dual destinations is implicit. Data manipulation instructions may have a third source operand (e.g., SRC2 724), where the instruction opcode 712 determines the number of source operands. The last source operand of an instruction may be an immediate (e.g., hard-coded) value passed with the instruction.
[0136] In some embodiments, the 128-bit instruction format 710 includes an access / addressing mode field 726 that specifies, for example, whether direct register addressing mode or indirect register addressing mode is used. When direct register addressing mode is used, the register addresses of one or more operands are provided directly by bits in the instruction.
[0137] In some embodiments, the 128-bit instruction format 710 includes an access / addressing mode field 726, which specifies the addressing mode and / or access mode of the instruction. In one embodiment, the access mode is used to define the data access alignment for the instruction. Some embodiments support access modes including 16-byte aligned access modes and 1-byte aligned access modes, wherein the byte alignment of the access mode determines the access alignment of the instruction operand. For example, when in the first mode, the instruction may use byte-aligned addressing for source operands and destination operands, and when in the second mode, the instruction may use 16-byte aligned addressing for all source operands and destination operands.
[0138] In one embodiment, the addressing mode portion of the access / addressing mode field 726 determines whether the instruction uses direct addressing or indirect addressing. When direct register addressing mode is used, the bits in the instruction directly provide the register address of one or more operands. When indirect register addressing mode is used, the register address of one or more operands can be calculated based on the address register value and the address immediate field in the instruction.
[0139] In some embodiments, instructions are grouped based on the opcode 712 bit field to simplify opcode decoding 740. For an 8-bit opcode, bits 4, 5, and 6 allow the graphics core to determine the type of opcode. The exact opcode grouping shown is only an example. In some embodiments, the move and logic opcode group 742 includes data movement and logic instructions (e.g., move (mov), compare (cmp)). In some embodiments, the move and logic group 742 shares five most significant bits (MSB), where the move (mov) instruction takes the form of 0000xxxxb and the logic instruction takes the form of 0001xxxxb. The flow control instruction group 744 (e.g., call (call), jump (jmp)) includes instructions in the form of 0010xxxxb (e.g., 0x7). The miscellaneous instruction group 746 includes a mixture of instructions, including synchronization instructions (e.g., wait (wait), send (send)) in the form of 0011xxxxb (e.g., 0x30). The parallel math instruction group 748 includes component-by-component arithmetic instructions (e.g., add, multiply (mul)) of the form 0100xxxxb (e.g., 0x40). The parallel math group 748 performs arithmetic operations in parallel across data channels. The vector math group 750 includes arithmetic instructions (e.g., dp4) of the form 0101xxxxb (e.g., 0x50). The vector math group performs arithmetic on vector operands, such as dot product calculations. In one embodiment, the illustrated opcode decode 740 can be used to determine which portion of the graphics core will be used to execute the decoded instructions. For example, some instructions may be designated as systolic instructions to be executed by a systolic array. Other instructions, such as ray tracing instructions (not shown) may be routed to a ray tracing core or ray tracing logic within a slice or partition of the execution logic.
[0140] Graphics Pipeline
[0141] Figure 8 is a block diagram of another embodiment of a graphics processor 800 . Figure 8 Those elements having the same reference numerals (or names) as elements of any other figure herein may operate or function in any manner similar to that described elsewhere herein, but are not limited thereto.
[0142] In some embodiments, the graphics processor 800 includes a geometry pipeline 820, a media pipeline 830, a display engine 840, a thread execution logic 850, and a rendering output pipeline 870. In some embodiments, the graphics processor 800 is a graphics processor within a multi-core processing system that includes one or more general-purpose processing cores. The graphics processor is controlled by register writes to one or more control registers (not shown) or via commands issued to the graphics processor 800 through the ring interconnect 802. In some embodiments, the ring interconnect 802 couples the graphics processor 800 to other processing components, such as other graphics processors or general-purpose processors. Commands from the ring interconnect 802 are interpreted by a command streamer 803, which supplies instructions to various components of the geometry pipeline 820 or the media pipeline 830.
[0143] In some embodiments, command streamer 803 directs the operation of vertex fetcher 805, which reads vertex data from memory and executes vertex processing commands provided by command streamer 803. In some embodiments, vertex fetcher 805 provides vertex data to vertex shader 807, which performs coordinate space transformation and lighting operations on each vertex. In some embodiments, vertex fetcher 805 and vertex shader 807 execute vertex processing instructions by dispatching execution threads to graphics cores 852A-852B via thread dispatcher 831.
[0144] In some embodiments, the graphics cores 852A-852B are arrays of vector processors with instruction sets for performing graphics operations and media operations. In some embodiments, the graphics cores 852A-852B have an attached L1 cache 851 that is dedicated to each array or shared between arrays. The cache can be configured as a data cache, an instruction cache, or partitioned into a single cache containing data and instructions in different partitions.
[0145] In some embodiments, the geometry pipeline 820 includes a tessellation component for performing hardware accelerated tessellation of 3D objects. In some embodiments, the programmable shell shader 811 configures the tessellation operation. The programmable domain shader 817 provides back-end evaluation of the tessellation output. The tessellation 813 operates under the direction of the shell shader 811 and includes dedicated logic for generating a detailed set of geometric objects based on a coarse geometric model that is provided as input to the geometry pipeline 820. In some embodiments, if tessellation is not used, the tessellation component (e.g., the shell shader 811, the tessellation 813, and the domain shader 817) can be bypassed. The tessellation component can operate based on data received from the vertex shader 807.
[0146] In some embodiments, the complete geometric object may be processed by the geometry shader 819 via one or more threads dispatched to the graphics cores 852A-852B, or may proceed directly to the clipper 829. In some embodiments, the geometry shader operates on the entire geometric object rather than on vertices or vertex patches as in previous stages of the graphics pipeline. If tessellation is disabled, the geometry shader 819 receives input from the vertex shader 807. In some embodiments, the geometry shader 819 is programmable by a geometry shader program to perform geometry tessellation when the tessellation unit is disabled.
[0147] Before rasterization, the clipper 829 processes the vertex data. The clipper 829 can be a fixed function clipper or a programmable clipper with clipping and geometry shader functions. In some embodiments, the rasterizer and depth test component 873 in the rendering output pipeline 870 dispatches a pixel shader to convert the geometric object into a pixel-by-pixel representation. In some embodiments, the pixel shader logic is included in the thread execution logic 850. In some embodiments, the application can bypass the rasterizer and depth test component 873 and access the unrasterized vertex data via the outflow unit 823.
[0148] The graphics processor 800 has an interconnect bus, interconnect structure, or some other interconnect mechanism that allows data and messages to be passed among the main components of the processor. In some embodiments, the graphics core 852A-852B and associated logic units (e.g., L1 cache 851, sampler 854, texture cache 858, etc.) are interconnected via data port 856 to perform memory access and communicate with the rendering output pipeline components of the processor. In some embodiments, the sampler 854, cache 851, 858 and graphics core 852A-852B each have a separate memory access path. In one embodiment, the texture cache 858 can also be configured as a sampler cache.
[0149] In some embodiments, the render output pipeline 870 includes a rasterizer and depth test component 873, which converts vertex-based objects into associated pixel-based representations. In some embodiments, the rasterizer logic includes a window / masker unit for performing fixed-function triangle and line rasterization. An associated rendering buffer 878 and depth buffer 879 are also available in some embodiments. The pixel operation component 877 performs pixel-based operations on data, but in some instances, pixel operations associated with 2D operations (e.g., using mixed bit block image transfer) are performed by the 2D engine 841, or replaced by the display controller 843 using an overlay display plane when displayed. In some embodiments, a shared L3 cache 875 can be used for all graphics components, allowing data to be shared without using main system memory.
[0150] In some embodiments, the media pipeline 830 includes a media engine 837 and a video front end 834. In some embodiments, the video front end 834 receives pipeline commands from the command streamer 803. In some embodiments, the media pipeline 830 includes a separate command streamer. In some embodiments, the video front end 834 processes the media commands before sending them to the media engine 837. In some embodiments, the media engine 837 includes a thread generation function for generating threads for dispatching to the thread execution logic 850 via the thread dispatcher 831.
[0151] In some embodiments, the graphics processor 800 includes a display engine 840. In some embodiments, the display engine 840 is external to the processor 800 and is coupled to the graphics processor via the ring interconnect 802, or some other interconnect bus or structure. In some embodiments, the display engine 840 includes a 2D engine 841 and a display controller 843. In some embodiments, the display engine 840 includes dedicated logic that can operate independently of the 3D pipeline. In some embodiments, the display controller 843 is coupled to a display device (not shown), which can be a system integrated display device (such as in a laptop) or an external display device attached via a display device connector.
[0152] In some embodiments, the geometry pipeline 820 and the media pipeline 830 may be configured to perform operations based on multiple graphics and media programming interfaces, and are not dedicated to any one application programming interface (API). In some embodiments, the driver software of the graphics processor converts API calls dedicated to a specific graphics or media library into commands that can be processed by the graphics processor. In some embodiments, support is provided for the Open Graphics Library (OpenGL), the Open Computing Language (OpenCL) and / or the Vulkan graphics and computing APIs all from the Khronos Group. In some embodiments, support may also be provided for the Direct3D library from Microsoft. In some embodiments, a combination of these libraries may be supported. Support may also be provided for the OpenSource Computer Vision Library (OpenCV). If a mapping from the pipeline of a future API to the pipeline of a graphics processor can be performed, future APIs with compatible 3D pipelines will also be supported.
[0153] Graphics pipeline programming
[0154] Fig.9A is a block diagram illustrating a graphics processor command format 900 that may be used to program a graphics processing pipeline in accordance with some embodiments. Fig. 9B is a block diagram illustrating a graphics processor command sequence 910 according to an embodiment. Fig.9A The solid-line boxes in illustrate components that are generally included in the graphics commands, while the dashed lines include components that are optional or included only in a subset of the graphics commands. Fig.9A An exemplary graphics processor command format 900 includes a data field for identifying a client 902, a command operation code (opcode) 904, and a data field for the command 906. A subopcode 905 and a command size 908 are also included in some commands.
[0155] In some embodiments, client 902 specifies the client unit of processing command data of graphics device. In some embodiments, graphics processor command parser checks the client field of each command to adjust the further processing of command and route command data to appropriate client unit. In some embodiments, graphics processor client unit includes memory interface unit, rendering unit, 2D unit, 3D unit, and media unit. Each client unit has a corresponding processing pipeline for processing command. Once command is received by client unit, client unit reads opcode 904 and sub-opcode 905 (if present) to determine the operation to be performed. Client unit uses information in data field 906 to execute command. For some commands, explicit command size 908 is expected to specify the size of command. In some embodiments, command parser automatically determines the size of at least some commands in command based on command opcode. In some embodiments, command is aligned via multiples of double word. Other command formats can be used.
[0156] Fig. 9B The flowchart in 910 illustrates an exemplary graphics processor command sequence 910. In some embodiments, software or firmware of a data processing system featuring an embodiment of a graphics processor uses a version of the command sequence shown to establish, execute, and terminate a set of graphics operations. The sample command sequence is shown and described for exemplary purposes only, as the embodiments are not limited to these particular commands or command sequences. Moreover, the commands may be issued as batches of commands in a command sequence so that the graphics processor will process the command sequence in an at least partially simultaneous manner.
[0157] In some embodiments, the graphics processor command sequence 910 may begin with a pipeline dump clear command 912 to cause any active graphics pipeline to complete the pipeline's currently pending commands. In some embodiments, the 3D pipeline 922 and the media pipeline 924 do not operate concurrently. The pipeline dump clear is performed to cause the active graphics pipeline to complete any pending commands. In response to the pipeline dump clear, the command parser for the graphics processor will suspend command processing until the active drawing engine completes the pending operation and the associated read cache is invalidated. Optionally, any data marked as "dirty" in the rendering cache can be dumped to memory. In some embodiments, the pipeline dump clear command 912 can be used for pipeline synchronization, or before placing the graphics processor in a low power state.
[0158] In some embodiments, when a command sequence requires the graphics processor to explicitly switch between pipelines, a pipeline select command 913 is used. In some embodiments, a pipeline select command 913 is only required once in an execution context before issuing pipeline commands unless the context will issue commands for both pipelines. In some embodiments, a pipeline flush command 912 is required immediately before a pipeline switch via a pipeline select command 913.
[0159] In some embodiments, pipeline control commands 914 configure the graphics pipeline for operation and are used to program 3D pipeline 922 and media pipeline 924. In some embodiments, pipeline control commands 914 configure the pipeline state of the active pipeline. In one embodiment, pipeline control commands 914 are used for pipeline synchronization and are used to clear data from one or more cache memories within the active pipeline before processing a batch of commands.
[0160] In some embodiments, commands associated with return buffer state 916 are used to configure a set of return buffers for a corresponding pipeline to write data. Some pipeline operations require allocating, selecting, or configuring one or more return buffers into which the operation writes intermediate data during processing. In some embodiments, the graphics processor also uses one or more return buffers to store output data and perform cross-thread communication. In some embodiments, return buffer state 916 includes selecting the size and number of return buffers to be used for a set of pipeline operations.
[0161] The remaining commands in the command sequence differ based on the active pipeline for operation.Based on pipeline decision 920 , the command sequence is tailored for either the 3D pipeline 922 starting at 3D pipeline state 930 , or the media pipeline 924 starting at media pipeline state 940 .
[0162] The commands for configuring the 3D pipeline state 930 include 3D state setting commands for vertex buffer state, vertex element state, constant color state, depth buffer state, and other state variables that will be configured before processing 3D primitive commands. The values of these commands are determined at least in part based on the specific 3D API in use. In some embodiments, the 3D pipeline state 930 commands can also selectively disable or bypass certain pipeline elements if those elements will not be used.
[0163] In some embodiments, 3D primitive 932 commands are used to submit 3D primitives to be processed by the 3D pipeline. The commands and associated parameters passed to the graphics processor via the 3D primitive 932 commands are forwarded to the vertex acquisition function in the graphics pipeline. The vertex acquisition function uses the 3D primitive 932 command data to generate multiple vertex data structures. The vertex data structure is stored in one or more return buffers. In some embodiments, 3D primitive 932 commands are used to perform vertex operations on 3D primitives via vertex shaders. In order to process vertex shaders, the 3D pipeline 922 dispatches shader programs to the graphics core.
[0164] In some embodiments, the 3D pipeline 922 is triggered via an execute 934 command or event. In some embodiments, a register write triggers the command execution. In some embodiments, the execution is triggered via a "go" or "kick" command in the command sequence. In one embodiment, the command execution is triggered using a pipeline synchronization command to dump and clear the command sequence through the graphics pipeline. The 3D pipeline will perform geometry processing for 3D primitives. Once the operation is completed, the resulting geometric objects are rasterized and the pixel engine shades the resulting pixels. For those operations, additional commands for controlling pixel shading and pixel backend operations may also be included.
[0165] In some embodiments, when performing media operations, the graphics processor command sequence 910 follows the media pipeline 924 path. Generally, the specific purpose and manner of programming for the media pipeline 924 depends on the media or computing operation to be performed. During media decoding, specific media decoding operations can be transferred to the media pipeline. In some embodiments, the media pipeline can also be bypassed, and the resources provided by one or more general processing cores can be used to perform media decoding in whole or in part. In one embodiment, the media pipeline also includes elements for general purpose graphics processor unit (GPGPU) operations, wherein the graphics processor is used to perform SIMD vector operations using compute shader programs, which are not explicitly related to the rendering of graphics primitives.
[0166] In some embodiments, the media pipeline 924 is configured in a similar manner to the 3D pipeline 922. A set of commands for configuring the media pipeline state 940 is dispatched or placed into a command queue, before the media object commands 942. In some embodiments, the commands for the media pipeline state 940 include data for configuring the media pipeline elements that will be used to process the media objects. This includes data for configuring the video decoding and video encoding logic within the media pipeline, such as encoding or decoding formats. In some embodiments, the commands for the media pipeline state 940 also support the use of one or more pointers to "indirect" state elements that contain batches of state settings.
[0167] In some embodiments, media object commands 942 supply pointers to media objects for processing by the media pipeline. The media object includes a memory buffer that contains video data to be processed. In some embodiments, all media pipeline states must be valid before issuing media object commands 942. Once the pipeline state is configured and the media object commands 942 are queued, the media pipeline 924 is triggered via an execution command 944 or an equivalent execution event (e.g., a register write). The output from the media pipeline 924 can then be post-processed by operations provided by the 3D pipeline 922 or the media pipeline 924. In some embodiments, GPGPU operations are configured and executed in a manner similar to media operations.
[0168] Graphics software architecture
[0169] Fig.10 An exemplary graphics software architecture for data processing system 1000 according to some embodiments is illustrated. In some embodiments, the software architecture includes 3D graphics application 1010, operating system 1020, and at least one processor 1030. In some embodiments, processor 1030 includes graphics processor 1032 and one or more general purpose processor cores 1034. Graphics application 1010 and operating system 1020 are each executed in system memory 1050 of the data processing system.
[0170] In some embodiments, the 3D graphics application 1010 includes one or more shader programs, which include shader instructions 1012. The shader language instructions can be in a high-level shader language, such as the High-Level Shader Language (HLSL) of Direct3D, the OpenGL Shader Language (GLSL), etc. The application also includes executable instructions 1014 in a machine language suitable for execution by the general-purpose processor core 1034. The application also includes graphics objects 1016 defined by vertex data.
[0171] In some embodiments, operating system 1020 is from Microsoft Corporation The operating system 1020 may be a graphics API 1022, such as a Direct3D API, an OpenGL API, or a Vulkan API. When the Direct3D API is in use, the operating system 1020 uses a front-end shader compiler 1024 to compile any shader instructions 1012 using HLSL into a lower-level shader language. The compilation may be just-in-time (JIT) compilation, or application executable shader precompilation. In some embodiments, during the compilation of the 3D graphics application 1010, a high-level shader is compiled into a low-level shader. In some embodiments, the shader instructions 1012 are provided in an intermediate form, such as a version of the Standard Portable Intermediate Representation (SPIR) used by the Vulkan API.
[0172] In some embodiments, the user mode graphics driver 1026 includes a backend shader compiler 1027 for converting shader instructions 1012 into hardware-specific representations. When the OpenGL API is in use, the shader instructions 1012 in the GLSL high-level language are passed to the user mode graphics driver 1026 for compilation. In some embodiments, the user mode graphics driver 1026 uses the operating system kernel mode function 1028 to communicate with the kernel mode graphics driver 1029. In some embodiments, the kernel mode graphics driver 1029 communicates with the graphics processor 1032 to dispatch commands and instructions.
[0173] IP core implementation
[0174] One or more aspects of at least one embodiment may be implemented by representative code stored on a machine-readable medium that represents and / or defines logic within an integrated circuit (such as a processor). For example, a machine-readable medium may include instructions representing various logic within a processor. When read by a machine, the instructions may cause the machine to manufacture logic for performing the techniques described herein. Such representations (referred to as "IP cores") are reusable units of logic for an integrated circuit that may be stored on a tangible, machine-readable medium as a hardware model describing the structure of the integrated circuit. The hardware model may be supplied to each consumer or manufacturing facility that loads the hardware model on a manufacturing machine that manufactures the integrated circuit. The integrated circuit may be manufactured so that the circuit performs the operations described in association with any of the embodiments described herein.
[0175] Fig.11A 1 is a block diagram illustrating an IP core development system 1100 according to an embodiment, which can be used to manufacture integrated circuits to perform operations. The IP core development system 1100 can be used to generate modular, reusable designs that can be incorporated into larger designs or used to build entire integrated circuits (e.g., SOC integrated circuits). The design facility 1130 can generate a software simulation 1110 of the IP core design using a high-level programming language (e.g., C / C++). The software simulation 1110 can be used to design, test, and verify the behavior of the IP core using a simulation model 1112. The simulation model 1112 can include functional simulation, behavioral simulation, and / or timing simulation. A register transfer level (RTL) design 1115 can then be created or synthesized from the simulation model 1112. The RTL design 1115 is an abstraction of the behavior of an integrated circuit (including associated logic executed using the modeled digital signals) that models the flow of digital signals between hardware registers. In addition to the RTL design 1115, a lower level design at the logic level or transistor level can also be created, designed, or synthesized. Thus, the specific details of initial design and simulation may vary.
[0176] The RTL design 1115 or an equivalent may be further synthesized by the design facility into a hardware model 1120, which may be in a hardware description language (HDL) or some other representation of physical design data. The HDL may be further simulated or tested to verify the IP core design. The IP core design may be stored using a non-volatile memory 1140 (e.g., a hard disk, flash memory, or any non-volatile storage medium) for delivery to a third-party manufacturing facility 1165. Alternatively, the IP core design may be transmitted via a wired connection 1150 or a wireless connection 1160 (e.g., via the Internet). The manufacturing facility 1165 may then manufacture an integrated circuit based at least in part on the IP core design. The manufactured integrated circuit may be configured to perform operations according to at least one embodiment described herein.
[0177] Fig. 11B A cross-sectional side view of an integrated circuit package assembly 1170 according to some embodiments described herein is illustrated. The integrated circuit package assembly 1170 illustrates an implementation of one or more processors or accelerator devices as described herein. The package assembly 1170 includes a plurality of hardware logic units 1172, 1174 connected to a substrate 1180. The logic 1172, 1174 may be implemented at least in part in configurable logic or fixed function logic hardware, and may include one or more portions of any of the processor cores, graphics processors, or other accelerator devices described herein (one or more). Each logic unit 1172, 1174 may be implemented within a semiconductor die and coupled to the substrate 1180 via an interconnect structure 1173. The interconnect structure 1173 may be configured to route electrical signals between the logic 1172, 1174 and the substrate 1180, and may include interconnects such as, but not limited to, bumps or pillars. In some embodiments, the interconnect structure 1173 can be configured to route electrical signals, such as, for example, input / output (I / O) signals and / or power or ground signals associated with the operation of the logic 1172, 1174. In some embodiments, the substrate 1180 is a laminate substrate based on epoxy resin. In other embodiments, the package substrate 1180 may include other suitable types of substrates. The package assembly 1170 can be connected to other electrical devices via the package interconnect 1183. The package interconnect 1183 can be coupled to the surface of the substrate 1180 to route electrical signals to other electrical devices, such as a motherboard, other chipsets, or multi-chip modules.
[0178] In some embodiments, logic units 1172, 1174 are electrically coupled to a bridge 1182 that is configured to route electrical signals between logic 1172 and logic 1174. Bridge 1182 may be a dense interconnect structure that provides routing for electrical signals. Bridge 1182 may include a bridge substrate composed of glass or a suitable semiconductor material. Circuit features may be formed on the bridge substrate to provide a chip-to-chip connection between logic 1172 and logic 1174.
[0179] Although two logic cells 1172, 1174 and bridge 1182 are illustrated, the embodiments described herein may include more or fewer logic cells on one or more dies. The one or more dies may be connected by zero or more bridges, as bridge 1182 may be excluded when the logic is included on a single die. Alternatively, multiple dies or logic cells may be connected by one or more bridges. Additionally, multiple logic cells, dies, and bridges may be connected together in other possible configurations, including three-dimensional configurations.
[0180] Fig. 11C The diagram shows a package assembly 1190 of hardware logic chiplets of multiple units connected to a substrate 1180. Graphics processing units, parallel processors, and / or computing accelerators as described herein may be composed of various silicon chiplets manufactured separately. Various collections of chiplets with different IP core logics may be assembled into a single device. Additionally, active interposer technology may be used to integrate chiplets into a base die or base chiplet. The concepts described herein enable interconnection and communication between different forms of IP within a GPU. IP cores may be manufactured using different process technologies and assembled during manufacturing, which avoids the complexity of aggregating multiple IPs into the same manufacturing process, especially for large SoCs with several styles of IP. Allowing the use of multiple process technologies improves time to market and provides a cost-effective method to create multiple product SKUs. In addition, the deaggregated IP is more suitable for being independently power-gated, and components that are not used on a given workload can be turned off, thereby reducing overall power consumption.
[0181] In various embodiments, the package assembly 1190 may include components and chiplets interconnected by structures 1185 and / or one or more bridges 1187. The chiplets within the package assembly 1190 may have a 2.5D arrangement using chip-on-wafer-on-substrate stacking, where multiple dies are stacked side-by-side on a silicon interposer 1189 that couples the chiplets to the substrate 1180. The substrate 1180 includes electrical connections to the package interconnects 1183. In one embodiment, the silicon interposer 1189 is a passive interposer that includes through-silicon vias (TSVs) to electrically couple the chiplets within the package assembly 1190 to the substrate 1180. In one embodiment, the silicon interposer 1189 is an active interposer that includes embedded logic in addition to the TSVs. In such an embodiment, the chiplets within the package assembly 1190 are arranged on top of the active interposer 1189 using 3D face-to-face die stacking. In addition to the interconnect fabric 1185 and silicon bridge 1187, the active mid-level layer 1189 may also include hardware logic 1191 for I / O, cache memory 1192, and other hardware logic 1193. The fabric 1185 enables communication between the various logic chiplets 1172, 1174 and the logic 1191, 1193 within the active mid-level layer 1189. The fabric 1185 may be a NoC interconnect or another form of packet switching fabric that exchanges data packets between components of the package assembly. For complex assemblies, the fabric 1185 may be a dedicated chiplet that enables communication between the various hardware logic of the package assembly 1190.
[0182] A bridge structure 1187 within the active mid-level 1189 may be used to facilitate point-to-point interconnection between, for example, a logic or I / O chiplet 1174 and a memory chiplet 1175. In some implementations, the bridge structure 1187 may also be embedded within the substrate 1180. The hardware logic chiplet may include a dedicated hardware logic chiplet 1172, a logic or I / O chiplet 1174, and / or a memory chiplet 1175. The hardware logic chiplet 1172 and the logic or I / O chiplet 1174 may be implemented at least in part in configurable logic or fixed-function logic hardware and may include one or more portions of any of the processor core(s), graphics processor(s), parallel processor, or other accelerator device(s) described herein. The memory chiplet 1175 may be a DRAM (e.g., GDDR, HBM) memory or a cache (SRAM) memory. The cache memory 1192 within the active interposer 1189 (or substrate 1180 ) may function as a global cache for the package assembly 1190 , as part of a distributed global cache, or as a dedicated cache for the structure 1185 .
[0183] Each chiplet may be fabricated as a separate semiconductor die and coupled to a base die embedded within or coupled to the substrate 1180. The coupling to the substrate 1180 may be performed via an interconnect structure 1173. The interconnect structure 1173 may be configured to route electrical signals between the various chiplets and logic within the substrate 1180. The interconnect structure 1173 may include interconnects such as, but not limited to, bumps or pillars. In some embodiments, the interconnect structure 1173 may be configured to route electrical signals such as, for example, input / output (I / O) signals and / or power signals or ground signals associated with the operation of the logic chiplets, I / O chiplets, and memory chiplets. In one embodiment, an additional interconnect structure couples the active interposer 1189 to the substrate 1180.
[0184] In some embodiments, substrate 1180 is an epoxy-based laminate substrate. In other embodiments, substrate 1180 may include other suitable types of substrates. Package assembly 1190 may be connected to other electrical devices via package interconnect 1183. Package interconnect 1183 may be coupled to the surface of substrate 1180 to route electrical signals to other electrical devices, such as a motherboard, other chipsets, or multi-chip modules.
[0185] In some embodiments, the logic or I / O chiplet 1174 and the memory chiplet 1175 may be electrically coupled via a bridge 1187 configured to route electrical signals between the logic or I / O chiplet 1174 and the memory chiplet 1175. The bridge 1187 may be a dense interconnect structure that provides routing for electrical signals. The bridge 1187 may include a bridge substrate composed of glass or a suitable semiconductor material. Circuit features may be formed on the bridge substrate to provide a chip-to-chip connection between the logic or I / O chiplet 1174 and the memory chiplet 1175. The bridge 1187 may also be referred to as a silicon bridge or an interconnect bridge. For example, in some embodiments, the bridge 1187 is an embedded multi-die interconnect bridge (Embedded Multi-die Interconnect Bridge, EMIB). In some embodiments, the bridge 1187 may be just a direct connection from one chiplet to another chiplet.
[0186] Fig.11DA package assembly 1194 including interchangeable chiplets 1195 is illustrated according to an embodiment. Interchangeable chiplets 1195 can be assembled into standardized sockets on one or more base chiplets 1196, 1198. The base chiplets 1196, 1198 can be coupled via a bridge interconnect 1197, which can be similar to other bridge interconnects described herein and can be, for example, EMIB. Memory chiplets can also be connected to logic or I / O chiplets via a bridge interconnect. The I / O and logic chiplets can communicate via an interconnect structure. The base chiplets can each support one or more sockets in a standardized format for logic or I / O or memory / cache.
[0187] In one embodiment, the SRAM and power delivery circuits may be fabricated into one or more of the base chiplets 1196, 1198, which may be fabricated using a different process technology relative to the interchangeable chiplets 1195, which are stacked on top of the base chiplets. For example, the base chiplets 1196, 1198 may be fabricated using a larger process technology while the interchangeable chiplets may be fabricated using a smaller process technology. One or more of the interchangeable chiplets 1195 may be memory (e.g., DRAM) chiplets. Different memory densities may be selected for the package assembly 1194 based on power and / or performance for a product using the package assembly 1194. Additionally, logic chiplets having different numbers of types of functional units may be selected at assembly time based on power and / or performance for the product. Additionally, chiplets containing IP logic cores having different types may be inserted into the interchangeable chiplet sockets, thereby enabling hybrid memory designs that may mix and match IP blocks of different technologies.
[0188] Exemplary System-on-Chip Integrated Circuit
[0189] Figure 12-13B An exemplary integrated circuit and associated graphics processor that can be manufactured using one or more IP cores according to various embodiments described herein are illustrated. In addition to what is illustrated, other logic and circuits may also be included, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.
[0190] Fig.121 is a block diagram illustrating an exemplary system-on-chip integrated circuit 1200 that can be manufactured using one or more IP cores according to an embodiment. The exemplary integrated circuit 1200 includes one or more application processors 1205 (e.g., CPUs), at least one graphics processor 1210, and may additionally include an image processor 1215 and / or a video processor 1220, any of which may be modular IP cores from the same design facility or multiple different design facilities. The integrated circuit 1200 includes peripheral or bus logic, including a USB controller 1225, a UART controller 1230, a SPI / SDIO controller 1235, and an I2S / I2C controller 1240. In addition, the integrated circuit may include a display device 1245, which is coupled to one or more of a high-definition multimedia interface (HDMI) controller 1250 and a mobile industry processor interface (MIPI) display interface 1255. Storage may be provided by a flash subsystem 1260 (including flash memory and a flash controller). A memory interface may be provided via a memory controller 1265 to gain access to SDRAM or SRAM memory devices. Some integrated circuits additionally include an embedded security engine 1270 .
[0191] Figure 13A-13B is a block diagram illustrating an exemplary graphics processor for use within a SoC according to embodiments described herein. Fig.13A An exemplary graphics processor 1310 of a system-on-chip integrated circuit that may be fabricated using one or more IP cores is illustrated in accordance with an embodiment. Fig. 13B An additional exemplary graphics processor 1340 is illustrated that may be fabricated using one or more IP cores of a system-on-chip integrated circuit in accordance with an embodiment. Fig.13A Graphics processor 1310 is an example of a low-power graphics processor core. Fig. 13B The graphics processor 1340 of FIG. 1 is an example of a higher performance graphics processor core. Each of the graphics processor 1310 and the graphics processor 1340 may be Fig.12 A variant of graphics processor 1210.
[0192] like Fig.13AAs shown in , the graphics processor 1310 includes a vertex processor 1305 and one or more fragment processors 1315A-1315N (e.g., 1315A, 1315B, 1315C, 1315D to 1315N-1 and 1315N). The graphics processor 1310 can execute different shader programs via separate logic, so that the vertex processor 1305 is optimized to perform operations for vertex shader programs, while one or more fragment processors 1315A-1315N perform fragment (e.g., pixel) shading operations for fragment or pixel shader programs. The vertex processor 1305 performs the vertex processing stage of the 3D graphics pipeline and generates primitive data and vertex data. (One or more) fragment processors 1315A-1315N use the primitive data and vertex data generated by the vertex processor 1305 to generate a frame buffer that is displayed on a display device. In one embodiment, the fragment processor(s) 1315A-1315N are optimized to execute fragment shader programs as provided in the OpenGL API, which can be used to perform similar operations as pixel shader programs as provided in the Direct 3D API.
[0193] The graphics processor 1310 additionally includes one or more memory management units (MMUs) 1320A-1320B, (one or more) caches 1325A-1325B, and (one or more) circuit interconnects 1330A-1330B. The one or more MMUs 1320A-1320B provide virtual to physical address mappings for the graphics processor 1310 (including for the vertex processor 1305 and / or (one or more) fragment processors 1315A-1315N), which may reference vertex data or image / texture data stored in memory in addition to vertex data or image / texture data stored in the one or more caches 1325A-1325B. In one embodiment, the one or more MMUs 1320A-1320B may be synchronized with other MMUs within the system so that each processor 1205-1220 may participate in a shared or unified virtual memory system, including other MMUs within the system. Fig.12 One or more MMUs associated with one or more application processors 1205, image processor 1215, and / or video processor 1220. According to an embodiment, one or more circuit interconnects 1330A-1330B enable graphics processor 1310 to interface with other IP cores within the SoC via an internal bus of the SoC or via a direct connection.
[0194] like Fig. 13B As shown in FIG. 1 , the graphics processor 1340 includes Fig.13AOne or more MMUs 1320A-1320B, (one or more) caches 1325A-1325B, and (one or more) circuit interconnects 1330A-1330B of the graphics processor 1310. The graphics processor 1340 includes one or more shader cores 1355A-1355N (e.g., 1355A, 1355B, 1355C, 1355D, 1355E, 1355F to 1355N-1 and 1355N), which provide a unified shader core architecture in which a single core or type or core can execute all types of programmable shader code, including shader program code for implementing vertex shaders, fragment shaders, and / or compute shaders. The unified shader core architecture can also be configured to execute directly compiled high-level GPGPU programs (e.g., CUDA). The exact number of shader cores present can vary depending on the embodiment and implementation. Additionally, the graphics processor 1340 includes an inter-core task manager 1345 that acts as a thread dispatcher for dispatching execution threads to one or more shader cores 1355A-1355N and a tiling unit 1358 for accelerating tiling operations for tile-based rendering, in which rendering operations for a scene are subdivided in image space, for example to exploit local spatial coherence within a scene or to optimize the use of internal caches.
[0195] Multi-GPU Multi-Monitor Variable Rate Shading
[0196] Fig.14 A computing system 1400 (e.g., a host system) is shown, which may generally be a part of an electronic device / system having gaming functionality (e.g., a multi-player gaming console / platform), computing functionality (e.g., a personal digital assistant / PDA, a notebook computer, a tablet computer, a convertible tablet computer, a server), communication functionality (e.g., a smart phone), imaging functionality (e.g., a camera, a camcorder), media playback functionality (e.g., a smart TV / TV), wearable functionality (e.g., a watch, glasses, headwear, footwear, jewelry), vehicle functionality (e.g., a car, a truck, a motorcycle), robotic functionality (e.g., an autonomous robot), etc., or any combination thereof. In the illustrated example, the computing system 1400 includes a plurality of graphics processors 1402 (1402a, 1402b, e.g., GPUs) and a plurality of displays 1404 (1404a-1404d, e.g., monitors, touch screens, etc.) coupled to the plurality of graphics processors 1402.
[0197] A scene 1406 (1406a-1406d, e.g., video frames, still images, and / or other visual content) is presented across multiple displays 1404, where the scene 1406 may be part of a digital signage application, an operations control application, a product design review application, and the like. More particularly, a first graphics processor 1402a ("GPU 0") renders the scene 1406 to a first display 1404a ("Monitor 0"), where only a first portion 1406a of the scene 1406 (e.g., a circle and surrounding area) is visible on the first display 1404a. The first graphics processor 1402a also renders the scene 1406 to a second display 1404b ("Monitor 1"), where only a second portion 1406b of the scene 1406 (e.g., a pentagon and surrounding area) is visible on the second display 1404b. Similarly, second graphics processor 1402b ("GPU 1") renders scene 1406 to third display 1404c ("Monitor 2"), where only third portion 1406c of scene 1406 (e.g., the equilateral triangle and surrounding area) is visible on third display 1406c, and second graphics processor 1402b renders scene 1406 to fourth display 1404d ("Monitor 3"), where only fourth portion 1406d of scene 1406 (e.g., the right triangle and surrounding area) is visible on fourth display 1404d. The actual content in scene 1406 may vary depending on the graphics application / situation.
[0198] As will be discussed in more detail, the graphics application associated with the scene 1406 may issue one or more commands to set one or more shading rates for the scene 1406. In this regard, the computing system 1400 may support variable rate shading (VRS), which is a technique for controlling rasterization and providing developers with more control over the trade-off between performance and visual quality. For example, if an object or region of the scene 1406 is experiencing motion blur, or an object is hidden behind smoke or fog, it may not be efficient to spend a lot of time shading when those results will be blurred before the user sees the final image. As display density and resolution have increased, each generation may double or even quadruple the number of pixels in the same spatial area. Therefore, the ability to more finely control the amount of shading across each display 1404 ensures that less time is spent rendering low-visibility areas of the image, thereby freeing up more time to render high-visibility areas of the image with higher quality. In fact, recent developments in VRS (eg, VRS Tier 2) make it possible to adjust shading rates on a per-primitive basis and / or by using screen-space images.
[0199] Conventional methods for rendering content in multi-GPU multi-display may establish a shading rate for a scene 1406 regardless of whether an area of the scene 1406 is offscreen with respect to a given monitor 1404. For example, if a first portion 1406a of the scene 1406 and a second portion 1406b of the scene 1406 are determined to be stationary or in the foreground, the graphics application may set the shading rate for the first portion 1406a and the second portion 1406b at the highest shading rate supported by the hardware (e.g., 1×1—invoke the pixel shader once per pixel) for all displays 1404 (e.g., via a VRS Tier 2 mask). However, this solution would waste shading resources for the third display 1404c and the fourth display 1404d because the first portion 1406a and the second portion 1406b of the scene 1406 are not visible on the third display 1404c and the fourth display 1404d. This solution will also waste rendering resources for the first display 1404a because the second portion 1406c of the scene 1406 is not visible on the first display 1404a, and will also waste rendering resources for the second display 1404b because the first portion 1406a of the scene 1406 is not visible on the second display 1404b.
[0200] The techniques described herein establish a shading rate for the scene 1406 on a per graphics processor and per display basis, such that the shading rate of the first portion 1406a of the scene 1406 can be reduced to a lower rate (e.g., 2×2—invoking the pixel shader once every four pixels, 4×4—invoking the pixel shader once every sixteen pixels) for the second display 1404b, the third display 1404c, and the fourth display 1404d. Additionally, the techniques described herein reduce the shading rate of the second portion 1406b of the scene 1406 to a lower rate for the first display 1404a, the third display 1404c, and the fourth display 1404d. Thus, embodiments render the scene 1406 across multiple displays 1404 faster than conventional solutions, which in turn enhances performance and / or reduces power consumption.
[0201] Now go to Fig.15A, shows a corner example where a guard band 1502 is defined between an on-screen region 1500 and an off-screen region 1504 on a per-GPU and per-display basis. In one embodiment, the guard band 1502 is rendered at a higher shading rate of the on-screen region 1500, and the off-screen region 1504 is rendered at a lower shading rate. For post-processing kernels that sample neighboring pixels outside the on-screen region 1500, rendering the guard band 1502 at a higher shading rate maintains fidelity in the on-screen region 1500. As will be discussed in more detail, the guard band 1502 can be identified based on shading rate slice data (e.g., slice size). Additionally, the off-screen region 1504 can be identified based on display orientation data, display size data, and / or dispatch thread identifier (ID) data.
[0202] Fig. 15B An edge example is shown where a guard band 1508 is defined between an on-screen region 1506 and an off-screen region 1510 on a per-GPU and per-display basis. In one embodiment, the guard band 1508 is rendered at a higher shading rate of the on-screen region 1500, and the off-screen region 1510 is rendered at a lower shading rate. Likewise, rendering the guard band 1508 at a higher shading rate preserves fidelity in the on-screen region 1506 for post-processing kernels that sample neighboring pixels outside of the on-screen region 1506. In one example, the off-screen region 1510 is identified based on display orientation data, display size data, and / or dispatch thread ID data.
[0203] Fig.16 The first graphics processor 1402a ( Fig.14 ) and the first display 1404a ( Fig.14 ), where a first portion 1406a of the scene is in the on-screen region 1500, and a second portion 1406b, a third portion 1406c, and a fourth portion 1406d are in the off-screen region 1504. In the illustrated example, a guard band 1502 is established between the on-screen region 1500 and the off-screen region 1504. As already mentioned, for a post-processing kernel that samples neighboring pixels within the guard band 1502, increasing the shading rate in the guard band 1502 maintains image quality / fidelity in the periphery of the on-screen region 1500.
[0204] Fig.17 A method 1700 of operating a user mode graphics driver (UMD) is shown. The method 1700 may generally be implemented in the following: a UMD, such as, for example, a user mode graphics driver 1026 ( Fig.10 ), a host processor, such as, for example, processor 1030 ( Fig.10 ), Logic 1172( Fig. 11B and 11C ) and / or logic 1174 ( Fig. 11B and 11C ), as already discussed. More particularly, method 1700 may be implemented as one or more modules in a set of logic instructions stored in a non-transitory machine or computer readable storage medium, implemented in hardware, or any combination thereof, wherein the non-transitory machine or computer readable storage medium is such as a random access memory (RAM), a read-only memory (ROM), a programmable ROM (PROM), firmware, flash memory, etc. For example, a hardware implementation may include configurable logic, fixed-function logic, or any combination thereof. Examples of configurable logic (e.g., configurable hardware) include appropriately configured programmable logic arrays (PLAs), field programmable gate arrays (FPGAs), complex programmable logic devices (CPLDs), and general-purpose microprocessors. Examples of fixed-function logic (e.g., fixed-function hardware) include appropriately configured application-specific integrated circuits (ASICs), combinational logic circuits, and sequential logic circuits. Configurable logic or fixed-function logic may be implemented using complementary metal oxide semiconductor (CMOS) logic circuits, transistor-transistor logic (TTL) logic circuits, or other circuits.
[0205] Illustrated processing block 1702 provides for intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with multiple graphics processors and multiple displays. In one example, the command(s) are issued by a graphics application, such as, for example, the 3D graphics application 1010 ( Fig.10 ). Block 1704 sets a second shading rate for the off-screen area of the scene on a per-GPU and per-display basis, wherein the second shading rate is less than the first shading rate. Thus, block 1704 overrides the first shading rate with the second shading rate in the off-screen area.
[0206] In one embodiment, frame 1704 identifies a guard band between an off-screen area and an on-screen area on a per-graphics processor and per-display basis, wherein the on-screen area and the guard band are rendered at a first (e.g., relatively high) shading rate. Additionally, frame 1704 may identify the guard band based on shading rate slice data. Frame 1704 may also identify an off-screen area based on display orientation (e.g., horizontal, vertical) and size (e.g., screen size) data per-graphics and per-display basis. In one example, frame 1704 further identifies an off-screen area based on dispatch thread ID data. Frame 1706 executes one or more compute shaders based on a second (e.g., relatively low) shading rate. Therefore, method 1700 enhances performance at least in the extent that shading / covering an off-screen area at a lower shading rate reduces latency and / or power consumption.
[0207] In one example, the logic implementing method 1700 includes a transistor channel region positioned (e.g., embedded) within a substrate (or substrates). Thus, the physical interface between the logic and the substrate (or substrates) may not be an abrupt junction. The logic may also be considered to include an epitaxial layer that is grown on an initial wafer of the substrate (or substrates).
[0208] Now go to Fig.18 , a message passing diagram 1800 is shown, where a frame starts at box 1802 and the application creates a VRS Tier 2 mask for the entire frame at box 1804. The application can also set a registry key for the user mode graphics driver (UMD) to enable or disable VRS tile rendering. This approach is useful when the VRS Tier 2 mask is used for off-screen rendering. In box 1806, the application sets the VRS Tier 2 mask using a command such as, for example, a DirectX12ID3D12CommandList5::RSSetShadingRateImage API call. In box 1808, the UMD driver intercepts the ID3D12CommandList5::RSSetShadingRateImage API call. Additionally, the UMD can query the registry key to determine whether VRS tile mode is enabled, and determine the orientation and size of the attached display(s).
[0209] In block 1810, the UMD defines a tile area at the edge of the display(s) as a guard band for applying the specified full-screen post-processing effect. In one embodiment, the UMD also queries a registry key for the number of shading rate tiles to be used in the guard band (e.g., 8×8 tiles for Intel architecture, 16×16 tiles for NVIDIA architecture, etc.). In this regard, the application can control the guard band tiles at runtime by setting a registry key. Block 1810 also executes a compute shader to fill the off-screen area outside the guard band with the lowest supported shading rate (e.g., 2×2 or 4×4), where the application renders the scene using a UMD-modified VRS Tier 2 shading rate buffer, block 1812. Block 1814 issues a null pointer command list data to a post-processing block 1816, where the application presents the frame to the user at block 1818. The UMD may also present quadrants or tile regions to the attached display(s).
[0210] In one example, quadrants or tile regions can be defined using rectangles. For example, a constant buffer that takes a rectangle as input can be defined as a "visible area". The constant buffer can also define the shading rate slice size implemented by the hardware and the number of slices to be used in the guard band region. Additionally, the screen size can be passed to set the minimum and maximum range of the visible area. For example, a compute shader might use the following pseudo code.
[0211]
[0212]
[0213] The dispatch thread ID can then be used to determine whether the VRS Tier 2 slice is within the visible area or outside the guard band as shown below.
[0214]
[0215]
[0216] Finally, in the body of the fill shader, the area outside the guard band can be filled as follows.
[0217]
[0218] The scene is then rendered normally by the GPU with each region masked off by the shading rate buffer. Regions rendered at the lowest shading rate (e.g., 2×2 or 4×4) will have pixel shader calls reduced in proportion to the screen space shading rate combined with the draw call shading rate defined by the VRS combiner passed to ID3D12CommandList5::RSSetShadingRate.
[0219] Additional Notes and Examples :
[0220] Example 1 includes a performance-enhanced computing system, the computing system comprising a plurality of graphics processors, a host processor coupled to the plurality of graphics processors, and a memory coupled to the host processor, the memory comprising a set of instructions that, when executed by the host processor, cause the host processor to: intercept one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with the plurality of graphics processors and a plurality of displays; and set a second shading rate for the off-screen area of the scene on a per-graphics processor and per-display basis, wherein the second shading rate is less than the first shading rate.
[0221] Example 2 includes the computing system of Example 1, wherein the instructions, when executed, further cause the host processor to execute one or more compute shaders based on a second shading rate.
[0222] Example 3 includes the computing system of Example 1, wherein the instructions, when executed, further cause the host processor to identify a guard band between an off-screen area and an on-screen area on a per-graphics processor and per-display basis, wherein the on-screen area and the guard band are rendered at a first shading rate.
[0223] Example 4 includes the computing system of Example 3, wherein the guard band is identified based on shading rate chip data.
[0224] Example 5 includes the computing system of any of Examples 1 to 4, wherein the instructions, when executed, further cause the host processor to identify the off-screen area based on the display orientation and size data on a per-graphics processor and per-display basis. Example 6 includes the computing system of Example 5, wherein the off-screen area is further identified based on the dispatch thread identifier data.
[0225] Example 7 includes at least one computer-readable storage medium comprising a set of instructions that, when executed by a computing system, cause the computing system to: intercept one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with a plurality of graphics processors and a plurality of displays; and set a second shading rate for the off-screen area of the scene on a per-graphics processor and per-display basis, wherein the second shading rate is less than the first shading rate. Example 8 includes at least one computer-readable storage medium of Example 7, wherein the instructions, when executed, further cause the computing system to execute one or more compute shaders based on the second shading rate.
[0226] Example 9 includes at least one computer-readable storage medium as described in Example 7, wherein the instructions, when executed, further cause the computing system to identify a guard band between an off-screen area and an on-screen area on a per-graphics processor and per-display basis, wherein the on-screen area and the guard band are rendered at a first shading rate.
[0227] Example 10 includes the at least one computer-readable storage medium of Example 9, wherein the guard band is identified based on shading rate chip data.
[0228] Example 11 includes at least one computer-readable storage medium of any one of Examples 7 to 10, wherein the instructions, when executed, further cause the computing system to identify the off-screen area based on the display orientation and size data on a per graphics processor and per display basis.
[0229] Example 12 includes the at least one computer-readable storage medium of Example 11, wherein the off-screen area is further identified based on the dispatch thread identifier data.
[0230] Example 13 includes a semiconductor device comprising one or more substrates and logic coupled to the one or more substrates, wherein the logic is at least partially implemented in one or more configurable hardware or fixed-function hardware, the logic being used to: intercept one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with multiple graphics processors and multiple displays; and set a second shading rate for the off-screen area of the entire scene on a per-graphics processor and per-display basis, wherein the second shading rate is less than the first shading rate.
[0231] Example 14 includes the semiconductor device of Example 13, wherein the logic is to execute one or more compute shaders based on the second shading rate.
[0232] Example 15 includes the semiconductor device of Example 13, wherein the logic is further for identifying a guard band between an off-screen area and an on-screen area on a per graphics processor and per display basis.
[0233] Example 16 includes the semiconductor device of Example 15, wherein the on-screen region and the guard band are rendered at a first shading rate. Example 17 includes the semiconductor device of any of Examples 15 to 16, wherein the guard band is identified based on shading rate slice data.
[0234] Example 18 includes the semiconductor device of any of Examples 13 to 17, wherein the logic is further for identifying the off-screen area based on the display orientation data on a per graphics processor and per display basis.
[0235] Example 19 includes the semiconductor device of Example 18, wherein the off-screen area is further identified based on the display size data.
[0236] Example 20 includes the semiconductor device of any of Examples 18-19, wherein the off-screen area is further identified based on the dispatch thread identifier data.
[0237] Example 21 includes a method of operating a performance-enhanced computing system, the method comprising: intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with multiple graphics processors and multiple displays; and setting a second shading rate for the off-screen area of the scene on a per-graphics processor and per-display basis, wherein the second shading rate is less than the first shading rate.
[0238] Example 22 includes an apparatus comprising means for performing the method of Example 21.
[0239] Thus, the techniques described herein automatically render off-screen quadrants or slices faster at lower variable rate shading rates (such as 2×2 or 4×4 defined by the GPU hardware). The quadrants / slices may be determined by a UMD that partially covers an area of a variable rate shading (VRS) Tier 2 shading rate buffer. On-screen rendering may use any VRSTier 2 techniques provided by the application. Additionally, the techniques described herein extend application-defined techniques into the guard band region using an arbitrary number of shading rate slices to maintain fidelity in post-processing operations.
[0240] Embodiments are applicable to all types of semiconductor integrated circuit ("IC") chips. Examples of these IC chips include, but are not limited to, processors, controllers, chipset components, programmable logic arrays (PLA), memory chips, network chips, systems on chips (SOC), SSD / NAND controller ASICs, etc. In addition, in some of the drawings, signal conductors are represented by lines. Some may be different to indicate more constituent signal paths, have digital labels to indicate multiple constituent signal paths, and / or have arrows at one or more ends to indicate the main information flow direction. However, this should not be interpreted in a restrictive manner. Instead, such added details may be used in conjunction with one or more exemplary embodiments to facilitate easier understanding of the circuit. Any signal line represented - whether or not it has additional information - can actually include one or more signals that can travel in multiple directions, and can be implemented with any suitable type of signal scheme, such as digital or analog lines implemented using differential pairs, fiber optic lines, and / or single-ended lines.
[0241] Example sizes / models / values / ranges may have been given, although embodiments are not limited thereto. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller sizes can be manufactured. In addition, in order to simplify the description and discussion, and in order not to confuse certain aspects of the embodiments, the known power / ground connections to the IC chip and other components may or may not be shown in the accompanying drawings. In addition, in order to avoid blurring the embodiments, and also considering the fact that the details of the implementation of this block diagram arrangement are highly dependent on the platform in which the embodiment will be implemented, the arrangement can be shown in block diagram form, that is, such details should be within the knowledge of those skilled in the art. In the case of elaborating specific details (e.g., circuits) in order to describe example embodiments, it should be obvious to those skilled in the art that embodiments can be practiced without these specific details or with variations of these specific details. Therefore, this description is considered to be illustrative, rather than restrictive.
[0242] The term "coupled" may be used to refer to any type of direct or indirect relationship between the components in question, and may apply to electrical, mechanical, fluid, optical, electromagnetic, electromechanical or other connections, including logical connections via intermediate components (e.g., device A may be coupled to device C via device B). In addition, the terms "first", "second", etc., are used herein merely to facilitate discussion and do not have a specific temporal or chronological meaning unless otherwise indicated.
[0243] As used in the present application and claims, a list of items connected by the term "one or more of..." may mean any combination of the listed terms. For example, the phrase "one or more of A, B, and C" and the phrase "one or more of A, B, or C" may both mean A; B; C; A and B; A and C; B and C; or A, B, C. The foregoing description and drawings are to be regarded as illustrative rather than restrictive. Those skilled in the art will appreciate that various modifications and changes may be made to the embodiments described herein without departing from the broader spirit and scope of the features set forth in the appended claims.
Claims
1. A computing system comprising: Multiple graphics processors; a host processor coupled to the plurality of graphics processors; as well as a memory coupled to a host processor, the memory comprising a set of instructions that, when executed by the host processor, cause the host processor to: intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with the plurality of graphics processors and the plurality of displays, and A second shading rate is set for off-screen areas of the scene on a per graphics processor and per display basis, wherein the second shading rate is less than the first shading rate. 2 . The computing system of claim 1 , wherein the instructions, when executed, further cause the host processor to execute one or more compute shaders based on a second shading rate.
3. The computing system of claim 1 , wherein the instructions, when executed, further cause the host processor to identify a guard band between an off-screen area and an on-screen area on a per-GPU and per-display basis, wherein the on-screen area and the guard band are rendered at a first shading rate. The computing system of claim 3 , wherein the guard band is identified based on shading rate slice data.
5. The computing system of claim 1, wherein the instructions, when executed, further cause the host processor to identify off-screen areas based on display orientation and size data on a per graphics processor and per display basis.
6. The computing system of any one of claims 1-5, wherein the off-screen area is further identified based on the dispatch thread identifier data.
7. At least one computer-readable storage medium comprising a set of instructions that, when executed by a computing system, cause the computing system to: intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with a plurality of graphics processors and a plurality of displays; and A second shading rate is set for off-screen areas of the scene on a per graphics processor and per display basis, wherein the second shading rate is less than the first shading rate.
8. The at least one computer-readable storage medium of claim 7, wherein the instructions, when executed, further cause a computing system to execute one or more compute shaders based on a second shading rate.
9. The at least one computer-readable storage medium of claim 7, wherein the instructions, when executed, further cause the computing system to identify a guard band between an off-screen area and an on-screen area on a per-GPU and per-display basis, wherein the on-screen area and the guard band are rendered at a first shading rate.
10. The at least one computer-readable storage medium of claim 9, wherein the guard band is identified based on shading rate chip data.
11. The at least one computer-readable storage medium of claim 7, wherein the instructions, when executed, further cause the computing system to identify off-screen areas based on display orientation and size data on a per graphics processor and per display basis.
12. At least one computer-readable storage medium according to any one of claims 7-11, wherein the off-screen area is further identified based on the dispatch thread identifier data.
13. A semiconductor device comprising: one or more substrates; as well as Logic coupled to the one or more substrates, wherein the logic is implemented at least in part in one or more configurable hardware or fixed function hardware, the logic being configured to: intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with a plurality of graphics processors and a plurality of displays; as well as A second shading rate is set for the off-screen area of the entire scene on a per graphics processor and per display basis, wherein the second shading rate is less than the first shading rate. 14 . The semiconductor device of claim 13 , wherein the logic is to execute one or more compute shaders based on the second shading rate.
15. The semiconductor device of claim 13, wherein the logic is further to identify a guard band between an off-screen area and an on-screen area on a per graphics processor and per display basis. 16 . The semiconductor device of claim 15 , wherein the on-screen area and the guard band are rendered at a first shading rate. The semiconductor device of claim 15 , wherein the guard band is identified based on the shading rate slice data.
18. The semiconductor device of claim 13, wherein the logic is further to identify off-screen areas based on display orientation data on a per graphics processor and per display basis.
19. The semiconductor device of claim 18, wherein the off-screen area is identified further based on the display size data.
20. The semiconductor device of any one of claims 13-19, wherein the off-screen area is identified further based on the dispatch thread identifier data.
21. A method of operating a computing system with enhanced performance, the method comprising: intercepting one or more commands to set a first shading rate for an off-screen area of a scene, wherein the scene is associated with a plurality of graphics processors and a plurality of displays, and A second shading rate is set for off-screen areas of the scene on a per graphics processor and per display basis, wherein the second shading rate is less than the first shading rate.
22. An apparatus comprising means for performing the method of claim 21.
