Network and rendering-aware segmentation rendering

By employing network- and rendering-aware segmented rendering technology in cloud gaming, rendering operations are split between the cloud gaming server and the client, solving the problem of rendering frame quality degradation caused by network bandwidth fluctuations and improving the rendering quality of HUD elements and the gaming experience.

CN118576969APending Publication Date: 2024-09-03INTEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311733401.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-12-15
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In cloud gaming, variations in network bandwidth can lead to a decrease in rendering frame quality, especially making HUD-related text difficult to read, thus reducing the overall gaming experience.

Method used

By employing network and rendering-aware segmented rendering technology, the rendering operation is split between the cloud gaming server and the client. The client executes commands to render text and HUD elements, ensuring clear visibility even when network bandwidth changes.

Benefits of technology

It improves the rendering quality of HUD elements in cloud games, ensuring that text and other parts remain clearly visible when network bandwidth changes, thus enhancing the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118576969A_ABST
    Figure CN118576969A_ABST
Patent Text Reader

Abstract

Described herein is a network and renderer aware segmentation rendering technique that enables a cloud gaming service to segment execution of a cloud gaming workload between a graphics processor of a cloud gaming server and a graphics processor of a client of the cloud gaming service. The split rendering technique enables portions of a frame that are most susceptible to quality degradation at low bit rates to be rendered on the client, which results in an improvement in the quality of the final frame presented at the client device.
Need to check novelty before this filing date? Find Prior Art

Description

Cross-references

[0001] This patent application claims priority to application No. PCT / CN2023 / 0792086 filed on March 2, 2023, the contents of which are incorporated herein by reference in their entirety. Technical Field

[0002] Embodiments described herein generally relate to graphics processing systems. More specifically, embodiments of network and rendering-aware segmentation rendering techniques for use in cloud gaming platforms are described. Background Art

[0003] Heads-up display (HUD) or similar graphical user interface elements are often used in computing game applications to show player statistics, game statistics and / or menus to users. This information is often crucial when users play games. In cloud games, the quality of the rendered frames received on the client side depends largely on the network traffic and available bandwidth at a given moment. Highly variable network bandwidth may cause the cloud gaming service to encode frames at a low bit rate, resulting in visual artifacts and reducing the quality of the encoded frames. The reduction in the quality of the encoded frames may make the text associated with the HUD difficult to read, thereby reducing the quality of the game setting experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The present embodiments are illustrated by way of example and not by way of limitation in the accompanying drawings in which like reference numerals indicate similar elements and in which:

[0005] Figure 1 is a block diagram of a processing system according to an embodiment;

[0006] Figure 2A-2D illustrates a computing system and graphics processor provided by embodiments described herein;

[0007] Figure 3A-3C A block diagram illustrating additional graphics processor and computing accelerator architectures provided by embodiments described herein;

[0008] Figure 4 is a block diagram of a graphics processing engine of a graphics processor according to some embodiments;

[0009] Figure 5A-5C illustrates thread execution logic including an array of processing elements employed in a graphics processor core according to an embodiment;

[0010] Figure 6 illustrates a slice of a multi-chip processor according to an embodiment;

[0011] Figure 7 is a block diagram illustrating a graphics processor instruction format according to some embodiments;

[0012] Figure 8 is a block diagram of a graphics processor according to another embodiment;

[0013] Figure 9A-9B illustrates a graphics processor command format and command sequence according to some embodiments;

[0014] Fig.10 illustrates an exemplary graphics software architecture for a data processing system according to some embodiments;

[0015] Figures 11A-11D illustrates an integrated circuit package assembly according to an embodiment;

[0016] Fig.12 is a block diagram illustrating an exemplary system-on-chip integrated circuit that may be fabricated using one or more IP cores in accordance with an embodiment;

[0017] Figure 13A-13B illustrates an exemplary graphics processor that may be fabricated using one or more IP cores in accordance with various embodiments described herein;

[0018] Fig.14 Illustration of frame encoding and decoding for cloud gaming systems;

[0019] Fig.15 illustrates a cloud gaming system in which game servers are distributed across multiple cloud and data center systems;

[0020] Fig.16 The diagram shows a cloud gaming system including end-to-end path optimization;

[0021] Fig.17 illustrates an additional high-level overview of a cloud gaming system according to an embodiment;

[0022] Fig.18 Illustration of post-processing operations that can be performed on a GPU rendered frame;

[0023] Fig.19 Illustration of a cloud gaming system in which network- and renderer-aware split rendering is enabled;

[0024] Fig. 20 illustrating a graph of peak signal-to-noise ratios of exemplary encoded frames versus their encoding bit rates;

[0025] Fig.21 A flow chart illustrating cloud and server workloads for network- and render-aware split rendering; and

[0026] Fig. 22is a block diagram of a computing device including a graphics processor according to an embodiment. DETAILED DESCRIPTION

[0027] A graphics processing unit (GPU) is communicatively coupled to a host / processor core to accelerate, for example, graphics operations, machine learning operations, pattern analysis operations, and / or various general-purpose GPU (GPGPU) functions. The GPU may be communicatively coupled to a host processor / core via a bus or another interconnect (e.g., a high-speed interconnect such as Peripheral Component Interconnect Express (PCIe) or NVLink). Alternatively, the GPU may be integrated on the same package or chip as the core and communicatively coupled to the core via an internal processor bus / interconnect (i.e., inside a package or chip). Regardless of the manner in which the GPU is connected, the processor core may assign work to the GPU in the form of a sequence of commands / instructions contained in a work descriptor. The GPU then uses dedicated circuits / logic to efficiently process these commands / instructions.

[0028] The processes depicted in the accompanying drawings may be performed by processing logic comprising hardware (e.g., circuits, dedicated logic, etc.), software (e.g., instructions on a non-transitory machine-readable storage medium), or a combination of both hardware and software. Reference will be made in detail to various embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a complete understanding of the present invention. However, it will be apparent to those of ordinary skill in the art that the present invention may be practiced without these specific details. In other examples, well-known methods, processes, components, circuits, and networks are not described in detail to avoid unnecessarily obscuring aspects of the embodiments.

[0029] Systems and methods for implementing split rendering for cloud gaming are described herein. Split rendering splits the rendering operation for a scene between a cloud gaming server of a cloud gaming service and a client of a cloud gaming service. The computing game application executed on the cloud gaming server will issue rendering commands to the graphics processor of the server to render the frame of the game. The split rendering technology describes the capture of API commands for rendering scenes in this article, and splits these commands into commands executed by the server and commands executed by the client. The commands executed by the client may include commands for rendering text, HUD elements, GUI controls, or other game elements that can be layered on top of the scene portion rendered by the cloud gaming server. The technology makes the text and other parts of the frame clearly visible, regardless of how the network bandwidth changes. Additionally, a subset of three-dimensional (3D) objects or 3D billboards in the scene can also be rendered by the client GPU. In addition, the post-processing 3D operations of the scene can be performed by the client GPU to improve the final rendering quality of the scene. System Overview

[0030] Figure 1 1 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.

[0031] In one embodiment, the processing system 100 may include, be coupled to, or be integrated into: a server-based gaming platform; a gaming console, including gaming and media consoles; 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 laptop with low internal storage capacity. The processing system 100 may also include, be coupled to, or be integrated into: a wearable device, such as a smart watch wearable device; smart glasses or clothing that is 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 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 within 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.

[0032] In some embodiments, one or more processors 102 each include one or more processor cores 107, which are used to process instructions, and when these instructions are executed, they perform operations for system and user software. In some embodiments, at least one processor core in the one or more processor cores 107 is configured to process a specific instruction set 109. In some embodiments, the instruction set 109 can facilitate complex instruction set computing (Complex Instruction Set Computing, CISC), reduced instruction set computing (Reduced Instruction Set Computing, RISC) or calculation via very long instruction words (VLIW). One or more processor cores 107 can process different instruction sets 109, and different instruction sets 109 may include instructions for facilitating the simulation of other instruction sets. The processor core 107 may also include other processing devices, such as a digital signal processor (Digital Signal Processor, DSP).

[0033] 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 third level (L3) cache or a last level cache (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 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.

[0034] 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 processors 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 a 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.

[0035] 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 suitable 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, and / 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 in coordination with accelerator 112.

[0036] In some embodiments, a display device 111 may be connected to the processor(s) 102. The display device 111 may be one or more of: an internal display device, such as in a mobile electronic device or a laptop device; or an external display device attached via a display interface (e.g., a display port, etc.). In one embodiment, the 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.

[0037] 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 (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 to input devices, such as a keyboard and mouse 143 combination, a camera 144, or other USB input devices.

[0038] It will be appreciated that the processing system 100 shown is exemplary and non-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.

[0039] For example, a circuit board ("sled") may be used on which components (such as CPUs, memory and other components) are placed and on which components (such as CPUs, memory and other components) are designed to achieve improved thermal performance. In some examples, processing components such as processors are located on the top side of the sled, while nearby memory such as DIMMs are located on the bottom side of the sled. As a result of the enhanced airflow provided by the design, components can operate at higher frequencies and power levels than in typical systems, thereby improving performance. In addition, the sled is configured to blindly mate power and data communication cables in a 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 drives) located on the sled are configured to be easily upgraded due to their increased spacing from each other. In an illustrative embodiment, the components additionally include hardware authentication features for proving their authenticity.

[0040] 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, centralize physically dispersed 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 these centralized resources as if the centralized resources were local.

[0041] 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 to DC (alternating current to 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 to 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.

[0042] Figure 2A-2D Illustrated is a computing system and graphics processor provided by embodiments described herein. Figure 2A-2DElements having the same reference numeral (or name) 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.

[0043] 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 a second level (L2), third level (L3), fourth level (L4), or other level of cache, wherein the highest level of cache before external memory is classified as LLC. In some embodiments, cache coherency logic maintains coherency between cache units 206 and 204A-204N.

[0044] 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).

[0045] In some embodiments, one or more of the processor cores 202A-202N include support for simultaneous multithreaded operations. 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.

[0046] 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 a set of shared cache units 206 and 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 can also be a separate module coupled to the graphics processor via at least one interconnect, or can be integrated within the graphics processor 208.

[0047] In some embodiments, a ring-based interconnect 212 is used to couple the 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.

[0048] 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 (HMB) module. In some embodiments, each of processor cores 202A-202N and graphics processor 208 may use embedded memory module 218 as a shared last-level cache.

[0049] In some embodiments, the processor cores 202A-202N are homogeneous 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 and 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 embodiment, 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.

[0050] Figure 2Bis 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 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 2A The graphics processor 208 may be integrated into the graphics processor 208 or a discrete graphics processor, parallel processor and / or computing accelerator. A graphics processor as described herein may include multiple graphics core blocks based on a target power and performance envelope. Each graphics processor core block 219 may include a functional block 230 coupled to multiple graphics cores 221A-221F, and the multiple graphics cores 221A-221F include modular blocks of fixed function logic and general programmable logic. The graphics processor core block 219 also includes a shared / cache memory 236 that can be accessed by all graphics cores 221A-221F, rasterizer logic 237, and additional fixed function logic 238.

[0051] In some embodiments, the functional block 230 includes a geometry / fixed function pipeline 231 that 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 the 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 the decoding, encoding, preprocessing, and / or post-processing of multimedia data (including images and video data). The media pipeline 234 implements media operations via requests to the calculation or sampling logic within the graphics cores 221A-221F. One or more pixel backends 235 may also be included within functional block 230. Pixel backend 235 includes buffer memory for storing pixel color values ​​and is capable of performing blending operations and lossless color compression on rendered pixel data.

[0052] In one embodiment, the graphics SoC interface 232 enables the graphics processor core block 219 to communicate with a general-purpose application processor core (e.g., CPU) and / or other components within the SoC or within 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 on-package DRAM. The SoC interface 232 can 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 can be shared between the graphics processor core block 219 and the CPU within the SoC. The graphics SoC interface 232 can also implement power management controls for the graphics processor core block 219 and enable interfaces 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 command buffers from a command stream converter and a global thread dispatcher configured to provide commands and instructions to each of the one or more graphics cores within the graphics processor. The commands and instructions can be dispatched to the media pipeline 234 when media operations are to be performed, and can be dispatched to the geometry and fixed function pipeline 231 when graphics processing operations are to be performed. When compute operations are to be performed, the compute dispatch logic can dispatch commands to the graphics cores 221A-221F, thereby bypassing the geometry pipeline and the media pipeline.

[0053] 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 execute graphics workloads and / or compute workloads scheduled 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 the CPU core of the 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 stream converter, preempting an existing workload running on the engine, monitoring the progress of the workload, and notifying the host software when the workload is completed. In one embodiment, the graphics microcontroller 233 is also capable of facilitating 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.

[0054] The graphics processor core block 219 may have more or fewer graphics cores 221A-221F than those shown, up to a maximum of 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 for accelerating various graphics and compute processing operations.

[0055] 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.

[0056] 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 are capable of operating with variable vector widths using SIMD execution mode, SIMT execution mode, or SIMT+SIMD execution mode. The matrix acceleration units 223A-223F, 225A-225D include matrix-matrix and matrix-vector acceleration logic that improves the performance of matrix operations, especially 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 capable of performing concurrent matrix multiplication or dot product operations on matrix elements.

[0057] Samplers 226A-226F can read media data or texture data into memory and can sample the data in different ways 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 can utilize caches / SLMs 228A-228F within each execution core. Caches / SLMs 228A-228F can be configured as a pool of cache memory or shared memory local to each graphics core in 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 volume. 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 coordination with image denoising, at least a portion of which may be performed using associated matrix acceleration units 223A-223F, 225A-225D.

[0058] Figure 2C A graphics processing unit (GPU) 239 is illustrated that includes a dedicated set of graphics processing resources arranged into multi-core groups 240A-240N. Details of multi-core group 240A are illustrated. Multi-core groups 240B-240N may be equipped with the same or similar set of graphics processing resources.

[0059] 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 with hardware that enables multiplication operations with zero-valued inputs to be bypassed. Figure 2C GPU 239 graphics core 243 relative to Figure 2B The graphics cores 221A-221F of the FPGA differ in the level of abstraction of the hierarchy. Figure 2B The graphics core 221A-221F and Figure 2C The multi-core groups 240A-240N are similar. Figure 2C The graphics core 243, tensor core 244 and ray tracing core 245 are respectively Figure 2B The vector engines 222A-222F, 224A-224F, matrix engines 223A-223F, 225A-225F and ray tracing units 227A-227F are similar.

[0060] 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.

[0061] 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 shown, 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 a system memory (e.g., DRAM) and / or a dedicated graphics memory (e.g., GDDR6 memory).

[0062] 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 a plurality of page table sets for mapping virtual addresses to 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.

[0063] In one implementation, the IOMMU 251 supports virtualization. In this case, the IOMMU 251 can 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 can be stored in a control register and swapped out at 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 can 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). Figure 2C , but each of the cores 243, 244, 245 and / or multi-core groups 240A-240N may include a translation lookaside buffer (TLB) for caching guest virtual to guest physical translations, guest physical to host physical translations, and guest virtual to host physical translations.

[0064] In one embodiment, (one or more) CPU 246, GPU 239 and I / O device 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, but the basic principles of the embodiments described herein are not limited to this particular implementation.

[0065] In one embodiment, the tensor core 244 includes multiple functional units specifically designed to perform matrix operations, which are 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.

[0066] 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 the N x N x 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.

[0067] 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 nibbles).

[0068] 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 volume. 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 and intersection operations in conjunction with the image denoising techniques described herein, at least portions of which may be executed 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, the CPU(s) 246, graphics core 243, and / or ray tracing core 245 may also implement all or portions of the denoising and / or deep learning algorithms.

[0069] In addition, as described above, a distributed approach to denoising may be employed, wherein 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.

[0070] 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). Therefore, in one embodiment, the multi-core group 240A can simply start 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.

[0071] 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.

[0072] 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 .

[0073] 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 unique shader and texture sets to be assigned 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 should be noted that the basic principles of the embodiments described herein are not limited to any particular ray tracing ISA.

[0074] 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:

[0075] Ray Generation - Ray generation instructions can be executed for each pixel, sample, or other user-defined work assignment.

[0076] Closest Hit - Closest hit instructions can be executed to locate the closest intersection of a ray with a primitive within the scene.

[0077] Any Hit - The Any Hit directive identifies multiple intersections between rays and primitives within the scene, potentially identifying a new closest intersection point.

[0078] Intersect - The Intersect command performs a ray-primitive intersection test and outputs the result.

[0079] Per-primitive bounding box construction - This instruction builds a bounding box around a given primitive or group of primitives (e.g., when building a new BVH or other acceleration data structure).

[0080] Miss - Indicates that the ray missed the scene or all geometry within a specified area of ​​the scene.

[0081] Visits – Indicates the subvolumes that the ray will traverse.

[0082] Exceptions - includes various types of exception handlers (eg, called for various error conditions).

[0083] In one embodiment, the ray tracing core 245 may be adapted to accelerate general computing operations that can be accelerated using computing techniques similar to ray intersection testing. A computing framework may 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 may benefit from computing operations performed on the ray tracing core 245 include calculations involving the propagation of beams, waves, rays, or particles in a coordinate space. Interactions associated with that propagation may be calculated relative to a geometry or mesh in the coordinate space. For example, calculations associated with the propagation of electromagnetic signals through an environment may be accelerated using instructions or primitives that are executed via a ray tracing core. Refraction and reflection of signals through objects in the environment may be calculated as direct ray tracing simulations.

[0084] 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 around the given point in the coordinate space. The BVH and ray detection logic in the ray tracing core 245 can then be used to determine the set of intersections of points within the bounding box. The intersection constitutes the origin and the nearest neighbor of that 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.

[0085] 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 that can be accessed 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.

[0086] 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 the shared memory 256 may also be partitioned into cache memories. GPGPU 270 also includes a plurality of computing units 260A-260N, which represent the computing units 260A-260N and the computing units 260A-260N. Figure 2B Graphics cores 221A-221F and Figure 2C The computing units 260A-260N may be coupled to a constant cache 267, which may be used to store constant data, which is data that does not change during the execution of a kernel 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 register 262.

[0087] During operation, one or more CPUs 246 may write commands to registers in GPGPU 270, or to memory in GPGPU 270 that has been mapped into an accessible address space. Command processor 257 may read commands from registers or memory and determine how to process those commands within GPGPU 270. Thread dispatcher 258 may then be used to dispatch threads to computing units 260A-260N to execute those commands. Each computing unit 260A-260N may execute threads independently of other computing units. In addition, each computing unit 260A-260N may be independently configured for conditional computation and may conditionally output the results of the computation to memory. Command processor 257 may interrupt one or more CPUs 246 when the submitted commands are completed.

[0088] Figure 3A-3C A block diagram illustrating additional graphics processor and computing accelerator architectures provided by embodiments described herein. Figure 3A-3C Elements having the same reference numeral (or name) 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.

[0089] 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 the 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 to system memory.

[0090] 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 of a display and multiple layers of video or user interface elements. 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 into 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, the 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 (AOMedia) VP8, VP9), and the 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).

[0091] In some embodiments, graphics processor 300 includes a block image transfer (BLIT) engine 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 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.

[0092] 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 the element and / or spawn execution threads to 3D / media subsystem 315. While 3D pipeline 312 may 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.

[0093] 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 for generating 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.

[0094] 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 some embodiments, 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.

[0095] Figure 3B A graphics processor 320 is shown having a sliced ​​architecture according to 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 device 326A-326D is an HBM module that may be on a die with its corresponding graphics engine slice 310A-310D. In one embodiment, the memory device 326A-326D is a stacked memory device that may be stacked on top of its corresponding graphics engine slice 310A-310D. In one embodiment, each graphics engine slice 310A-310D and associated memory 326A-326D resides on separate chiplets that are bonded to a base die or base substrate, such as in Figure 11B-Figure 11D As described in further detail in .

[0096] 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 different from the graphics engine slice to which the memory device is directly connected. However, when accessing the local slice, access latency to memory devices 326A-326D may be minimized. In one embodiment, a cache coherent 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.

[0097] 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 a chip (NoC), or another switching processor for enabling the fabric interconnect 324 to function as a packet-switched fabric interconnect for exchanging 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 306 and one or more replication engines 304. The replication 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). The fabric interconnect 324 may also be coupled to one or more of the tile interconnects 323A-323F to facilitate or enhance interconnections between the graphics engine tiles 310A-310D. The fabric interconnect 324 may also be configured to interconnect multiple instances of the graphics processor 320 (e.g., via the host interface 328), thereby enabling tile-to-tile communication between the graphics engine tiles 310A-310D of multiple GPUs. In one embodiment, the graphics engine tiles 310A-310D of multiple GPUs may be presented to the host system as a single logical device.

[0098] The graphics processor 320 may optionally include a display controller 302 for enabling 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.

[0099] 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 other 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. 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.

[0100] Figure 3C FIG. 3 shows a computing accelerator 330 according to an embodiment described herein. The computing accelerator 330 may include Figure 3B The computing engine cluster 332 may include a collection of computing engine slices 340A-340D, which include 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 memories 326A-326D via the memory interconnects 325A-325D. The memories 326A-326D and the memory interconnects 325A-325D may be technologies similar to those in the graphics processor 320, or may be different technologies. The compute engine slices 340A-340D may also be interconnected via a set of slice interconnects 323A-323F, and may be connected to and / or interconnected through a fabric interconnect 324. Cross-slice 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 graphics processor 320 is similarly connected to a host processor and memory via a host interface 328 .

[0101] 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 over a physical layer interconnect 344 without the data having to cross the memory of the host system. In one embodiment, one of the computing engine slices 340A-340D is replaced by the network processor logic, and data to be transmitted or received via the physical layer interconnect 344 can be transmitted directly to or from the memory 326A-326D. Multiple instances of the computing accelerator 330 can be combined into a single logical device via the physical layer interconnect 344. Alternatively, each computing engine slice 340A-340D can be presented as a different network accessible computing accelerator device. Graphics processing engine

[0102] 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 3BGraphics engine slices 310A-310D. Figure 4 Elements having the same reference numeral (or name) 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. For example, Figure 3A 3D pipeline 312 and media pipeline 316 are illustrated. Media pipeline 316 is optional in some embodiments of GPE 410 and may not be explicitly included within GPE 410. For example and in at least one embodiment, separate media and / or image processors are coupled to GPE 410.

[0103] In some embodiments, GPE 410 is coupled to or includes a command stream converter 403 that provides a command stream to 3D pipeline 312 and / or media pipeline 316. Alternatively or additionally, command stream converter 403 may be directly coupled to unified return buffer 418. Unified return buffer 418 may be communicatively coupled to graphics core cluster 414. In some embodiments, command stream converter 403 is coupled to a memory, which may be system memory, or one or more of an internal cache memory and a shared cache memory. In some embodiments, command stream converter 403 receives commands from memory and sends these commands to 3D pipeline 312 and / or media pipeline 316. These commands are instructions taken from a ring buffer that stores commands for 3D pipeline 312 and 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 the corresponding 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 and graphics-specific execution logic for performing graphics operations and compute operations; and fixed-function texture processing logic and / or machine learning and artificial intelligence acceleration logic, such as matrix or AI acceleration logic.

[0104] 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.

[0105] In some embodiments, graphics core cluster 414 includes execution logic for performing media functions such as video and / or image processing. In one embodiment, in addition to graphics processing operations, the graphics core also includes general purpose logic that can be programmed to perform parallel general purpose computing operations. The general purpose logic can be performed in parallel or in combination with Figure 1 (one or more) processor cores 107 or as Figure 2A The processing operations are performed by the general logic within the cores 202A-202N.

[0106] 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.

[0107] 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.

[0108] The graphics core cluster 414 is coupled to shared function logic 420, which includes a plurality of resources that are 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 421 logic, math 422 logic, and inter-thread communication (ITC) 423 logic. In addition, 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.

[0109] Shared functionality is implemented at least in cases where the demand for a given specialized function is insufficient to be included within the graphics core cluster 414. Instead, a single instantiation of that specialized function is implemented as an independent entity in the shared functionality logic 420 and is shared between execution resources within the graphics core cluster 414. The exact set of functions shared between the graphics core clusters 414 and included within the graphics core cluster 414 varies from embodiment to embodiment. In some embodiments, specific shared functions within the shared functionality logic 420 that are widely used by the graphics core clusters 414 may be included within the shared functionality logic 416 within the graphics core cluster 414. In various embodiments, the shared functionality logic 416 within the graphics core cluster 414 may include some or all of the logic within the shared functionality logic 420. In one embodiment, all logic elements within the shared functionality logic 420 may be replicated within the shared functionality logic 416 of the graphics core cluster 414. In one embodiment, the shared functionality logic 420 is excluded in favor of the shared functionality logic 416 within the graphics core cluster 414. Graphics processing resources

[0110] Figure 5A-Figure 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. Figure 5A-Figure 5C Elements having the same reference numeral 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. For example, Figure 5A-5C The components can be Figure 2B The graphics processor core block 219 and / or Figure 4In one embodiment, Figure 5A-Figure 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.

[0111] like Figure 5A As shown in FIG. 1 , 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, all the way to graphics core 515N) and may include multiple instances of graphics core block 415. In one embodiment, the components of graphics cores 515A-515N have the same Figure 2B 221F of the graphics core 221A-221F. In such embodiments, the graphics cores 515A-515N each include circuits 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 circuits 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.

[0112] With reference to graphics core 515A, vector engine 502A and matrix engine 503A are configurable to perform parallel computational 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 capable of executing multiple synchronous hardware threads while processing multiple data elements in parallel for each thread. Vector engine 502A and matrix engine 503A support processing of variable width vectors in 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 each element based on the data size of the element. 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 various sizes of unit groups and thread groups (e.g., 8, 16 or 32 threads).

[0113] 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 into a cache or memory, or from a 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 that is local to other slices via the slice interconnect 608, or from the system memory. 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 .

[0114] 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 fetch or pre-fetch instructions into instruction cache 505A. Graphics core 515A also includes instruction decoding logic for decoding 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 that are shared between instances of vector engine 502A and matrix engine 503A. Graphics cores 515B-515N can operate in a manner similar to graphics core 515A.

[0115] The functions of instruction caches 505A-505N, data caches / shared local memory 506A-506N, ray tracing units 508A-508N, samplers 510A-510N, and fixed function logic 512A-512N correspond to the equivalent functions in the graphics processor architecture described herein. Figure 2D The data cache / shared local memory 506A-506N, ray tracing units 508A-508N and samplers 510A-510N can operate in a manner similar to the instruction cache 255 of FIG. Figure 2B The fixed function logic 512A-512N may include the cache / SLM 228A-228F, ray tracing units 227A-227F, and samplers 226A-226F. Figure 2B In one embodiment, ray tracing units 508A-508N include components of geometry / fixed function pipeline 231 and / or additional fixed function logic 238. Figure 2C The ray tracing core 245 is a circuit for performing ray tracing acceleration operations.

[0116] like Figure 5BAs shown in FIG. 5 , 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, while 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 saved in thread-specific registers in the ARF 526.

[0117] 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.

[0118] In one embodiment, the vector engine 502 can issue multiple instructions in coordination, and these instructions can be different instructions respectively. The thread arbiter 522 can dispatch instructions to one of the send unit 530, the branch unit 532 or (one or more) SIMDFPU 534 for execution. Each execution thread can access 128 general registers in the GRF 524, wherein each register can store 32 bytes that can be accessed as a variable width vector with 32-byte data elements. In one embodiment, each thread has access to 4 kilobytes in the GRF 524, but the embodiment is not limited thereto, and more or less register resources can be provided in other embodiments. In one embodiment, the vector engine 502 is partitioned into seven hardware threads that can independently perform computing operations, but the number of threads of each vector engine 502 can also vary according to the embodiment. For example, in one embodiment, a maximum of 16 hardware threads are supported. In an embodiment in which seven threads can access 4 kilobytes, the 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 allow registers to be addressed together, effectively creating wider registers or representing strided rectangular block data structures.

[0119] In one embodiment, memory operations, sampler operations, and other longer latency system communications are dispatched via "send" instructions executed by message passing send unit 530. In one embodiment, branch instructions are dispatched to a dedicated branch unit 532 to facilitate SIMD scatter and eventual convergence.

[0120] In one embodiment, the vector engine 502 includes one or more SIMD floating point units (FPU(s)) 534 for performing floating point operations. In one embodiment, the FPU(s) 534 also supports integer calculations. In one embodiment, the FPU(s) 534 can perform up to M 32-bit floating point (or integer) operations, or up to 2M 16-bit integer or 16-bit floating point operations. In one embodiment, at least one of the FPU(s) 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 a set 534 of additional SIMD ALUs that can be configured to perform integer and floating point operations. In one embodiment, the SIMD FPU 534 and the SIMD ALU 535 can be configured to execute SIMT programs. In one embodiment, combined SIMD+SIMT operations are supported.

[0121] In one embodiment, an array of multiple instances of vector engine 502 may be instantiated in a graphics core. For scalability, product architects may choose the exact number of vector engines grouped per graphics core. In one embodiment, vector engine 502 may execute instructions across multiple execution lanes. In further embodiments, each thread executed on vector engine 502 is executed on a different lane.

[0122] like Figure 5C As shown in, in one embodiment, the matrix engine 503 includes an array of processing elements configured to perform tensor operations, including vector / matrix operations and matrix / matrix operations, such as but not limited to matrix multiplication and / or dot product operations. The matrix engine 503 can be configured using processing elements (552AA-552MN) of M rows and N columns, and the processing elements (552AA-552MN) include multipliers and adder circuits organized in a pipelined manner. In one embodiment, the processing elements 552AA-552MN form the physical pipeline stage of the systolic array of N width and M depth, and the systolic array can be used to perform vector / matrix operations or matrix / matrix operations in a data-parallel manner, including matrix multiplication, fused multiplication and 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 embodiments, the matrix engine 503 may be configured with support for a bfloat (brain floating point) 16-bit floating point format, or a tensor floating point 32-bit floating point format (TF32), having a different number of mantissa bits and exponent bits relative to the Institute of Electrical and Electronics Engineers (IEEE) 754 format.

[0123] In one embodiment, during each cycle, each stage may add the result of the operation performed at that stage to the output of the previous stage. In other embodiments, after a set of computation cycles, the pattern of data movement between processing elements 552AA-552MN may vary based on the instructions or macro operations executed. For example, in one embodiment, a partial sum loopback is enabled, and the processing element may instead add the output of the current cycle to the output generated in the previous cycle. In one embodiment, the final stage of the systolic array may be configured with a loop to the initial stage of the systolic array. In such embodiments, the number of physical pipeline stages may be decoupled from the number of logical pipeline stages supported by the matrix engine 503. For example, where the processing elements 552AA-552MN are configured as a systolic array of M physical stages, a loop from stage M to the initial pipeline stage may enable the processing elements 552AA-552MN to operate as a systolic array of logical pipeline stages, such as 2M, 3M, 4M, etc.

[0124] In one embodiment, the matrix engine 503 includes memories 541A-541N, 542A-542M for storing input data in the form of row and column data for 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 elements and column elements are provided as inputs to the processing elements 552AA-552MN for processing. In one embodiment, the element rows and column elements of the input matrix can be stored in the systolic register file 540 in the matrix engine 503 before these elements are provided to the memories 541A-541N, 542A-542M. In one embodiment, the systolic register file 540 is excluded, and the registers (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 data cache / shared local memory 506A for the matrix engine 503A) loads the memory 541A-541N, 542A-542M. The results generated by the processing elements 552AA-552MN are then output to the output buffer and / or written to the register file (e.g., the systolic register file 540, the GRF 524, the data cache / shared local memory 506A-506N) for further processing by other functional units of the graphics processor or for output to the memory.

[0125] In some embodiments, the matrix engine 503 is configured with support for input sparsity, wherein multiplication operations of sparse regions of input data can be bypassed by skipping multiplication operations of operands with zero values. In one embodiment, processing elements 552AA-552MN are configured to skip the execution of certain operations with zero-value inputs. In one embodiment, the sparsity within the input matrix can be detected, and operations with known zero output values ​​can be bypassed before being submitted to processing elements 552AA-552MN. Loading zero-value operands into processing elements can be bypassed, and processing elements 552AA-552MN can be configured to perform multiplication on non-zero-value input elements. The matrix engine 503 can also be configured with support for output sparsity, so that operations with results predetermined to zero can be bypassed. For input sparsity and / or output sparsity, in one embodiment, metadata is provided to processing elements 552AA-552MN to indicate which processing elements and / or data channels will be active during the cycle for a certain processing cycle.

[0126] In one embodiment, the matrix engine 503 includes hardware for enabling operations on sparse data with a compressed representation of a sparse matrix, which stores non-zero values ​​and metadata identifying the position of the non-zero values ​​in the matrix. Exemplary compressed representations include, but are not limited to, compressed tensor representations, such as, compressed sparse rows (CSR) representations, compressed sparse columns (CSC) representations, compressed sparse fibers (CSF) representations. Support for compressed representations enables operations to be performed on inputs in compressed tensor format without the need for compressed representations to be decompressed or decoded. In such embodiments, operations can be performed only on non-zero input values, and the resulting non-zero output values ​​can be mapped into the output matrix. In some embodiments, hardware support for machine-specific lossless data compression formats is also provided, which are used when transmitting data within hardware or across system buses. Such data can be retained in a compressed format for sparse input data, and the matrix engine 503 can use compressed metadata for compressed data to enable operations to be performed only on non-zero values ​​or to enable blocks of zero data input to be bypassed for multiplication operations.

[0127] 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 compressed tensor representation, streaming compression of sparse input data may be performed before the input 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 predetermined pattern of sparsity is applied to the input data. The data may be compressed to a known compression ratio, wherein the compressed data is processed by the compression elements 552AA-552MN according to metadata associated with the compressed data.

[0128] 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), wherein each graphics core cluster 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.

[0129] 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. Figure 3B and Figure 3C , each instance of a slice 600 in a multi-chip graphics processor has an associated memory 610. In one embodiment, the multi-chip processor may be configured as a multi-chip module in which the L3 cache 606 and / or the memory 610 reside on a separate chiplet that is distinct 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 into a larger package with other chiplets. For example, the L3 cache 606 may be included in a dedicated cache chiplet, or reside on the same chiplet as the graphics core clusters 414A-414N. In one embodiment, the L3 cache 606 may be included in a separate chiplet such as Fig. 11CAn active base die or an active interpose is shown.

[0130] Memory structure 603 enables communication between graphics core cluster 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 Figure 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. Memory structure 603 may be configured to route data to L3 cache 606 or to a memory controller associated with memory 610 based on the presence or absence of L3 cache 606 in a particular implementation. L3 cache 606 may be configured as a per-tile cache that is dedicated to the processing resources of slice 600 or may be part of a GPU-wide L3 cache.

[0131] Figure 7 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 a variety of 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 in that they are instructions supplied to the graphics core, as opposed to micro-operations that result from instruction decoding that occurs once the instruction is processed. Thus, a single instruction may cause the hardware to perform multiple micro-operations.

[0132] In some embodiments, the graphics processor natively supports instructions in 128-bit instruction format 710. Based on the selected instructions, instruction options, and the number of operands, 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 64-bit format 730. The native instructions available in 64-bit format 730 vary from embodiment to embodiment. In some embodiments, the instructions are partially compressed using a set of index values ​​in 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 128-bit instruction format 710. Instructions of other sizes and formats can be used.

[0133] 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., swizzle)). 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.

[0134] Some graphics core instructions have up to three operands, including two source operands src0 720, src1 722, and one destination 718. In some embodiments, the graphics core supports dual destination instructions, where one of the 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.

[0135] 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.

[0136] 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 of 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.

[0137] 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.

[0138] 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., 0x20). 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 instruction 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. Graphics Pipeline

[0139] Figure 8 is a block diagram of another embodiment of a graphics processor 800 . Figure 8 Elements having the same reference numeral (or name) 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.

[0140] 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 stream converter 803, which supplies instructions to various components of the geometry pipeline 820 or the media pipeline 830.

[0141] In some embodiments, command stream converter 803 directs the operation of vertex fetcher 805, which reads vertex data from memory and executes vertex processing commands provided by command stream converter 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.

[0142] 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 may have an attached L1 cache 851 that is dedicated to each array or shared between arrays. The cache may be configured as a data cache, an instruction cache, or partitioned into a single cache containing data and instructions in different partitions.

[0143] In some embodiments, the geometry pipeline 820 includes a tessellation component for performing hardware accelerated tessellation of 3D objects. In some embodiments, a programmable shell shader 811 configures the tessellation operation. A 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 contains 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.

[0144] In some embodiments, the complete geometric object may be processed by the geometry shader 819 via one or more threads dispatched to the graphics core 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 patches of vertices 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.

[0145] 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 render 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.

[0146] The graphics processor 800 has an interconnect bus, interconnect structure, or some other interconnect mechanism that allows data and messages to be passed between 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.

[0147] In some embodiments, the render output pipeline 870 includes a rasterizer and depth test component 873 that converts vertex-based objects into associated pixel-based representations. In some embodiments, the rasterizer logic includes a windower / masker unit for performing fixed-function triangle and line rasterization. In some embodiments, an associated rendering buffer 878 and depth buffer 879 are also available. 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 transfers) are performed by the 2D engine 841, or replaced by the display controller 843 using an overlay display plane when displaying. 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.

[0148] 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 stream converter 803. In some embodiments, the media pipeline 830 includes a separate command stream converter. 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.

[0149] 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 can be 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 contains 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.

[0150] 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 for 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 all of the Open Graphics Library (OpenGL), Open Computing Language (OpenCL) and / or Vulkan graphics and computing APIs 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 Open Source 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. Graphics pipeline programming

[0151] 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 of the command, a command operation code (opcode) 904, and a data field 906. A subopcode 905 and a command size 908 are also included in some commands.

[0152] In some embodiments, client 902 specifies a client unit of a graphics device that processes command data. In some embodiments, a graphics processor command parser checks the client field of each command to adjust the further processing of the command, and routes the command data to the appropriate client unit. In some embodiments, a graphics processor client unit includes a memory interface unit, a rendering unit, a 2D unit, a 3D unit, and a media unit. Each client unit has a corresponding processing pipeline for processing commands. Once a command is received by a client unit, the client unit reads an opcode 904 and a sub-opcode 905 (if present) to determine the operation to be performed. The client unit uses the information in the data field 906 to execute the command. For some commands, an explicit command size 908 is expected to specify the size of the command. In some embodiments, the command parser automatically determines the size of at least some of the commands in the command based on the command opcode. In some embodiments, the command is aligned via multiples of a double word. Other command formats may be used.

[0153] Fig. 9B 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 embodiments are not limited to these particular commands or command sequences. In addition, 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 concurrent manner.

[0154] In some embodiments, the graphics processor command sequence 910 can begin with a pipeline dump clear command 912 to cause any active graphics pipeline to complete currently pending commands for the pipeline. 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 pending operations 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 can be used before placing the graphics processor in a low power state.

[0155] In some embodiments, when a command sequence requires the graphics processor to explicitly switch between pipelines, pipeline select command 913 is used. In some embodiments, pipeline select command 913 is only required once in an execution context before issuing pipeline commands, unless the context is issuing commands for both pipelines. In some embodiments, pipeline flush command 912 is required immediately before a pipeline switch via pipeline select command 913.

[0156] 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 pipeline states for active pipelines. 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 an active pipeline before processing a batch of commands.

[0157] In some embodiments, commands associated with return buffer state 916 are used to configure a set of return buffers for a corresponding pipeline for writing data. Some pipeline operations require the allocation, selection, or configuration of 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.

[0158] 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 .

[0159] 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.

[0160] In some embodiments, the 3D primitive 932 command is used to submit the 3D primitive to be processed by the 3D pipeline. The command and associated parameters passed to the graphics processor via the 3D primitive 932 command are forwarded to the vertex acquisition function in the graphics pipeline. The vertex acquisition function uses the 3D primitive 932 command data to generate a vertex data structure. The vertex data structure is stored in one or more return buffers. In some embodiments, the 3D primitive 932 command is used to perform vertex operations on the 3D primitive via a vertex shader. In order to process the vertex shader, the 3D pipeline 922 dispatches the shader program to the graphics core.

[0161] In some embodiments, the 3D pipeline 922 is triggered via an execute 934 command or event. In some embodiments, a register write triggers command execution. In some embodiments, execution is triggered via a "go" or "kick" command in a command sequence. In some embodiments, command execution is triggered using a pipeline synchronization command to flush 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.

[0162] In some embodiments, when performing media operations, the graphics processor command sequence 910 follows the media pipeline 924 path. In general, the specific purpose and manner of programming for the media pipeline 924 depends on the media or computing operations to be performed. During media decoding, specific media decoding operations can be migrated to the media pipeline. In some embodiments, the media pipeline can also be bypassed, and the media decoding can be performed in whole or in part using resources provided by one or more general processing cores. 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 that are not explicitly related to the rendering of graphics primitives.

[0163] 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 the command sequence 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.

[0164] 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, before issuing media object commands 942, all media pipeline states must be valid. 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. Graphics Software Architecture

[0165] Fig.10 An exemplary graphics software architecture for data processing system 1000 is illustrated in accordance with some embodiments. 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 each execute in system memory 1050 of the data processing system.

[0166] In some embodiments, the 3D graphics application 1010 includes one or more shader programs that include shader instructions 1012. The shader language instructions may be in a high-level shader language, such as Direct3D's High-Level Shader Language (HLSL), OpenGL Shader Language (GLSL), etc. The application also includes executable instructions 1014 in a machine language suitable for execution by a general-purpose processor core 1034. The application also includes graphics objects 1016 defined by vertex data.

[0167] 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, high-level shaders are compiled into low-level shaders. In some embodiments, the shader instructions 1012 are provided in an intermediate form, such as a certain version of the Standard Portable Intermediate Representation (SPIR) used by the Vulkan API.

[0168] In some embodiments, the user mode graphics driver 1026 includes a backend shader compiler 1027 to compile shader instructions 1012 into a hardware specific representation. 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. IP core implementation

[0169] 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 organization of the integrated circuit. The hardware model may be supplied to each customer 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.

[0170] Fig.11A1 is a block diagram of an IP core development system 1100 that can be used to manufacture an integrated circuit to perform operations according to an embodiment. The IP core development system 1100 can be used to generate a modular, reusable design that can be incorporated into a larger design or used to build an entire integrated circuit (e.g., a SOC integrated circuit). 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 the initial design and simulation can be different.

[0171] 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.

[0172] Fig. 11BA 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 (one or more) processor cores, (one or more) graphics processors, or other accelerator devices described herein. Each logic unit 1172, 1174 may be implemented within a semiconductor die and coupled to the substrate 1180 via an interconnect organization 1173. The interconnect organization 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 organization 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 an epoxy-based laminate substrate. In other embodiments, the 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.

[0173] In some embodiments, logic units 1172, 1174 are electrically coupled to a bridge 1182 configured to route electrical signals between logic 1172 and logic 1174. Bridge 1182 may be a dense interconnect fabric 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.

[0174] Although two logic units 1172, 1174 and bridge 1182 are illustrated, the embodiments described herein may include more or fewer logic units 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 units may be connected by one or more bridges. In addition, multiple logic units, dies, and bridges may be connected together in other possible configurations, including three-dimensional configurations.

[0175] Fig. 11CThe package assembly 1190 is shown, which includes a hardware logic chiplet of multiple units connected to the substrate 1180. Graphics processing units, parallel processors and / or computing accelerators as described herein may be composed of various silicon chiplets manufactured separately. Chiplets with various sets of different IP core logic can be assembled into a single device. In addition, the chiplets can be integrated into the base die or base chiplet using active interposer technology. The concepts described herein enable interconnection and communication between different forms of IP within the GPU. The IP cores can be manufactured using different process technologies and constructed during manufacturing, which avoids the complexity of converging 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 decomposed IP is easier to modify to be independently power-gated, and components that are not in use for a given workload can be turned off, thereby reducing overall power consumption.

[0176] 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 embodiments, the chiplets within the package assembly 1190 are arranged on top of the active interposer 1189 using 3D face-to-face die stacking. The active interposer 1189 may include hardware logic for I / O 1191, cache memory 1192, and other hardware logic 1193 in addition to the interconnect structure 1185 and silicon bridge 1187. The structure 1185 enables communication between the various logic chiplets 1172, 1174 and the logic 1191, 1193 within the active interposer 1189. The structure 1185 may be a NoC interconnect or another form of packet switching type structure that exchanges data packets between components of the package assembly. For complex components, the structure 1185 may be a dedicated chiplet that enables communication between the various hardware logics of the package assembly 1190.

[0177] A bridge organization 1187 within the active interposer 1189 may be used to facilitate, for example, point-to-point interconnections between a logic or I / O chiplet 1174 and a memory chiplet 1175. In some implementations, the bridge organization 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 devices 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 .

[0178] Each chiplet may be fabricated as a separate semiconductor die and may be coupled to a base die that is embedded within or coupled to a substrate 1180. Coupling to the substrate 1180 may be performed via an interconnect organization 1173. The interconnect organization 1173 may be configured to route electrical signals between the various chiplets and logic within the substrate 1180. The interconnect organization 1173 may include interconnects such as, but not limited to, bumps or pillars. In some embodiments, the interconnect organization 1173 may 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 logic, I / O, and memory chiplets. In one embodiment, an additional interconnect organization couples the active interposer 1189 to the substrate 1180.

[0179] 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.

[0180] 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 tissue 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 chip-to-chip connections 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 simply be a direct connection from one chiplet to another chiplet.

[0181] Fig.11D A 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 one of logic or I / O or memory / cache.

[0182] 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 the product using the package assembly 1194. In addition, logic chiplets with different numbers of types of functional units may be selected at assembly time based on power and / or performance for the product. In addition, chiplets containing IP logic cores of different types may be inserted into the interchangeable chiplet sockets, thereby enabling hybrid processor designs that can mix and match IP blocks of different technologies. Exemplary System-on-Chip Integrated Circuit

[0183] Fig.12 and Figure 13A-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.

[0184] Fig.12 1 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, either 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 .

[0185] 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 is illustrated that may be fabricated using one or more IP cores in accordance with an embodiment. Fig. 13B An additional exemplary graphics processor 1340 is illustrated of a system-on-chip integrated circuit that may be fabricated using one or more IP cores in accordance with an embodiment. Fig.13A Graphics processor 1310 is an example of a low-power graphics processor core. Fig. 13BThe graphics processor 1340 of FIG. 1 is an example of a higher performance graphics processor core. Each of the graphics processors 1310 and 1340 may be Fig.12 A variant of graphics processor 1210.

[0186] like Fig.13A As 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, all the way 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 primitives 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.

[0187] 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.12One 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 131330A-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.

[0188] like Fig. 13B As shown in FIG. 1 , the graphics processor 1340 includes Fig.13A One or more MMUs 1320A-1320B, caches 1325A-1325B, and circuit interconnects 1330A-1330B of a graphics processor 1310. Graphics processor 1340 includes one or more shader cores 1355A-1355N (e.g., 1355A, 1355B, 1355C, 1355D, 1355E, 1355F, all the way to 1355N-1 and 1355N) that provide a unified shader core architecture in which a single core or any type of 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. In addition, 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 consistency within a scene or to optimize the use of internal caches. System architecture for cloud gaming

[0189] Fig.14The diagram illustrates frame encoding and decoding for a cloud gaming system 1400. The client 1440 may be a consumer of graphics (e.g., games, virtual reality / VR, augmented reality / AR) content that is housed, processed, and rendered on the server 1420. The illustrated server 1420 (which may be scalable) has the ability to provide graphics content to multiple clients simultaneously (e.g., by utilizing parallel and shared processing and rendering resources). The server 1420 includes a graphics processor 1430 (e.g., a GPU), a host processor 1424 (e.g., a CPU), and a network interface controller (NIC) 1422. The NIC 1422 may receive a request for graphics content from the client 1440. The request from the client 1440 may cause the graphics content to be retrieved from the memory via an application executed on the host processor 1424. The host processor 1424 may perform advanced operations, such as, for example, determining the position, collision, and motion of objects in a given scene. Based on the advanced operations, the host processor 1424 may generate rendering commands that are combined with the scene data and executed by the graphics processor 1430. The rendering commands may cause graphics processor 1430 to define scene geometry, shading, lighting, motion, textures, camera parameters, etc., for the scene to be rendered via client 1440 .

[0190] More specifically, the illustrated graphics processor 1430 includes a graphics renderer 1432 that performs a rendering process according to rendering commands generated by the host processor 1424. The output of the graphics renderer 1432 may be a stream of raw video frames that is provided to a frame capturer 1434. The illustrated frame capturer 1434 is coupled to an encoder 1436 that may compress / format the raw video stream for transmission over the network 1410. The encoder 1436 may use a variety of video compression algorithms such as, for example, the H.264 standard from the International Telecommunication Union Telecommunication Standardization Sector (ITUT), the MPEG4 Advanced Video Coding (AVC) standard from the International Organization for the Standardization / International Electrotechnical Commission (ISO / IEC), and the like. In one embodiment, the GPU 1430 and the NIC 1422 may be integrated into a converged accelerator such as a unified network, graphics and computing accelerator and / or an intelligent network interface controller.

[0191] The illustrated client 1440 (which may be a desktop computer, laptop computer, tablet computer, convertible tablet computer, wearable device, mobile internet device, smart phone device, personal digital assistant, media player, etc.) includes a NIC 1442 to receive the transmitted video stream from the server 1420. The NIC 1442 may include the physical layer of the network interface in the client 1440, as well as the basis for the software layer to facilitate communication over the network 1410. The client 1440 may also include a decoder 1444 that employs the same formatting / compression scheme as the encoder 1436. Thus, the decompressed video stream may be provided from the decoder 1444 to a video renderer 1446. The illustrated video renderer 1446 is coupled to a display 1448 that visually presents the graphical content.

[0192] Client 1440 can carry out real-time interactive data flow, and it comprises collecting user input from input device 1450 and delivering user input to server 1420 via network 1410.This real-time interactive component of cloud game may bring the challenge of waiting time.Described herein is a kind of cloud game system, and it enables non-waiting time sensitive game to be executed in cloud data center, and waiting time is more sensitive game is executed on the server at the edge of cloud game network.Edge server can be distributed geographically, so that server with relatively low waiting time can be selected for client device.When client device comprises high-performance GPU and / or for waiting time extremely sensitive game, the graphic operation for cloud-based game can be directly executed on client device.In such scene, server 1420 and client 1440 both can reside on the same computing device, and wherein network 1410 is internal network connection on client.

[0193] Fig.15 The cloud gaming system 1500 is illustrated in which the game servers are distributed across multiple cloud and data center systems. The cloud gaming system 1500 includes a cloud authentication node 1501 and a Functions as a Service (FaaS) endpoint 1503, each of which is in electronic communication with a browser client 1515. The cloud gaming system 1500 also includes a telemetry server 1507 that receives system telemetry from the FaaS endpoint 1503 and a GPU server that executes the game application. The cloud gaming system 1500 additionally includes a peer server 1517 and a STUN server 1519 that facilitates establishing a network connection between the client and the GPU server.

[0194] In one embodiment, the cloud gaming system 1500 includes an orchestrator 1505 that manages the execution nodes and storage containers of the cloud gaming system 1500. The orchestrator 1505 can additionally manage multiple GPU server sets 1509, 1511, 1513. Multiple GPU server sets can reside on different cloud networks associated with different cloud service providers or hosting data centers. For example, a first GPU server set 1509 can be provided by a first cloud service provider (e.g., Microsoft Azure). A second GPU server set 1511 can be provided by a second cloud service provider (e.g., Amazon Web Services). A third GPU server set 1513 can be a co-located server hosted at one or more host hosting data centers. In one embodiment, the cloud gaming system 1500 is partially implemented using Kubernetes, but not all embodiments are limited thereto. In such embodiments, the orchestrator 1505 can be a Kubernetes master and the GPU server can include a kubelet node agent.

[0195] During operation, the browser client 1515 or another cloud gaming client (such as a cloud gaming client application) can communicate with the cloud authentication node 1501 to authenticate the client with the cloud gaming system 1500. The cloud authentication node 1501 returns an authorization token to the browser client 1515. The browser client 1515 can request a game launch via the FaaS endpoint 1503 using the authorization token. The FaaS endpoint 1503 communicates with the orchestrator 1505 to start the game. The game can be launched from a container running on a game server. The orchestrator 1505 selects a server from the GPU server set 1509, 1511, 1513 to become a game server for the game to be launched. In one embodiment, the orchestrator 1505 can initiate the execution of the cabin on the selected GPU server. The cabin is a grouping of containerized components provided by one or more containers located on the same server. Containers within a cabin can share resources. The orchestrator 1505 then returns a unique session ID to the FaaS endpoint 1503. The FaaS endpoint 1503 then provides the unique session ID to the browser client 1515 and a GPU server selected from the set of GPU servers 1509 , 1511 , 1513 .

[0196] The browser client 1515 can then communicate with one or more session traversals of the User Datagram Protocol (UDP) through a Network Address Translator (NAT) server (e.g., STUN server 1519) to enable the browser client to connect to a GPU server in the set of GPU servers 1509, 1511, 1513. For example, the STUN server 1519 enables the browser client 1515 and the selected GPU server to determine their respective public IP addresses. In one embodiment, the public IP address returned to the GPU server is a public IP address associated with a pod associated with a game to be executed by the GPU server. The browser client 1515 and the selected GPU server can complete registration with the peer server 1517 using a <session ID, public IP> tuple, where the session ID is a unique session ID provided by the FaaS endpoint 1503, and the public IP is a public IP provided by the STUN server 1519. The peer server 1517 notifies the browser client 1515 of the existence of the selected GPU server. The peer server 1517 also notifies the selected GPU server of the presence of the browser client 1515. Once informed of each other's presence, the browser client 1515 and the selected GPU server can establish a UDP-WebRTC connection to enable game setup to begin. During game setup, the FaaS endpoint 1503 and the selected GPU server (illustrated as selected from the co-located GPU server set 1513) can transmit telemetry to the telemetry server 1507.

[0197] Fig.16 The diagram includes a cloud gaming system 1600 with end-to-end path optimization. In one embodiment, the cloud gaming system 1600 can utilize WebRTC (Real Time Communication), which can be used to achieve end-to-end path optimization. WebRTC can be made available on all endpoints (thin clients, all browsers). Since the network changes dynamically, it is very important to achieve real-time response under critical network conditions. Using Wi-Fi as the last-meter delivery mechanism is the biggest culprit for changes in network conditions. A variety of options are available for optimizing cloud gaming solutions using WebRTC.

[0198] In one embodiment, the GPU 1601 may include a rendering target 1603 to which the graphics pipeline 1605 writes frame data for the game. The data of the rendering target 1603 may be encoded by the encoder 1607 and written to the system memory 1608 as video data bits 1609. The WebRTC engine 1613 executed by the CPU 1611 may provide hints 1631 back to the encoder 1607 to optimize the encoding process based on the WebRTC network feedback processed by the WebRTC engine 1613. For example, the hints 1631 may be used to adjust the bit rate used when encoding the encoded video bits 1609 before transmission. The encoded video bits 1609 may be transmitted to the user's internet service provider (ISP) (e.g., ISP internet 1629) via the internet (e.g., core internet 1617) via a network interface controller (NIC 1615). The data is then relayed to a home network (e.g., home Wi-Fi 1625) via the last mile network 1627. In the case of using a wireless network, the wireless network data can be processed by a Wi-Fi driver 1623 on the client computing device, which can relay the data to a web browser 1619 acting as a streaming client for the cloud gaming service. The web browser 1619 can include WebRTC logic 1621, which can provide network feedback to the WebRTC engine 1613 via a feedback path 1633.

[0199] In one embodiment, a signal from the Wi-Fi driver 1623 is used to enhance WebRTC network feedback. Additionally, reinforcement learning can be used to build a path model to each client's home network so that each client receives streaming data through an optimized path. The use of Wi-Fi 6 may also help with predictability. Cloud gaming service logic can be added to access points to enhance the predictability and metric collection associated with these access points. In the case of 5G networks, hooks can be added to the 5G control plane to implement quality of service techniques. In addition, the system can be configured to take advantage of network hints. Slice-based encoding and dynamic resolution changes can be used based on hints about network health.

[0200] Fig.17 An additional high-level overview of a cloud gaming system 1700 is shown in accordance with an embodiment. The cloud gaming system 1700 may include Fig.15 Cloud gaming system 1500 and Fig.16In one embodiment, a game instance 1702 of a computer game application executed via the cloud gaming system 1700 is executed using a cloud gaming software stack 1710. The cloud gaming software stack 1710 includes a GPU API interception layer 1712. The GPU API interception layer 1712 can intercept API commands that would normally be processed by a local GPU within a computing system and process the intercepted API commands via a cloud gaming server instance 1720.

[0201] In one embodiment, the cloud gaming server instance 1720 includes a GPU node 1730 to process the intercepted GPU APU commands. In one embodiment, the cloud gaming server instance 1720 can direct the intercepted GPU API commands to the remote GPU node 1730, such as Fig.15 A remote GPU node 1730 within any one of the GPU servers 1509, 1511, 1513 of the cloud gaming system 1700. The GPU node 1730 may render the intercepted API command via a rendering circuit 1732. The rendering circuit 1736 may present the rendered frame to a background buffer queue 1738 that may store multiple rendered frames. The rendered frame within the back buffer queue 1738 may be encoded (e.g., compressed) by an encoder circuit 1734 for transmission to a client device 1740 of the cloud gaming system 1700 via one of the multiple media encoding formats described herein. The encoded frame may be stored in an encoding buffer queue 1722 and transmitted to the client device 1740 via WebRTC by the cloud gaming server instance 1720. An asynchronous communication link between the cloud gaming server instance 1720 and the client device 1740 may be used to relay asynchronous data. The client device 1740 may transmit user input to control the game settings of the game instance 1720. The client device 1740 also transmits end-to-end detection data to the cloud gaming server instance 1720. End-to-end probe data may include network feedback used by the WebRTC engine 1613, and timestamp data 1758 collected by the client device 1740 to measure client performance.

[0202] In one embodiment, the client device 1740 may receive a stream of encoded frames from the cloud gaming server instance 1720 and decode the frames via a decoding circuit 1752 of a GPU 1750 of the client device 1740. The decoded frames may be presented to a display 1760 of the client via a rendering circuit 1756. The timestamp data 1758 generated by the GPU 1750 may be used to synchronize the operation of the GPU 1750 with the CPU of the client device 1740. The timestamp data 1758 may also be used to generate end-to-end detection data transmitted to the cloud gaming server instance 1720. The maximum bit rate at which frames are encoded while maintaining responsiveness and frame-to-frame latency may be constrained by varying network bandwidth. Compared to frames at lower bit rates, frames at higher bit rates may be larger in size and may take longer to be transmitted to the client (especially on slower network connections). Depending on network conditions and end-to-end latency, the encoding bit rate may be dynamically adjusted. However, text and other UI elements of gaming applications may lose legibility at lower bit rates.

[0203] Fig.18 Illustrated is post-processing operations 1800 that may be performed on a GPU rendered frame. In one embodiment, each frame rendered on the cloud side may go through several states of post-processing operations, depending on the options enabled by the game settings. Each successive technique adds additional frame generation time for the GPU, with the complexity of each operation increasing for high resolutions. Additionally, each successive post-processing operation adds additional complexity to the encoder to encode the rendered and post-processed frames within a constrained bitrate.

[0204] For example, post-processing operations may include operations for adjusting view geometry 1802 and / or depth of field 1804. Temporal anti-aliasing 1806 may also be enabled, in which a frame is anti-aliased using sample data from a previous frame. In one embodiment, motion blur 1808 may be enabled. If high-dynamic range (HDR) color is enabled, a halo effect 1810 may be enabled, including a high dynamic range halo effect. Various forms of tone mapping 1812 may also be enabled, including tone mapping between color spaces, from HDR to a lower dynamic range, or to approximate the appearance of an HDR image. Additional post-processing operations include applying a user interface 1814 (UI), such as a GPU-specific software overlay or a cloud gaming service UI. Additional post-processing operations include a back buffer resolution operation 1816, which may include upscaling or downscaling a frame to a target resolution of a back buffer that will be encoded and transmitted to the client. In one embodiment, the temporal anti-aliasing 1806 and the post-buffer resolution operation 1816 may be combined using AI-based techniques such as Xe Super Sampling (XeSS) or Deep Learning Super Sampling (DLSS). Network- and render-aware split rendering

[0205] The network and renderer-aware segmented rendering technology provided herein allows selected rendering and post-processing operations to be performed on the client of the cloud gaming service after receiving the encoded and partially rendered frame. The segmented rendering technology enables the cloud gaming service to provide the best frame quality under different network conditions, thereby achieving high-quality frames even when the network conditions severely constrain the encoding bit rate. The entire frame can be rendered using a traditional frame streaming model. The captured API command stream can also be used to selectively render specific workloads associated with the frame, such as a game HUD, or other UI elements or selected 3D objects. Additional exemplary workloads are 3D billboards within the scene. In this context, a 3D billboard is a textured, camera-facing object within the scene, such as a 3D rendered health or resource bar that can be positioned above a feature within the frame. In one embodiment, the selection of 3D workloads that should be rendered, encoded, and streamed to the client can be determined at the game engine level or for a specific game title relative to which 3D objects will be cached for rendering on the client side. In another embodiment, the segmentation of the rendering technology of the frame can also be dynamically adjusted based on the network conditions.

[0206] Specifically, screen text, HUD elements, or 3D objects that would have low visibility and / or readability at higher quantization parameter (QP) settings can be configured to be rendered by the client, thereby improving the quality of the final rendered frame even during periods in which the server renders frames at a lower bit rate due to network conditions. Additionally, excluding server-side rendering of UI elements that are static relative to a moving game camera improves the efficiency of the server-side encoding process, thereby reducing the bit rate required to achieve the target frame quality. Split rendering techniques can also improve user experience and frame quality under high-quality network conditions. For example, higher quality frames can be produced when certain post-processing operations are performed on the client after the frame is decoded (rather than performing certain post-processing operations on the server before encoding the frame for transmission).

[0207] Fig.19 The cloud gaming system 1900 in which network and renderer-aware split rendering is enabled is illustrated. In one embodiment, the cloud gaming software stack 1710 includes an updated GPU API interception layer 1912, which includes a server-side split rendering module 1914, which includes a decision maker logic 1915, an API command stream buffer 1916, and a resource alias / mapping table 1919. The server-side split rendering module 1914 can be implemented in software within the cloud gaming software stack 1710 and executed by the CPU of the cloud gaming server. In one embodiment, selected software operations of the split rendering module 1914 can be hardware accelerated via the following: a general-purpose computing program executed via a GPU, custom hardware implemented via an FPGA, an ASIC, or firmware executed via a microcontroller.

[0208] A client-side split rendering module 1963 is also provided, which is implemented via client-side cloud gaming software executed by the client device 1740, and the client-side cloud gaming software performs client-side rendering via the GPU 1750 of the client device 1740. The client-side split rendering module 1963 includes a supplemental enhancement information (SEI) payload processor 1965, a resource buffer 1966, and a resource alias / mapping table 1919, which is synchronized with the resource alias / mapping table 1919 on the server side, so that each entry on the client side will have an alias on the server, and each entry on the server side will have an alias on the client. The SEI payload processor 1965 processes the supplemental enhancement information sent with the encoded video frame (such as an H.264 or H.265 / HEVC encoded frame). The SEI payload for the frame includes an API command to be rendered by the client. The SEI payload may also include a rendering stream containing at least a portion of the resources for executing the API command on the client.

[0209] In one embodiment, the game instance 1702 submits a workload (e.g., drawing, dispatching, etc.) to the GPU node 1730 using an API call, and the GPU API interception layer 1912 intercepts the API commands and processes the commands via the decision maker logic 1915 of the split rendering module 1914. The decision maker logic 1915 determines for each workload whether the workload will be rendered on the server side via the GPU node 1730 of the cloud game server instance 1720 or on the client side via the GPU 1750 of the client device 1740. For workloads that will be rendered on the client side, an API command stream to be executed by the client device is generated and stored in the API command stream buffer 1916 and the game resources or assets that will be used to execute the workload defined by the API command stream. The resource alias / mapping table 1919 is maintained in the server-side split rendering module 1914 and the client-side split rendering module 1963 to maintain the mapping between resource handles and resources. The resource alias / mapping table 1919 is used to manage resource updates to keep resource content up to date on both the cloud gaming server instance 1720 and the client device 1740. For resources that will be used for client-side rendering, pseudo handles will be used during server-side rendering. Resources for client-side rendering can be preset on the client by the cloud gaming software, or streamed asynchronously to the client before they are needed. Some resources can also be transmitted synchronously with frames within the resource stream, but are limited by size constraints and available network bandwidth.

[0210] Once the server-rendered frame is ready for encoding, the encoder circuit 1734 may encode the rendered frame at a bit rate that is available at that moment due to network condition metrics. The encoder circuit 1734 may also append an API command stream to the frame in the API command stream buffer 1916 as an SEI payload for the frame. In one embodiment, each API or a group of APIs is mapped to a unique enumeration table to reduce the size of the SEI payload. At the client device 1740, the frame is decoded by the decoding circuit 1752 of the client GPU 1750, the SEI payload is processed via the SEI payload processor 1965, and the indicated API commands defining the client-side workload (e.g., draw / compute calls) are executed by the 3D rendering circuit 1953 of the client GPU 1750 using the client-side resources and resource alias / mapping table 1919. In one embodiment, SEI payload processor 1965 is configured to extract API commands from the SEI payload once the complete payload arrives, and to start rendering the indicated 3D workload via 3D rendering circuitry 1953 concurrently with decoding the frame via decoding circuitry 1752 .

[0211] The output of the 3D rendering operation can then be blended or overlapped with the decoded frame, and the final frame is presented to the display 1760. The final frame may also include a HUD overlay 1955 associated with the GPU 1750 or the cloud gaming client software. In one embodiment, the API command may also indicate the execution of certain post-processing operations 1954, such as filtering or AI-based anti-aliasing and upscaling and / or screen space ray tracing. For example, a frame may be generated and encoded at a lower resolution (e.g., 1080p) and upscaled to a higher resolution (e.g., 1440p, 4K) on the client using upscaling post-processing techniques (e.g., XeSS, fidelity FX super resolution, DLSS). Screen space ray tracing techniques (such as screen space ray tracing global illumination) may also be applied to the frame. In one embodiment, anti-aliasing may be bypassed on the server, and temporal anti-aliasing may be applied on the client. In one embodiment, client-side rendering operations may be performed at a higher target resolution, and overlapped or blended with the decoded frame after the decoded frame from the server is upscaled to the target resolution.

[0212] The specific benefit of network and renderer-aware split rendering is that by removing (e.g., not rendering) HUD or other static UI elements before encoding the frame, the server-side encoding efficiency of the frame for some games may benefit by up to 20%. Unlike the virtual world rendered by the game, which rotates or moves according to the camera movement in the game environment, the text or HUD information is generally static on the screen. Due to the large difference in relative motion between the mobile game environment and the static HUD elements, a relatively large number of bits are used frame by frame to encode these static elements, even if these static elements do not change between frames. Since all blocks around the static content move in coordination according to the camera movement, the prediction mechanism for motion vector encoding will be inefficient. For I frames where internal prediction occurs, since the text or HUD information is overlaid on the game content and there is no similar content around, a larger number of bits will be spent on the residual coefficients. For P frames, although these static contents can refer to previous frames with zero-valued motion vectors, the motion vectors themselves will require more bits to encode.

[0213] Fig. 20 Graph 2000 illustrating peak signal-to-noise ratios of exemplary encoded frames relative to their encoding bitrate. In general, higher quality frames are produced when encoded at the same bitrate if static UI elements are not rendered for frame 2010 relative to when static UI elements are rendered for frame 2020. Alternatively, the same level of quality can be achieved at a lower bitrate. Table 1 below provides a quality analysis of exemplary frames of a cloud-executed game when static HUD elements are included within the encoded frames (with HUD) and when those static HUD elements are excluded from the encoded frames (without HUD). Table 1 - Impact of static HUD elements on frame quality

[0214] The techniques described herein enable cloud gaming providers to stream at higher QPs while preserving quality where it is needed most. For example, mobile users require less than 10 mbps (e.g., QP 30 or higher), so the encoded QP can be dynamically adjusted between QP30 and QP50 for mobile users via client GPU rendering of these elements without affecting the quality of the in-game HUD or selected text, UI, and 3D object details.

[0215] Fig.21 Flowchart 2100 illustrating cloud and server workloads for network and renderer-aware split rendering. The network and renderer-aware split rendering techniques described herein enable the workload for a frame to be split between a server and a client of a cloud gaming service, such as in Fig.19The cloud gaming server instance 1720 and the client device 1740 are split. In one embodiment, on the cloud server of the cloud gaming system, the separation rendering management logic (e.g., decision maker logic 1915) can process the intercepted GPU API calls for the workload of the game instance 1720. The workload can include various GPU operations for performing on behalf of the game instance, which can include multiple drawing and dispatching calls frame by frame. For each GPU workload, the decision maker logic can determine whether the workload is to be rendered on the client (2102). Based on the determination, the workload can be rendered on the cloud gaming server, or the API command for the workload can be transmitted to the client for rendering.

[0216] For GPU workloads to be rendered on a cloud gaming server (2102, No), the decision maker logic may submit the workload to a server GPU (2104). The server GPU may be a GPU or GPU array within a server (e.g., Fig.14 GPU 1430) or a dedicated GPU server (e.g. Fig.15 The server GPU may then render the workload (2106) and generate frame data. The generated frame data may be accumulated on a render target until all server-based rendering of the frame is complete.

[0217] For a GPU workload to be rendered on the client (2102, yes), the decision maker logic may prepare the workload for client execution (2110). The workload may be prepared for client execution by adjusting parameters of the API commands as needed to facilitate split rendering, including applying optimizations to improve client execution efficiency or improve the quality of the resulting final combined frame. The decision maker logic may then generate an optimized command stream (CS) for client execution (2112). The decision maker logic may then generate an optimized resource stream (RS) for the workload (2114). The RS may include identifiers of resources to be transmitted to the client to facilitate execution of the workload or resources preset at the client. The decision maker logic may then update the server-side resource alias / mapping table (2116). The server-side resource / alias mapping table is updated to enable the server to perceive the set of resources to be used by the client. The handles to these resources on the server may be replaced with pseudo handles. The decision maker logic may then encapsulate the optimized command and rendering streams into the SEI payload for the frame (2118). Alternatively, the decision maker logic may send the CS and RS to the client device separately from the decoded frame. The client device may then use the RS to perform the CS after the associated frame is decoded or in parallel with decoding the rendered frame.

[0218] Once the server-executed workload is completed for each frame, the cloud gaming server may encode the server-generated frames (2122). Based on current network conditions and / or end-to-end probe data, the server-generated frames may be encoded into the media encoding format described herein using the currently available encoding bitrate. For example, the encoder may encode the frames based on the hints 1631 provided by the WebRTC engine 1613, such as Fig.16 As shown in . In one embodiment, the frame is encoded into H.264 or H.265 / HEVC format, which includes support for SEI payload. The cloud gaming server can then prepare a buffer for transmission to the client 2120, which includes the encoded media frame and the SEI payload, which includes a command stream and a rendering stream for the client. For example, in an embodiment or configuration in which the client workload is not sent as an SEI payload, the command stream and the rendering stream can be sent synchronously with the decoded frame data when the media coding format used does not include support for supplemental enhancement information. In one embodiment, the command stream and the rendering stream can also be sent asynchronously with their associated frames, where the identifier information is used to enable the client to match the command stream and the rendering stream with their associated frames.

[0219] After receiving the frame at the client, the decoding circuitry at the client can decode the frame (2130). The SEI payload processor at the client can also process the SEI payload received with the frame (2132) and submit the GPU workload to be executed on the client to the client's GPU (2134). Depending on the workload to be executed, at least a portion of the command stream within the SEI payload can be executed concurrently with the main decoding operation of the frame. Any post-processing operations included in the command stream can then be performed on the decoded frame data. The decoded frame from the server and the output of the client-side rendering and / or post-processing operations can be combined, and the final frame can be presented to the client's display (2136). Additional Exemplary Computing Devices

[0220] Fig. 22 2 is a block diagram of a computing device 2200 including a graphics processor 2204 according to an embodiment. Multiple versions of the computing device 2200 may be or may be included in a communication device, such as a set-top box (e.g., an Internet-based cable TV set-top box, etc.), a device based on a global positioning system (GPS), etc. The computing device 2200 may also be or may be included in a mobile computing device, such as a cellular phone, a smart phone, a personal digital assistant (PDA), a tablet computer, a laptop computer, an e-reader, a smart TV, a TV platform, a wearable device (e.g., glasses, watches, necklaces, smart cards, jewelry, clothing, etc.), a media player, etc. For example, in one embodiment, the computing device 2200 includes a mobile computing device that uses an integrated circuit ("IC") (such as a system on a chip ("SoC" or "SOC")) that integrates various hardware and / or software components of the computing device 2200 on a single chip.

[0221] The computing device 2200 includes a graphics processor 2204. The graphics processor 2204 represents any graphics processor described herein. In one embodiment, the graphics processor 2204 includes a cache 2214, which can be a single cache or can be divided into multiple fragments of cache memory, and the cache 2214 includes, but is not limited to, any number of L1 caches, L2 caches, L3 caches, or L4 caches, rendering caches, depth caches, sampler caches, and / or shader unit caches. In one embodiment, the cache 2214 can be a last level cache shared with the application processor 2206. In one embodiment, the computing device 2200 includes CXL logic 2212 to facilitate data sharing and transmission between the application processor 2206 and the graphics processor 2204. The computing device 2200 may also include hardware and software logic 2213 to implement scalable I / O virtualization (S-IOV) or single-root I / O virtualization (SRIOV) to provide a virtual instance of the graphics processor 2204 to a software domain executed by the application processor 2206.

[0222] In one embodiment, the graphics processor 2204 includes a graphics microcontroller that implements control and scheduling logic for the graphics processor. The control and scheduling logic may be firmware executed by the graphics microcontroller 2215. The firmware may be loaded by the graphics driver logic 2222 at boot time. The firmware may also be programmed into an electronically erasable programmable read-only memory, or loaded from a flash memory device within the graphics microcontroller 2215. The firmware may enable a GPU OS 2216 that includes device management logic 2217 and driver logic 2218, as well as a scheduler 2219. The GPU OS 2216 may also include a graphics memory manager 2220 that may supplement or replace the graphics memory manager 2221 within the graphics driver logic 2222.

[0223] The graphics processor 2204 also includes a GPGPU engine 2244, which includes one or more graphics engines, graphics processor cores, and other graphics execution resources as described herein. Such graphics execution resources can be presented in the form of, but not limited to, execution units, shader engines, fragment processors, vertex processors, graphics multiprocessors, streaming multiprocessors, graphics processor clusters, or any collection of computing resources suitable for processing graphics resources or image resources or performing general computing operations in heterogeneous processors (including integrated or discrete graphics or and / or parallel processing elements). The processing resources of the GPGPU engine 2244 may be included in multiple slices of hardware logic connected to the substrate. The GPGPU engine 2244 may include GPU slices 2245, which include graphics processing and execution resources, caches, samplers, etc. The GPU slice 2245 may also include local volatile memory or may be coupled to one or more memory slices.

[0224] The GPGPU engine 2244 may also include one or more special slices 2246, including, for example, a non-volatile memory slice 2256, a network processor slice 2257, and / or a general computing slice 2258. The GPGPU engine 2244 also includes a matrix multiplication accelerator 2260. The general computing slice 2258 may also include logic for accelerating matrix multiplication operations. The non-volatile memory slice 2256 may include a non-volatile memory unit and controller logic. The controller logic of the non-volatile memory slice 2256 may be managed by one of the device management logic 2217 or the driver logic 2218. The network processor slice 2257 may include a network processing resource that is coupled to a physical interface within the input / output (I / O) source 2210 of the computing device 2200. The network processor slice 2257 may be managed by one or more of the device management logic 2217 or the driver logic 2218.

[0225] In one embodiment, the matrix multiplication accelerator 2260 is a modular scalable sparse matrix multiplication accelerator. The matrix multiplication accelerator 2260 may include multiple processing paths, wherein each processing path includes multiple pipeline stages. Each processing path can execute a separate instruction. In various embodiments, the matrix multiplication accelerator 2260 may have any one or more of the architectural features of the matrix multiplication accelerators described herein. For example, in one embodiment, the matrix multiplication accelerator 2260 is a systolic array, which can be configured to operate using multiples of four logical stages (e.g., four, eight, twelve, sixteen, etc.). In one embodiment, the matrix multiplication accelerator 2260 includes one or more instances of a two-path matrix multiplication accelerator with a four-stage pipeline or a four-path matrix multiplication accelerator with a two-stage pipeline. In one embodiment, the matrix multiplication accelerator 2260 includes a processing element configured as a scalable sparse matrix multiplication accelerator. The matrix multiplication accelerator 2260 can be used to accelerate matrix operations performed by another computing library that extends or promotes the acceleration of matrix computing operations via XMX.

[0226] As shown, in one embodiment, in addition to the graphics processor 2204, the computing device 2200 may further include any number and type of hardware components and / or software components, including but not limited to an application processor 2206, a memory 2208, and an input / output (I / O) source 2210. The application processor 2206 may interact with the hardware graphics pipeline to share the graphics pipeline function. The processed data is stored in a buffer in the hardware graphics pipeline, and the state information is stored in the memory 2208. The resulting data may be transmitted to the display controller for output via a display device. The display device may have various types, such as a cathode ray tube (Cathode Ray Tube, CRT), a thin film transistor (Thin Film Transistor, TFT), a liquid crystal display (Liquid Crystal Display, LCD), an organic light emitting diode (Organic Light Emitting Diode, OLED) array, etc., and the display device may be configured to display information to a user via a graphical user interface.

[0227] Application processor 2206 may include, for example, Figure 1The computing device 2204 may be a central processing unit (CPU) for executing an operating system (OS) 2200 of the computing device 2202, at least in part. The OS 2202 may act as an interface between the hardware and / or physical resources of the computing device 2200 and one or more users. The OS 2202 may include driver logic for various hardware devices in the computing device 2200. The driver logic may include graphics driver logic 2222, which may include a user mode graphics driver and / or a kernel mode graphics driver. The graphics driver logic may include a graphics memory manager 2221 for managing a virtual memory address space for the graphics processor 2204. The graphics memory manager 2221 may facilitate a unified virtual address space accessible by the application processor 2206 and the graphics processor 2204.

[0228] It is contemplated that in some embodiments, graphics processor 2204 may exist as part of application processor 2206 (such as as part of a physical CPU package), in which case at least a portion of memory 2208 may be shared by application processor 2206 and graphics processor 2204, but at least a portion of memory 2208 may be exclusive to graphics processor 2204, or graphics processor 2204 may have separate storage of memory. Memory 2208 may also be shared with a discrete version of graphics processor 2204 via CXL logic 2212.

[0229] Memory 2208 may include a pre-allocated area of ​​a buffer (e.g., a frame buffer); however, it should be understood by those of ordinary skill in the art that embodiments are not limited thereto, and any memory accessible by a lower graphics pipeline may be used. Memory 2208 may include various forms of random-access memory (RAM) (e.g., SDRAM, SRAM, etc.) including applications that utilize graphics processor 2204 to render a desktop or 3D graphics scene. The memory controller hub may access data in memory 2208 and forward it to graphics processor 2204 for processing by the graphics pipeline. Memory 2208 may become available to other components within computing device 2200. For example, in an implementation of a software program or application, any data (e.g., input graphics data) received from various I / O sources 2210 of computing device 2200 may be temporarily queued in memory 2208 before being operated by one or more processors (e.g., application processor 2206). Similarly, data that the software program determines should be sent from the computing device 2200 to an external entity through one of the computing system interfaces or should be stored within an internal storage element is typically temporarily queued in the memory 2208 before being transmitted or stored.

[0230] The I / O sources may include devices such as touch screens, touch panels, touchpads, virtual or conventional keyboards, virtual or conventional mice, ports, connectors, network devices, etc., and may be attached via a platform controller hub. Additionally, the I / O sources 2210 may include one or more I / O devices (e.g., network adapters) implemented to transfer data to and / or from the computing device 2200; or one or more I / O devices implemented for large-scale non-volatile storage devices (e.g., SSD / HDD) within the computing device 2200. User input devices including alphanumeric and other keys may be used to transfer information and command selections to the graphics processor 2204. Another type of user input device is a cursor control for transferring direction information and command selections to the GPU and for controlling cursor movement on a display device, such as a mouse, trackball, touch screen, touchpad, or cursor direction keys. The camera and microphone array of the computing device 2200 may be used to observe gestures, record audio and video, and receive and transmit visual commands and audio commands.

[0231] The I / O source 2210 may include one or more network interfaces. The network interface may include associated network processing logic and / or be coupled to a network processor slice 2257. The one or more network interfaces may provide access to the following: a LAN, a wide area network (WAN), a metropolitan area network (MAN), a personal area network (PAN), Bluetooth, a cloud network, a cellular or mobile network (e.g., 3rd Generation (3G), 4th Generation (4G), 5th Generation (5G), etc.), an intranet, the Internet, etc. The (one or more) network interfaces may include, for example, a wireless network interface having one or more antennas. The (one or more) network interfaces may also include, for example, a wired network interface for communicating with a remote device via a network cable, which may be, for example, an Ethernet cable, a coaxial cable, a fiber optic cable, a serial cable, or a parallel cable.

[0232] The network interface(s) may provide access to a LAN, for example, by complying with the IEEE 802.11 standard, and / or the wireless network interface may provide access to a personal area network, for example, by complying with the Bluetooth standard. Other wireless network interfaces and / or protocols may also be supported, including previous and subsequent versions of the standard. In addition to or in lieu of communication via the wireless LAN standard, the network interface(s) may provide wireless communication using, for example, the following protocols: Time Division, Multiple Access (TDMA) protocol, Global Systems for Mobile Communications (GSM) protocol, Code Division, Multiple Access (CDMA) protocol, and / or any other type of wireless communication protocol.

[0233] It should be appreciated that for some implementations, a system with fewer or more configurations than in the examples described above may be preferred. Therefore, depending on a variety of factors, the configuration of the computing device described herein may vary depending on the implementation, such as price constraints, performance requirements, technical improvements, or other situations. Examples include, but are not limited to, mobile devices, personal digital assistants, mobile computing devices, smart phones, cellular phones, mobile phones, one-way pagers, two-way pagers, messaging devices, computers, personal computers (personal computers, PCs), desktop computers, laptop computers, notebook computers, handheld computers, tablet computers, servers, server arrays or server farms, web servers, network servers, Internet servers, workstations, minicomputers, mainframe computers, supercomputers, network devices, web devices, distributed computing systems, multiprocessor systems, processor-based systems, consumer electronics, programmable consumer electronics, televisions, digital televisions, set-top boxes, wireless access points, base stations, subscriber stations, mobile subscriber centers, radio network controllers, routers, hubs, gateways, bridges, switches, machines, or combinations thereof.

[0234] Embodiments may be provided, for example, as a computer program product, which may include one or more machine-readable media having machine-executable instructions stored thereon, which, when executed by one or more machines (such as a computer, a network of computers, or other electronic devices), may cause the one or more machines to perform operations according to the embodiments described herein. Machine-readable media may include, but are not limited to, floppy disks, optical disks, CD-ROMs (compact disk read-only memory) and magneto-optical disks, ROMs, RAMs, EPROMs (erasable programmable read-only memory), EEPROMs (electrically erasable programmable read-only memory), magnetic or optical cards, flash memory, or other types of media / machine-readable media suitable for storing machine-executable instructions.

[0235] In addition, embodiments may be downloaded as a computer program product, wherein the program may be transmitted from a remote computer (e.g., a server) to a requesting computer (e.g., a client) via a communications link (e.g., a modem and / or a network connection) by means of one or more data signals instantiated in and / or modulated by a carrier wave or other propagation medium.

[0236] Throughout this document, the term "user" may be interchangeably referred to as a "viewer," "observer," "person," "individual," "end-user," etc. It should be noted that throughout this document, terms such as "graphics domain" may be interchangeably referred to as a "graphics processing unit," "graphics processor," or simply "GPU," and similarly, "CPU domain" or "host domain" may be interchangeably referred to as a "computer processing unit," "application processor," or simply "CPU."

[0237] It should be noted that throughout this document, terms such as "node", "computing node", "server", "server device", "cloud computer", "cloud server", "cloud server computer", "machine", "host", "device", "computing device", "computer", "computing system", etc. can be used interchangeably. It should be further noted that throughout this document, terms such as "application", "software application", "program", "software program", "package", "software software package", etc. can be used interchangeably. And, throughout this document, terms such as "job", "input", "request", "message", etc. can be used interchangeably.

[0238] It is contemplated that terms such as "request," "query," "job," "work," "work item," and "workload" may be referred to interchangeably throughout this document. Similarly, an "application" or "agent" may refer to or include a computer program, software application, game, workstation application, etc., provided through an application programming interface (API), such as a free rendering API, such as the Open Graphics Library (Open Graphics Library), or the like. ), Open Computing Language, ), 11. 12, etc., where "dispatches" may be interchangeably referred to as "work units" or "renderings," and similarly, "applications" may be interchangeably referred to as "workflows" or simply "agents." For example, a workload such as a three-dimensional (3D) gaming workload may include and emit any number and type of "frames," where each frame may represent an image (e.g., a sailboat, a person's face). Further, each frame may include and provide any number and type of work units, where each work unit may represent a portion (e.g., a mast of a sailboat, a forehead of a person's face) of the image (e.g., a sailboat, a person's face) represented by its corresponding frame. However, for consistency, throughout this document, each item may be referred to by a single term (e.g., "dispatches," "agents," etc.).

[0239] References herein to "one embodiment," "an embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in conjunction with an embodiment, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in conjunction with other embodiments, whether or not explicitly described.

[0240] In the various embodiments described above, unless specifically noted otherwise, separation language such as the phrase "at least one of A, B, or C" is intended to be understood to mean A, B, or C, or any combination thereof (e.g., A, B, and / or C). Thus, separation language is not intended to, and should not be understood to, imply that a given embodiment requires that at least one of A, at least one of B, or at least one of C each be present. Similarly, items listed in the form of "at least one of A, B, or C" may mean (A); (B); (C); (A and B); (B and C); or (A, B, and C).

[0241] In some embodiments, terms such as "display screen" and "display surface" may be used interchangeably to refer to the visible portion of the display device, while the remainder of the display device may be embedded in a computing device such as a smartphone, wearable device, etc. It is contemplated and should be noted that the embodiments are not limited to any particular computing device, software application, hardware component, display device, display screen or surface, protocol, standard, etc. For example, the embodiments may be applied to and used with any number and type of real-time applications on any number and type of computers, such as desktop computers, laptop computers, tablet computers, smartphones, head mounted displays, and other wearable devices, etc. Further, for example, scenes rendered using this novel technique to achieve efficient performance may range from simple scenes such as desktop composition to complex scenes such as 3D games, augmented reality applications, etc.

[0242] Embodiments described herein provide a network and renderer-aware split rendering technique that enables a cloud gaming service to split the execution of a cloud gaming workload between a graphics processor of a cloud gaming server and a graphics processor of a client of the cloud gaming service. The split rendering technique enables portions of a frame that are most susceptible to quality degradation at low bitrates to be rendered on the client, which results in an improvement in the quality of the final frame rendered at the client device.

[0243] One embodiment provides a data processing system, which includes a memory device and one or more processors, the one or more processors being used to execute instructions from the memory device. The instructions cause the one or more processors to: receive a first workload and a second workload from an instance of an application executed by a cloud gaming server, and submit the workload to a graphics processor associated with the cloud gaming server in response to determining that the first workload is to be executed by the cloud gaming server. In response to determining that the second workload is to be executed by a client of the cloud gaming server, the one or more processors may prepare the workload for execution at the client of the cloud gaming server; encode the output generated by the graphics processor for the first workload into encoded media data; generate a command stream to facilitate execution of the second workload at the client of the cloud gaming server; and transmit the encoded media data and command stream to the client of the cloud gaming server.

[0244] One embodiment provides a graphics processor, which includes: a network interface; and a graphics processor cluster coupled to the network interface. The graphics processor cluster includes: a first circuit, the first circuit is used to decode a frame received from a cloud game server via the network interface into first frame data; a second circuit, the second circuit is used to execute a command stream received with the frame to generate second frame data; a third circuit, the third circuit is used to combine the first frame data with the second frame data into a combined frame; and a fourth circuit, the fourth circuit is used to present the combined frame for display.

[0245] One embodiment provides a method comprising: receiving a first workload and a second workload from an instance of an application executed by a cloud gaming server; submitting the workloads to a graphics processor associated with the cloud gaming server in response to determining that the first workload is to be executed by the cloud gaming server; preparing the workloads for execution at a client device in communication with the cloud gaming server in response to determining that the second workload is to be executed by a client device in communication with the cloud gaming server; encoding output generated by the graphics processor for the first workload into encoded media data; generating a command stream to facilitate execution of the second workload at the client device; and transmitting the encoded media data and the command stream to the client device.

[0246] One embodiment provides a non-transitory machine-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations including: decoding a frame received from a cloud gaming server into first frame data; executing a command stream received with the frame to generate second frame data; combining the first frame data with the second frame data into a combined frame; and presenting the combined frame for display. In one embodiment, the operations additionally include decoding a supplemental enhancement information (SEI) payload for the frame, the SEI payload including the command stream.

[0247] The foregoing description and drawings are to be regarded in an illustrative rather than a restrictive sense. It will be appreciated by those skilled in the art that various modifications and changes may be made to the embodiments described herein without departing from the broader spirit and scope of the features as set forth in the appended claims.

Claims

1. A data processing system, comprising: Memory devices; one or more processors configured to execute instructions from the memory device such that the one or more processors are configured to: receiving a first workload and a second workload from an instance of an application executed by a cloud gaming server; submitting the first workload to a graphics processor associated with the cloud gaming server in response to determining that the first workload is to be executed by the cloud gaming server; preparing the second workload for execution at a client device in communication with the cloud gaming server in response to determining that the second workload is to be executed by the client device; encoding output generated by the graphics processor for the first workload into encoded media data; generating a command stream to facilitate execution of the second workload at the client device; as well as The encoded media data and the command stream are transmitted to the client device.

2. The data processing system of claim 1, wherein the one or more processors are additionally configured to: generating a resource flow to facilitate execution of the second workload at the client device; and The resource stream is transmitted to the client device.

3. The data processing system of claim 2, the one or more processors configured to transmit the command stream and the resource stream asynchronously with respect to associated encoded media data.

4. The data processing system of claim 2, wherein the one or more processors are configured to: creating a data buffer for transmission to the client device; adding the command stream, the resource stream, and the encoded media data to the data buffer; The data buffer is transmitted to the client device.

5. The data processing system of claim 4, wherein the one or more processors are configured to: encode the encoded media data into a media coding format having support for a supplemental enhancement information (SEI) payload; and encode the command stream or the resource stream into the SEI payload.

6. A data processing system as described in any one of claims 1-5, wherein the one or more processors are used to: determine that the second workload is to be executed by a client of the cloud gaming server based on a graphics processor application programming interface API command associated with the second workload. 7 . The data processing system of claim 6 , wherein the second workload comprises an API command for drawing text within a frame or drawing a graphical interface element within a frame. 8 . The data processing system of claim 6 , wherein the second workload comprises an API command for drawing a three-dimensional (3D) object within a frame.

9. The data processing system of claim 8, wherein: The 3D object is a 3D billboard object.

10. A graphics processor, comprising: Network interface; as well as A graphics processor cluster coupled to the network interface, the graphics processor cluster comprising: a first circuit, the first circuit being configured to decode a frame received from the cloud gaming server via the network interface into first frame data; a second circuit configured to execute a command stream received with the frame to generate a second frame of data; a third circuit, the third circuit being configured to combine the first frame data and the second frame data into a combined frame; and A fourth circuit is provided for presenting the combined frame for display.

11. The graphics processor of claim 10, wherein: Decoding the frame received from the cloud gaming server includes decoding a supplemental enhancement information (SEI) payload for the frame.

12. The graphics processor of claim 11, the SEI payload comprising the command stream. 13 . The graphics processor of claim 12 , wherein the second circuit is configured to render text or a graphical interface element as the second frame data based on the command stream.

14. The graphics processor of claim 13, the SEI payload comprising a resource stream that facilitates execution of the command stream via the second circuit.

15. The graphics processor of any one of claims 10-14, wherein the second circuit is used to apply a post-processing operation to the first frame data based on the command stream to generate updated first frame data, and the third circuit is used to combine the updated first frame data with the second frame data to generate the combined frame. 16 . The graphics processor of claim 15 , wherein the post-processing operation is to perform an anti-aliasing operation on the first frame data to generate the updated first frame data.

17. The graphics processor of claim 15, the post-processing operation to apply a screen-space ray tracing operation to the first frame data to generate the updated first frame data.

18. The graphics processor of claim 15, said post-processing operation to upscale said first frame data at a first resolution to generate said updated first frame data at a second resolution.

19. The graphics processor of claim 18, the second circuit to generate the second frame data at the second resolution.

20. The graphics processor of claim 19, said third circuit to combine updated first frame data with said second frame data to generate said combined frame at said second resolution.

21. A method comprising: receiving a first workload and a second workload from an instance of an application executed by a cloud gaming server; submitting the first workload to a graphics processor associated with the cloud gaming server in response to determining that the first workload is to be executed by the cloud gaming server; preparing the second workload for execution at a client device in communication with the cloud gaming server in response to determining that the second workload is to be executed by the client device; encoding output generated by the graphics processor for the first workload into encoded media data; generating a command stream to facilitate execution of the second workload at the client device; as well as The encoded media data and the command stream are transmitted to the client device.

22. A non-transitory machine-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform the operations of the method of claim 21.

23. A non-transitory machine-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising: Decode the frame received from the cloud game server into the first frame data; executing a command stream received with the frame to generate a second frame of data; combining the first frame data and the second frame data into a combined frame; as well as The combined frame is presented for display.

24. The non-transitory machine-readable medium of claim 23, the operations comprising decoding a supplemental enhancement information (SEI) payload for the frame, the SEI payload comprising the command stream.