Techniques for modifying and training neural networks

By copying the output in the neural network and executing subsequent layers on multiple computing resources, combined with automatic model parallelism and pipeline parallelism technology, the problem of resource dependency and insufficient memory in deep learning model training is solved and segmentation accuracy is improved. and reasoning speed.

CN113743574BActive Publication Date: 2024-10-29NVIDIA CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110577146.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-26
Publication Date
2024-10-29
Estimated Expiration
2041-05-26

AI Technical Summary

Technical Problem

During the training process of deep learning models, resource dependence problems caused by data set size and model complexity lead to extended training time. Existing parallelism technologies cannot effectively reduce the dependencies between the layers of the neural network, especially in medical images. The analysis encountered problems of insufficient memory and computational inefficiency.

Method used

Reduce dependencies between layers by copying the output of one layer in a neural network and executing subsequent layers on multiple separate computing resources, using automatic model parallelism and pipeline parallelism library design, such as GPipe, and Improve segmentation accuracy and inference speed.

Benefits of technology

It significantly reduces the dependence between the layers of the neural network, improves the segmentation accuracy and inference speed in medical image analysis, is able to handle large deep 3D CNN models, and shows excellent results in medical image analysis tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113743574B_ABST
    Figure CN113743574B_ABST
Patent Text Reader

Abstract

Techniques for modifying and training neural networks are disclosed herein, particularly devices, systems, and techniques for accelerating inference in a neural network by copying the output of one layer of the neural network to another computing resource based on dependencies between layers in the network. In at least one embodiment, a processor including one or more circuits causes two or more subsequent layers of one or more neural networks to execute on a computing resource separate from previous layers of the one or more neural networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] At least one embodiment is directed to processing resources for reducing dependencies in a neural network. For example, at least one embodiment is directed to a processor that enables two or more subsequent layers of a neural network to be executed by separate computing resources using outputs from previous layers. Background Art

[0002] The use of deep learning (DL) and other machine learning models is growing in general, and the size of the datasets used to train them continues to increase, which in turn leads to lengthy and longer training times. As machine learning becomes more complex and models become larger, the datasets used to train these models contain more information, which begins to impact training times given the number of devices that need to be employed. The synchronization and communication overhead necessary to ensure accuracy between the increased number of devices further limits overall training times. Conventional techniques for processing large datasets lead to inefficiencies that become more apparent as datasets become larger and models become more complex. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] Figure 1 A diagram is shown in which different layers of a neural network are executed using different computing resources according to at least one embodiment;

[0004] Figure 2 A diagram is shown in which a neural network is modified to reduce dependencies among layers of the neural network in accordance with at least one embodiment;

[0005] Figure 3 A block diagram illustrating modification of a neural network to reduce dependencies of layers in accordance with at least one embodiment;

[0006] Figure 4 A process for modifying a neural network such that an encoder output is replicated and both the output and the replicated output are provided to a plurality of subsequent layers in accordance with at least one embodiment is shown;

[0007] Figure 5 A process for causing subsequent layers in a modified neural network to execute on separate computing resources is shown in accordance with at least one embodiment;

[0008] Figure 6 A graph showing experimental results from implementing a modified neural network with reduced dependency of layers on a first image in accordance with at least one embodiment;

[0009] Figure 7 A graph showing experimental results from implementing a modified neural network with reduced dependency of layers on a second image in accordance with at least one embodiment;

[0010] Fig. 8A Inference and / or training logic according to at least one embodiment is shown;

[0011] Figure 8B Inference and / or training logic according to at least one embodiment is shown;

[0012] Fig. 9 illustrates the training and deployment of a neural network according to at least one embodiment;

[0013] Fig.10 An example data center system is shown in accordance with at least one embodiment;

[0014] Fig.11A An example of an autonomous vehicle according to at least one embodiment is shown;

[0015] Fig. 11B According to at least one embodiment, Fig.11A Examples of camera positions and fields of view for autonomous vehicles;

[0016] Fig. 11C is an illustration according to at least one embodiment Fig.11A A block diagram of an example system architecture for an autonomous vehicle;

[0017] Fig.11D is a diagram illustrating a method for one or more cloud-based servers and Fig.11A A diagram of a system for communicating between autonomous vehicles;

[0018] Fig.12 is a block diagram illustrating a computer system according to at least one embodiment;

[0019] Fig.13 is a block diagram illustrating a computer system according to at least one embodiment;

[0020] Fig.14 A computer system according to at least one embodiment is shown;

[0021] Fig.15 A computer system according to at least one embodiment is shown;

[0022] Fig.16A A computer system according to at least one embodiment is shown;

[0023] Fig. 16B A computer system according to at least one embodiment is shown;

[0024] Fig. 16C A computer system according to at least one embodiment is shown;

[0025] Fig.16D A computer system according to at least one embodiment is shown;

[0026] Fig.16E and Fig.16F illustrates a shared programming model according to at least one embodiment;

[0027] Fig.17 An exemplary integrated circuit and associated graphics processor are shown in accordance with at least one embodiment;

[0028] Fig.18A and Fig.18B An exemplary integrated circuit and associated graphics processor are shown in accordance with at least one embodiment;

[0029] Fig.19A and Fig.19B Additional exemplary graphics processor logic is shown in accordance with at least one embodiment;

[0030] Fig. 20 A computer system according to at least one embodiment is shown;

[0031] Fig.21A illustrates a parallel processor according to at least one embodiment;

[0032] Fig.21B shows a partition unit according to at least one embodiment;

[0033] Fig. 21C illustrates a processing cluster according to at least one embodiment;

[0034] Fig.21D A graphics multiprocessor is shown in accordance with at least one embodiment;

[0035] Fig. 22 A multi-graphics processing unit (GPU) system is shown in accordance with at least one embodiment;

[0036] Fig.23 A graphics processor according to at least one embodiment is shown;

[0037] Fig.24 is a block diagram illustrating a processor microarchitecture for a processor according to at least one embodiment;

[0038] Fig.25 A deep learning application processor according to at least one embodiment is shown;

[0039] Fig.26 is a block diagram illustrating an example neuromorphic processor in accordance with at least one embodiment;

[0040] Fig. 27illustrates at least a portion of a graphics processor according to one or more embodiments;

[0041] Fig.28 illustrates at least a portion of a graphics processor according to one or more embodiments;

[0042] Fig.29 illustrates at least a portion of a graphics processor according to one or more embodiments;

[0043] Fig.30 is a block diagram of a graphics processing engine of a graphics processor according to at least one embodiment;

[0044] Fig.31 is a block diagram of at least a portion of a graphics processor core according to at least one embodiment;

[0045] Fig.32A and Fig.32B Thread execution logic is shown that includes an array of processing elements of a graphics processor core in accordance with at least one embodiment.

[0046] Fig.33 illustrates a parallel processing unit ("PPU") in accordance with at least one embodiment;

[0047] Fig.34 illustrates a general processing cluster ("GPC") in accordance with at least one embodiment;

[0048] Fig.35 illustrates a memory partitioning unit of a parallel processing unit ("PPU") according to at least one embodiment;

[0049] Fig.36 A streaming multiprocessor is shown according to at least one embodiment;

[0050] Fig.37 is an example data flow diagram of a high-level computing pipeline according to at least one embodiment;

[0051] Fig.38 is a system diagram of an example system for training, adapting, instantiating, and deploying machine learning models in an advanced computing pipeline in accordance with at least one embodiment;

[0052] Fig.39 includes an example illustration of a high-level computational pipeline for processing imaging data according to at least one embodiment;

[0053] Fig.40A An example data flow diagram including a virtual instrument supporting an ultrasound device according to at least one embodiment;

[0054] Fig.40BAn example data flow diagram including a virtual instrument supporting a CT scanner according to at least one embodiment;

[0055] Fig.41A A data flow diagram illustrating a process for training a machine learning model according to at least one embodiment; and

[0056] Fig.41B is an example illustration of a client-server architecture for enhancing an annotation tool using a pre-trained annotation model in accordance with at least one embodiment. DETAILED DESCRIPTION

[0057] In at least one embodiment, the system and method implemented according to the present disclosure are used to generate a neural network to reduce dependencies between layers of the neural network. In at least one embodiment, the neural network is modified so that the output from one layer of the neural network is copied to at least two or more subsequent layers of the neural network. In at least one embodiment, the output from one layer and the copied output are provided to two or more subsequent layers to be executed by separate computing resources. In at least one embodiment, a system implementing the technology described herein distributes the output from the previous layer of the neural network to multiple processors so that the multiple processors execute the subsequent layers of the neural network based at least in part on the output of the previous layer. In at least one embodiment, the separate computing resources refer to separate processors, computer systems, pipelines, multiprocessors, and / or other circuits within or outside the same processor. In at least one embodiment, the previous layer in the neural network refers to the previous, preceding, or prior layer executed before two or more subsequent layers.

[0058] In at least one embodiment, the techniques described herein are applicable so that the neural network is modified to reduce the dependencies between the layers of the neural network. As deep learning models become larger and larger, training these large models becomes challenging because it is difficult to train within the memory limitations of a single graphics processing unit (GPU). There are several ways to train large models on a GPU. For example, model compression, such as mixed precision training, uses fewer bits to represent the network because it helps reduce GPU memory consumption. However, using mixed precision training affects accuracy and is only applicable to fitting slightly larger or medium-sized models to one GPU. In another example, a checkpoint is performed to reduce the memory of intermediate feature maps and gradients during training, thereby reducing memory consumption to O(logn) with O(nlogn) additional time to perform forward calculations in an n-layer network. In addition, the reversible network further reduces memory consumption to O(1) by modifying the network to be reversible, so that the feature map in the back propagation can be recalculated, and the accuracy of the distinguishing model (such as U-Net commonly used for segmentation) may be affected. However, using these techniques is very challenging as they significantly increase training time due to recomputation and are not well suited for discriminative tasks such as segmentation due to the modality-preserving assumption in their design.

[0059] In addition, there are two common parallelisms (data parallelism and model parallelism) that enable large models to fit on GPUs without information loss and recomputation. Data parallelism replicates the model and runs separate batches in multiple devices. However, data parallelism does not reduce the memory footprint of the model on each device, nor does it solve the out-of-memory problem encountered when training large models. Model parallelism divides the model into multiple partitions, naturally dealing with this problem. In addition, advanced model parallelism (such as pipeline parallelism) can execute partitions concurrently across devices for efficient training. However, model parallelism only supports a limited set of operators and models. For example, in medical image analysis, these existing parallelisms do not support the most widely used model U-Net. In the medical field, it is often necessary to be able to process three-dimensional (3D) volume images, and 3D convolutional neural networks (CNNs) inherently consume more memory than their 2D counterparts. Unfortunately, current medical image computing is still limited by the memory size of GPUs.

[0060] Training large models with large inputs is particularly challenging for medical images due to the limited amount of training data. Large inputs increase context, which is essential for understanding images. However, it reduces the variation of the training input and exacerbates the extreme imbalance between background and relatively small objects (e.g., small organs and lesions) that are often present in medical image calculations. Various loss functions have been proposed to alleviate this challenge. For example, for small organ segmentation, a hybrid loss between adaptive weighted loss and dice loss at the class level and focal loss at the voxel level is proposed. The second example is the boundary loss, which is different from previous methods that use unbalanced integrals on regions. It uses integrals on the boundaries (interfaces) between regions, which can be achieved by using integral methods to calculate the cross entropy loss weighted by the level set distance map of boundary changes. Transfer learning by fine-tuning from a pre-trained model is another way to reduce the difficulty of training specially designed medical image models. Based on learning theory (e.g., curriculum learning), the model can be well trained by fitting simple samples / tasks first and then fitting difficult samples / tasks. In at least one embodiment, based on the dependencies between the layers in the network, accelerated reasoning in the neural network is performed by copying the output of one layer from the network to another GPU.

[0061] In at least one embodiment, to improve the processing of large models with large inputs, the techniques described herein are applicable so that automatic model parallelism can be applied and is feasible for training large deep 3D CNNs with large input patches (e.g., entire images). In at least one embodiment, using automatic model parallelism, segmentation accuracy can also be improved by increasing the model size and input context size, and large inputs can significantly increase inference speed compared to sliding windows of small patches in inference.

[0062] In at least one embodiment, a modified U-net (also referred to herein as a "parallel U-Net") is designed based on a pipeline parallelism library (e.g., GPipe) while taking flexibility and efficiency into consideration. In at least one embodiment, the model is sequentially fit with small patches for training in the first stage, followed by medium patches, and then for large inputs. In at least one embodiment, employing large models and input contexts can improve segmentation accuracy. In at least one embodiment, large inputs also significantly reduce inference time by leveraging automated model parallelism.

[0063] In at least one embodiment, a parallel U-Net is designed with sequential modifications based on automatic parallelism by running large models and large inputs in a GPU. In at least one embodiment, the use of a parallel U-net with large models and inputs results in improved segmentation accuracy and significantly reduced inference time. In at least one embodiment, the use of a parallel U-net is beneficial for many medical image analysis tasks, such as large image registration, detection, and neural architecture search.

[0064] Figure 1 Diagram 100 is shown in accordance with at least one embodiment, where different layers of a neural network 106 are executed using different computing resources 108, 110. In at least one embodiment, training data 102 is provided to the neural network 106 via a network 104. In at least one embodiment, the various components of the system 100 communicate with each other and among each other using any of a variety of different network 104 types, including but not limited to a local area network (LAN) and / or a wide area network (WAN) via wired and / or wireless communication protocols. In at least one embodiment, reference is made to the following Fig.38 Different network 104 types are described in more detail. In at least one embodiment, the training data 102 is transferred from a local storage device or a remote storage device ( Figure 1 In at least one embodiment, neural network 106 is executed on a single processor (e.g., a single GPU) or multiple processors (e.g., multiple GPUs). In at least one embodiment, the GPU is a parallel processing unit (PPU). In at least one embodiment, neural network 106 is a single neural network with multiple layers. In at least one embodiment, only the layers are shown for illustration purposes. Figure 1 106; however, the techniques described herein may use more than one neural network, each of which includes one or more layers. In at least one embodiment, the training data 102 includes training images (e.g., medical images). In at least one embodiment, the training data 102 also includes other types of inputs (non-limiting examples include: video, integers, or characters).

[0065] In at least one embodiment, a processor having one or more circuits causes training data 102 to be passed through multiple layers of neural network 106 to train neural network 106. In at least one embodiment, the processor causes training data 102 to be provided to an encoder in one layer (e.g., in a preceding layer) of neural network 106. In at least one embodiment, as Figure 1As shown, GPU A 108 includes a second encoder configured to receive the output from the previous layer. In at least one embodiment, the result from the training data 102 is used by the second encoder in a different layer of the neural network 106 after passing through the encoder in the previous layer. In at least one embodiment, the result from the previous layer is passed to the second encoder of a different layer (e.g., the first subsequent layer) in GPU A 108. In at least one embodiment, the neural network 106 is modified so that a copy of the output from the previous layer is also provided to a different layer (e.g., the second subsequent layer) on a different GPU B 110. In at least one embodiment, the processor causes the output from the previous layer and a copy of the output from the previous layer to be provided to the subsequent layer (e.g., the first and second subsequent layers) at the same time. In at least one embodiment, the output from the previous layer and a copy of the output are provided to the subsequent layer and / or another subsequent layer. In at least one embodiment, the second subsequent layer on GPU B 110 includes a decoder that uses a copy of the output from the previous layer as input.

[0066] In at least one embodiment, the neural network 106 is modified by the processor in such a way that the output from one layer of the neural network 106 executed on a GPU is copied to another GPU based on dependencies between layers in the neural network 106. In at least one embodiment, when both the second and third layers of the neural network 106 use the output from the first layer of the neural network 106, the second and third layers are executed on separate GPUs 108, 110. In at least one embodiment, the first and second layers are executed on GPU A 108, while the third layer is executed on GPU B 110, and the output from the first layer is copied from GPU A 108 to GPU B 110. In at least one embodiment, this allows the second and third layers to be executed simultaneously by different GPUs.

[0067] In at least one embodiment, the deep network includes L layers in sequence. In at least one embodiment, each layer L i By having parameter w i The forward calculation function f i Modeling. In at least one embodiment, given a plurality of partitions K, such as typically a plurality of GPUs, the model is divided into K parts. In at least one embodiment, let the part p k From layer L i To layer L j In at least one embodiment, part p k The parameter is the parameter w i ,w i+1 ,…,w j The forward functions are derived in turn as follows:

[0068]

[0069] In at least one embodiment, according to the chain rule in gradient computation, in existing deep learning packages including open source machine learning libraries, the gradient from F is automatically symbolically differentiated. k Derive the back propagation function B k . In at least one embodiment, in the forward pass, when training using a library containing information for the system to perform synchronous stochastic gradient descent and pipeline parallelism, it first divides the input into mini-batches of size N to M micro-batches. In at least one embodiment, the mini-batches are pipelined through K devices in sequence through model parallelism. In at least one embodiment, this mini-batch splitting has higher device utilization compared to conventional model parallelism. In at least one embodiment, after all mini-batches in the current mini-batch are passed forward, the gradients from all M mini-batches are synchronously accumulated, and backpropagation is applied to update the model parameters. In at least one embodiment, when using synchronous stochastic gradient descent and pipeline parallelization techniques, it reduces the space complexity from O(N×L) to in is the layer size per partition, is the micro batch size.

[0070] In at least one embodiment, a parallel U-Net is designed while using synchronous stochastic gradient descent and pipeline parallelization techniques by the following steps: 1) setting the number of partitions K, which is usually the number of GPUs, 2) setting the number of mini-batches M, which is also set to the number of GPUs for efficiency, and 3) modifying the network to sequential layers. In at least one embodiment, a parallel U-Net is designed while using synchronous stochastic gradient descent and pipeline parallelization techniques.

[0071] In at least one embodiment, a conventional U-Net is first employed, which is divided into three parts: five blocks with sequential inputs e 1 ,e 2 ,…,e 5 The encoder E has four blocks d 5 ,d 4 ,…,d 1 The decoder D, and four skip connections s 1 ,s 2 ,…,s 4 In at least one embodiment, a conventional U-Net is formulated as:

[0072]

[0073] where si is typically a concatenation along the channel dimension. In at least one embodiment, the input to the encoder E is an image, and the decoder block d 5 The input of is the output of the encoder. In at least one embodiment, a softmax function is added after the decoder D for segmentation.

[0074] In at least one embodiment, the intermediate encoder jumps i The dependencies in exist in pipeline-based parallel U-Net. In at least one embodiment, while using synchronous stochastic gradient descent and pipeline parallelization techniques, the model needs to be implemented in a sequential manner. However, in at least one embodiment, each e is used in both the encoder and the decoder. i , i = 1, 2, ..., 4, which affects automatic partitioning while using synchronous stochastic gradient descent and pipeline parallelization techniques. In at least one embodiment, by replicating the output of each encoder e i ={e i,0 ,e i,1}, i = 1, 2, ..., 4 modify the U-Net to remove the dependency. In at least one embodiment, the sequential U-Net is derived as:

[0075]

[0076] In at least one embodiment, the temporary variable e i,1 Dependencies in skip connections are broken, and automatic partitioning for automatic parallelism is facilitated while using synchronous stochastic gradient descent and pipeline parallelization techniques. In at least one embodiment, a sequential U-Net based on its design is adopted to implement a parallel U-Net while using synchronous stochastic gradient descent and pipeline parallelization techniques. In at least one embodiment, the parallel U-Net is also described herein as a modified neural network (e.g., a modified U-Net).

[0077] Figure 2 200 is shown in which a neural network 202 is modified into a modified neural network 204 to reduce dependencies in layers of the neural network, according to at least one embodiment. The neural network 202 includes multiple layers in a parallel block, where multiple layers are dependent on the output of the previous layer. In the neural network 202, the processor causes training data to be input, and when the training data is passed through an encoder (e.g., such as Figure 1 In the neural network 202, each layer including "decoder i" and "encoder i+1" (such as Figure 1 ) all depend on the output (e.g., weights), and all layers also use the same equipment (e.g., Figure 1In at least one embodiment, a processor having one or more circuits causes training data including medical images to be passed to a modified neural network 204 via the network. In at least one embodiment, the neural network is modified 204 by causing two or more subsequent layers that depend on outputs from a previous layer to be executed on separate computing resources (e.g., layers to be executed using two parallel blocks). In at least one embodiment, the processor includes one or more circuits for causing subsequent layers of one or more neural networks to be executed using different computing resources, as long as it is determined that the output from the previous layer is provided to two or more subsequent layers.

[0078] In at least one embodiment, one or more neural networks are modified 204 such that outputs from a first layer of the neural network (used by a second layer and a third layer of the neural network) are provided to the second layer and the third layer to be executed on a separate device (e.g., a GPU). In at least one embodiment, in the modified neural network 204, the first layer (e.g., Figure 1 The "encoder i" shown in the figure) and the second layer (" Figure 1 The encoder i+1” shown in Figure 1 is executed on the first GPU, while the third layer (as shown in Figure 2) is executed on the first GPU. Figure 1 In at least one embodiment, the processor causes the second layer and the third layer to be executed simultaneously. In at least one embodiment, the first layer is executed by a different GPU, and the processor then provides the results to both the first GPU and the second GPU. In at least one embodiment, the modified neural network 204 causes subsequent layers in one or more neural networks to be executed by different computing resources (in two parallel blocks) in an effort to reduce dependencies between layers. In at least one embodiment, different computing resources refer to separate processors, computer systems, pipelines, multiprocessors, and / or other circuits within or outside the same processor.

[0079] Figure 3 A block diagram 300 of modifying a neural network to reduce dependencies of layers according to at least one embodiment is shown. In at least one embodiment, diagram 300 shows the GPU time used to process training data at a block level. In at least one embodiment, the neural network is modified to reduce dependencies, and the results are shown at a block level in 304. In at least one embodiment and as described above with reference to Figure 1-2As described, a processor including one or more circuits enables one or more neural networks to be modified to accelerate inference by reducing dependencies attributed to using a sequential U-net with pipeline parallelism. In at least one embodiment, one or more neural networks are modified by executing two or more subsequent layers from the one or more neural networks using different computing resources, as long as the output from the previous layer is provided to the two or more subsequent layers. In at least one embodiment, for t GPU times, the baseline block is illustrated as (time, block, batch, GPUid). In at least one embodiment, if t>>3, almost t / 2 batches are processed in t GPU times, as shown in 302. In at least one embodiment, if the neural network using pipeline parallelism is modified, if t>>3, almost t batches are processed in t GPU times, as shown in 304. In at least one embodiment, more batches can be processed using the modified neural network with reduced dependencies, as described herein. In at least one embodiment, even if the GPU execution time is 4 / 3 of the baseline due to the smaller number of blocks, 3 / 4*t batches will be run (assuming there are K devices, K / (k+1)>1 / 2).

[0080] Figure 4A process 400 for modifying a neural network so that the output of an encoder is replicated and both the output and the replicated output are provided to a plurality of subsequent layers is shown according to at least one embodiment. In at least one embodiment, a processor including one or more circuits causes one or more neural networks to be modified 402 to accelerate inference by reducing dependencies between layers due to the use of a sequential U-net with pipeline parallelism. In at least one embodiment, the processor causes training data to be passed to a layer of the modified neural network. In at least one embodiment, the layer includes an encoder to be executed by a first GPU. In at least one embodiment, the layer including the encoder is referred to as a preceding layer. In at least one embodiment, the output from the encoder in the preceding layer is generated using a first GPU. In at least one embodiment, the processor causes the output from the layer to be passed to a subsequent layer (e.g., a first subsequent layer) 406. In at least one embodiment, the subsequent layer includes a second encoder to be executed on the first GPU. In at least one embodiment, the subsequent layer including the second encoder is executed by a different GPU. In at least one embodiment, the processor determines whether the output from the preceding layer is provided to at least two or more subsequent layers executed by separate computing resources before generating a copy of the output. In at least one embodiment, the processor provides the duplicated output to another subsequent layer (e.g., a second subsequent layer) on a different GPU (e.g., a second GPU) 408. In at least one embodiment, the second subsequent layer includes a decoder to be executed by the second GPU. In at least one embodiment, the processor causes the output from the previous layer and the duplicated output to be provided to two subsequent layers simultaneously, so that the two subsequent layers are executed simultaneously by different GPUs. In at least one embodiment, one or more neural networks are modified in a manner that reduces dependencies in the network, and the one or more neural networks are further trained using pipeline parallelism with input (e.g., medical images) 410 provided by a user or a different imaging device. In at least one embodiment, additional subsequent layers also receive duplicated outputs from the previous layer. In at least one embodiment, the processor causes additional copies of the output from the previous layer to be provided to additional subsequent layers to be executed on the same or different GPUs.

[0081] Figure 5A process 500 is shown according to at least one embodiment, wherein a processor including one or more circuits causes subsequent layers in a neural network to be executed on separate computing resources. In at least one embodiment, the processor including one or more circuits causes one or more neural networks to be modified. In at least one embodiment, the processor using the modified one or more neural networks causes an increase during inference because it reduces dependencies attributed to using a sequential U-net with pipeline parallelism. In at least one embodiment, the processor with one or more circuits causes one or more neural networks to be modified by causing two or more subsequent layers of the one or more neural networks to be executed on separate computing resources 502. In at least one embodiment, the processor causes training data to be passed to the layers of the modified one or more neural networks. In at least one embodiment, the layers include an encoder to be executed by a first GPU. In at least one embodiment, the layers are referred to as preceding layers, previous layers, or preceding layers.

[0082] In at least one embodiment, the modified one or more neural networks include additional layers (e.g., subsequent layers) that depend on the output from the previous layer. In at least one embodiment, the processor causes the use of the first GPU to generate the output from the encoder in the previous layer. In at least one embodiment, the processor having one or more circuits determines whether to pass the same output from the layer to at least two or more subsequent layers 504. In at least one embodiment, the first subsequent layer includes a second encoder, which will be executed on the first GPU or other GPUs. In at least one embodiment, the processor generates a copy of the output from the previous layer. In at least one embodiment, the processor then provides the duplicated output to another subsequent layer (e.g., a second subsequent layer) on a different GPU (e.g., a second GPU). In at least one embodiment, the second subsequent layer includes a decoder to be executed by the second GPU. In at least one embodiment, the processor then provides the output from the previous layer and the duplicated output to two subsequent layers 506. In at least one embodiment, the processor provides the output from the previous layer and the duplicated output to two subsequent layers simultaneously or nearly simultaneously. In at least one embodiment, after the processor modifies the one or more neural networks so that the outputs are copied and provided to subsequent layers to be executed by different computing resources, the processor causes the modified one or more neural networks to be applied for training using pipeline parallelism with inputs (e.g., medical images) provided by a user or client operating a different imaging device 508. In at least one embodiment, there may be more than two subsequent layers, and the processor causes additional copies of the outputs from the preceding layers to be provided to additional subsequent layers to be executed on the same or different GPUs.

[0083] Figure 6A graph showing experimental results from implementing a modified neural network with reduced dependencies of layers in accordance with at least one embodiment. In at least one embodiment, Figure 6 (as well as Figure 7 ), the segmentation accuracy (Dice coefficient, %) and inference time between 3D U-Net and 3D Squeeze and Excitation U-Net (SEU-Net) of different sizes (number of filters in the first convolutional layer: 32, 64, 128) and different input sizes (64×64×64, 128×128×128, the whole image or 192×192×192) for automatic segmentation of nine organs on the head and neck (herein referred to as "HaN") are compared. In at least one embodiment, the results show that large models and inputs consistently produce better segmentation accuracy, and large inputs significantly reduce inference time.

[0084] In at least one embodiment, Figure 6 (as well as Figure 7 ) indicates the impact of model size and input size in medical image analysis. In at least one embodiment, 3DU-Net and other advanced U-Nets, 3D SEU-Net in AnatomyNet are selected for verification in large image segmentation tasks (e.g., HaN multi-organ segmentation). In at least one embodiment, while considering flexibility and efficiency, the model first installs small patches in sequence, then trains in the first stage, then installs medium patches, and finally large inputs. In at least one embodiment, the use of large models and input contexts can improve segmentation accuracy, and large inputs can also be improved by utilizing Figure 6 (as well as Figure 7 ) to significantly reduce inference time.

[0085] Learning Large Models . In at least one embodiment, by using the techniques described herein (e.g., parallel U-Net), a positive impact of model size and input context size is produced. In at least one embodiment, inspired by learning theory (e.g., curriculum learning), simple data / tasks are first fitted to the network, and then the network is allowed to solve the difficult tasks that are subsequently performed. In at least one embodiment, learning from smaller patches is easier because smaller patches are sampled with smaller imbalances, and the lower dimensions of smaller patches consist of less structure to learn structured tasks (e.g., image segmentation). In at least one embodiment, sampling of small positive patches (of size 64×64×64) is first performed to train the model in the initial stage. In at least one embodiment, in the second stage, sampling of medium positive patches (of size 128×128×128) is performed to train the model. In at least one embodiment, the largest patch is used to train the model.

[0086] experiment . In at least one embodiment, a processor having one or more circuits causes a neural network to be modified such that outputs from a preceding layer will be provided to at least two or more subsequent layers executed by different computing resources. In at least one embodiment, the modified neural network receives two datasets as input to determine the impact of a large model and a large input context for segmentation (e.g., HaN and Decathlon liver datasets). In at least one embodiment, the HaN dataset consists of whole body computed tomography (CT) images with artificially generated binary masks of nine anatomical structures (e.g., brainstem (BS), orthodontia (CH), mandible (MD), left optic nerve (OL), optic nerve right (OR), left parotid gland (PL), right parotid gland (PR), left submandibular gland (SL), and right submandibular gland (SR)). In at least one embodiment, three public datasets were used: 1) MICCAI HaN automatic segmentation challenge 2015; 2) head and neck cetuximab collection from The Cancer Imaging Archive (TCIA); 3) CT images from four different public institutions (also from TCIA). In at least one embodiment, the dataset is used directly for fair comparison with a baseline method.

[0087] In at least one embodiment, the dataset consists of 261 training images lacking annotations and ten test samples consisting of all annotations for nine organs. In at least one embodiment, the maximum image size is 352×256×288. In at least one embodiment, a data augmentation technique is used.

[0088] In at least one embodiment, the other dataset is a 3D liver and tumor segmentation CT dataset from the Medical Segmentation Decathlon. In at least one embodiment, the processor causes the dataset to be randomly divided into 104 training images and 27 test images. In at least one embodiment, the CT images are resampled to 1×1×1 mm 3 In at least one embodiment, in an effort to focus on the liver region, the processor causes the voxel values ​​to be limited to the range [-21, 89] and linearly transforms each 3D image to the range [0, 1]. In at least one embodiment, during training, the processor performs 90 degree flips and rotations in XY space with a probability of 0.1. In at least one embodiment, uniform random noise [-0.2, 0.2] is added to enhance the training data. In at least one embodiment, the maximum image size is 512×512×704.

[0089] In at least one embodiment, during training, for the maximum input, a batch size of 1 and a gradient descent optimization algorithm (e.g., RMSProp optimizer) with 300 epochs and 1×10-3 In at least one embodiment, to train a neural network with a patch size of 128×128×128, the processor uses a batch size of four and 1200 epochs. In at least one embodiment, to train a neural network with a patch size of 64×64×64, the processor uses a batch size of 16 and 4800 epochs. In at least one embodiment, for U-Net 32 ​​and SEU-Net 32, the number of filters in each convolution of the first encoder block is 32. In at least one embodiment, the processor performs an increase in the number of filters to 64 and 128 to study the impact of increasing the model size. In at least one embodiment, in the encoder of each model, the number of filters is doubled and the encoder blocks are increased accordingly. In at least one embodiment, the decoder is symmetrical with the encoder.

[0090] In at least one embodiment, two networks: 3D U-Net and 3D SEU-Net are used to investigate the impact of the model size and input context size in Tables 1 and 2 on the HaN dataset as follows:

[0091] Table 1: Dice coefficients (%) obtained on the HaN test set using different U-Net sizes and inputs.

[0092]

[0093] Table 2: Dice coefficients (%) obtained on the HaN test set using different SEU-Net sizes and inputs

[0094]

[0095]

[0096] In at least one embodiment, the segmentation accuracy improves for both U-Net and SEU-Net as the model size and input size increase. In at least one embodiment, SEU-Net 128 with the entire image as input achieves better performance than AnatomyNet, which searches for different network structures. In at least one embodiment, the improved accuracy is due to the large context and learning power generated by the large input and model, respectively. In at least one embodiment, the impact of large input on inference time is determined by averaging three rounds of inference and is shown in Table 3 below.

[0097] Table 3: Average inference time per test image obtained on the HaN test set using different network sizes and inputs.

[0098]

[0099]

[0100] In at least one embodiment, using large inputs in reasoning significantly reduces reasoning time because it reduces the number of reasoning rounds. In at least one embodiment, as shown in the following table, the results of the liver and tumor segmentation tasks confirm that large inputs increase segmentation accuracy and reduce reasoning time, as shown in Tables 4 and 5.

[0101] Table 4: Dice coefficients (%) obtained on the Decathlon liver segmentation test set using different input sizes and U-Nets and SEU-Nets.

[0102]

[0103]

[0104] Table 5: Average inference time (s) per test image obtained on the Decathlon liver segmentation test set using different network sizes and inputs.

[0105]

[0106] Figure 7 A graph showing experimental results from implementing a modified neural network with reduced dependency of each layer on a second image according to at least one embodiment. In at least one embodiment, Figure 7 The results shown in Figure 2 indicate that by using Figure 6 The modified neural network is shown to compare on the Decathlon liver and tumor segmentation dataset (with reference Figure 6 Performance results of segmentation accuracy (Dice coefficient, %) and inference time between 3D U-Net and 3D SEU-Net for different sizes (number of filters in the first convolutional layer: 32, 64, 128) and different input sizes (64×64×64, 128×128×128, the whole image, or 192×192×192) of the HaN dataset (in contrast).

[0107] Reasoning and training logic

[0108] Fig. 8A Inference and / or training logic 815 is shown for performing reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provide details about the inference and / or training logic 815.

[0109] In at least one embodiment, the inference and / or training logic 815 may include, but is not limited to, code and / or data storage 801 for storing forward and / or output weights and / or input / output data, and / or other parameters for configuring neurons or layers of a neural network trained and / or used for inference in aspects of one or more embodiments. In at least one embodiment, the training logic 815 may include or be coupled to code and / or data storage 801 for storing graph code or other software to control timing and / or sequence, where weights and / or other parameter information is loaded to configure logic, including integer and / or floating point units (collectively referred to as arithmetic logic units (ALUs)). In at least one embodiment, the code (such as graph code) loads weights or other parameter information into a processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, the code and / or data storage 801 stores input / output data during training and / or inference using aspects of one or more embodiments and / or weight parameters during forward propagation of each layer of a neural network trained or used in conjunction with one or more embodiments. In at least one embodiment, any portion of code and / or data storage 801 may be included within other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.

[0110] In at least one embodiment, any portion of code and / or data storage 801 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, code and / or data storage 801 may be cache memory, dynamic random addressable memory ("DRAM"), static random addressable memory ("SRAM"), non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the choice of whether code and / or data storage 801 is internal or external to a processor, for example, or consists of DRAM, SRAM, flash memory, or some other storage type, may depend on the available storage space on-chip or off-chip for storage, the latency requirements of the training and / or inference functions being performed, the batch size of the data used in inference and / or training of the neural network, or some combination of these factors.

[0111] In at least one embodiment, the inference and / or training logic 815 may include, but is not limited to, code and / or data storage 805 to store backpropagation and / or output weights and / or input / output data corresponding to neurons or layers of a neural network trained and / or used for inference in aspects of one or more embodiments. In at least one embodiment, during training and / or inference using aspects of one or more embodiments, the code and / or data storage 805 stores weight parameters and / or input / output data for each layer of a neural network trained or used in conjunction with one or more embodiments during backpropagation of input / output data and / or weight parameters. In at least one embodiment, the training logic 815 may include or be coupled to code and / or data storage 805 for storing graph code or other software to control timing and / or order in which weights and / or other parameter information is loaded to configure logic including integer and / or floating point units (collectively referred to as arithmetic logic units (ALUs)).

[0112] In at least one embodiment, the code (such as graph code) causes weights or other parameter information to be loaded into the processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, any portion of the code and / or data storage 805 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. In at least one embodiment, any portion of the code and / or data storage 805 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the code and / or data storage 805 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the choice of whether the code and / or data storage 805 is internal or external to the processor, for example, whether it is composed of DRAM, SRAM, flash memory, or some other storage type, depends on whether the available storage is on-chip or off-chip, the latency requirements of the training and / or inference functions being performed, the batch size of data used in the inference and / or training of the neural network, or some combination of these factors.

[0113] In at least one embodiment, code and / or data storage 801 and code and / or data storage 805 may be separate storage structures. In at least one embodiment, code and / or data storage 801 and code and / or data storage 805 may be the same storage structure. In at least one embodiment, code and / or data storage 801 and code and / or data storage 805 may be partially combined and partially separated. In at least one embodiment, any portion of code and / or data storage 801 and code and / or data storage 805 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory.

[0114] In at least one embodiment, the inference and / or training logic 815 may include, but is not limited to, one or more arithmetic logic units (“ALUs”) 810 (including integer and / or floating point units) for performing logical and / or mathematical operations based at least in part on or as directed by training and / or inference code (e.g., graph code), the results of which may produce activations (e.g., output values ​​from a layer or neuron within a neural network) stored in activation storage 820, which is a function of input / output and / or weight parameter data stored in code and / or data storage 801 and / or code and / or data storage 805. In at least one embodiment, activations are performed in response to executing instructions or other code, linear algebra and / or matrix-based mathematics performed by ALU 810 to generate activations stored in activation storage 820, wherein weight values ​​stored in code and / or data storage 805 and / or in code and / or data storage 801 are used as operands with other values, such as bias values, gradient information, momentum values, or other parameters or hyperparameters, any or all of which may be stored in code and / or data storage 805 or code and / or data storage 801 or other on-chip or off-chip storage.

[0115] In at least one embodiment, one or more ALUs 810 are included in one or more processors or other hardware logic devices or circuits, while in another embodiment, one or more ALUs 810 may be outside a processor or other hardware logic device or circuit that uses them (e.g., a coprocessor). In at least one embodiment, one or more ALUs 810 may be included within an execution unit of a processor, or otherwise included in a group of ALUs accessible by an execution unit of a processor, which may be within the same processor or distributed between different processors of different types (e.g., a central processing unit, a graphics processing unit, a fixed function unit, etc.). In at least one embodiment, code and / or data storage 801, code and / or data storage 805, and activation storage 820 may share a processor or other hardware logic device or circuit, while in another embodiment, they may be in different processors or other hardware logic devices or circuits or some combination of the same and different processors or other hardware logic devices or circuits. In at least one embodiment, any portion of activation storage 820 may be included with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. Additionally, inference and / or training code may be stored with other code accessible to a processor or other hardware logic or circuitry and may be retrieved and / or processed using the processor's fetch, decode, schedule, execute, exit, and / or other logic circuitry.

[0116] In at least one embodiment, activation storage 820 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, activation storage 820 may be completely or partially internal or external to one or more processors or other logic circuits. In at least one embodiment, activation storage 820 may be selected to be internal or external to a processor, for example, or to include DRAM, SRAM, flash memory, or other storage types, depending on the storage available on or off chip, the latency requirements for performing training and / or inference functions, the batch size of data used in inferring and / or training neural networks, or some combination of these factors.

[0117] In at least one embodiment, Fig. 8A The inference and / or training logic 815 shown in FIG. 8 may be used in conjunction with an application specific integrated circuit (“ASIC”), such as the ASIC from Google. Processing unit from Graphcore TM Inference Processing Unit (IPU) from Intel Corp (e.g., "Lake Crest") processor. In at least one embodiment, Fig. 8AThe illustrated inference and / or training logic 815 may be used in conjunction with central processing unit (“CPU”) hardware, graphics processing unit (“GPU”) hardware, or other hardware such as a field programmable gate array (“FPGA”).

[0118] Figure 8B Inference and / or training logic 815 is shown in accordance with at least one embodiment. In at least one embodiment, the reasoning and / or training logic 815 may include, but is not limited to, hardware logic in which computing resources are dedicated or otherwise uniquely used in conjunction with weight values ​​or other information corresponding to one or more layers of neurons within a neural network. In at least one embodiment, Figure 8B The inference and / or training logic 815 shown in FIG. 8 can be used in conjunction with an application specific integrated circuit (ASIC), such as the ASIC from Google. Processing unit from Graphcore TM Inference Processing Unit (IPU) from Intel Corp (e.g., "Lake Crest") processor. In at least one embodiment, Figure 8B The inference and / or training logic 815 shown in can be used in conjunction with central processing unit (CPU) hardware, graphics processing unit (GPU) hardware, or other hardware (e.g., field programmable gate array (FPGA)). In at least one embodiment, the inference and / or training logic 815 includes, but is not limited to, code and / or data storage 801 and code and / or data storage 805, which can be used to store code (e.g., graph code), weight values, and / or other information, including bias values, gradient information, momentum values, and / or other parameter or hyperparameter information. Figure 8B In at least one embodiment shown in , each of code and / or data storage 801 and code and / or data storage 805 is associated with a dedicated computing resource (e.g., computing hardware 802 and computing hardware 806), respectively. In at least one embodiment, each of computing hardware 802 and computing hardware 806 includes one or more ALUs that perform mathematical functions (e.g., linear algebraic functions) solely on the information stored in code and / or data storage 801 and code and / or data storage 805, respectively, and the results of performing the functions are stored in activation storage 820.

[0119] In at least one embodiment, each of the code and / or data stores 801 and 805 and the corresponding computing hardware 802 and 806 corresponds to a different layer of the neural network, such that activations from one "storage / compute pair 801 / 802" of the code and / or data store 801 and computing hardware 802 are provided as inputs to the next "storage / compute pair 805 / 806" of the code and / or data store 805 and computing hardware 806, so as to reflect the conceptual organization of the neural network. In at least one embodiment, each storage / compute pair 801 / 802 and 805 / 806 can correspond to more than one neural network layer. In at least one embodiment, additional storage / compute pairs (not shown) can be included in the inference and / or training logic 815 after or in parallel with the storage / compute pairs 801 / 802 and 805 / 806.

[0120] Neural network training and deployment

[0121] Fig. 9 The training and deployment of a deep neural network according to at least one embodiment is shown. In at least one embodiment, an untrained neural network 906 is trained using a training data set 902. In at least one embodiment, the training framework 904 is a PyTorch framework, while in other embodiments, the training framework 904 is TensorFlow, Boost, Caffe, Microsoft Cognitive Toolkit / CNTK, MXNet, Chainer, Keras, Deeplearning4j, or other training frameworks. In at least one embodiment, the training framework 904 trains an untrained neural network 906 and enables it to be trained using the processing resources described herein to generate a trained neural network 908. In at least one embodiment, weights may be randomly selected or pre-trained using a deep belief network. In at least one embodiment, training may be performed in a supervised, partially supervised, or unsupervised manner.

[0122] In at least one embodiment, untrained neural network 906 is trained using supervised learning, where training data set 902 includes inputs paired with expected outputs for the inputs, or where training data set 902 includes inputs with known outputs and outputs for which neural network 906 is manually graded. In at least one embodiment, untrained neural network 906 is trained in a supervised manner, and inputs from training data set 902 are processed and the resulting outputs are compared to a set of expected or desired outputs. In at least one embodiment, the error is then propagated back through untrained neural network 906. In at least one embodiment, training framework 904 adjusts the weights that control untrained neural network 906. In at least one embodiment, training framework 904 includes tools for monitoring the degree to which untrained neural network 906 converges to a model (e.g., trained neural network 908), a model suitable for generating a correct answer (e.g., result 914) based on input data (e.g., new data set 912). In at least one embodiment, training framework 904 repeatedly trains untrained neural network 906 while adjusting weights to improve the output of untrained neural network 906 using a loss function and an adjustment algorithm (e.g., stochastic gradient descent). In at least one embodiment, the training framework 904 trains the untrained neural network 906 until the untrained neural network 906 reaches the desired accuracy. In at least one embodiment, the trained neural network 908 can then be deployed to implement any number of machine learning operations.

[0123] In at least one embodiment, untrained neural network 906 is trained using unsupervised learning, where untrained neural network 906 attempts to train itself using unlabeled data. In at least one embodiment, unsupervised learning training data set 902 will include input data without any associated output data or "ground truth" data. In at least one embodiment, untrained neural network 906 can learn groupings within training data set 902 and can determine how individual inputs are related to untrained data set 902. In at least one embodiment, unsupervised training can be used to generate a self-organizing map in trained neural network 908, which is capable of performing operations useful for reducing the dimensionality of new data set 912. In at least one embodiment, unsupervised training can also be used to perform anomaly detection, which allows identification of data points in new data set 912 that deviate from the normal pattern of new data set 912.

[0124] In at least one embodiment, semi-supervised learning can be used, which is a technique in which a mixture of labeled and unlabeled data is included in the training data set 902. In at least one embodiment, the training framework 904 can be used to perform incremental learning, such as through a transfer learning technique. In at least one embodiment, incremental learning enables the trained neural network 908 to adapt to the new data set 912 without forgetting the knowledge that was infused into the trained neural network 908 during the initial training.

[0125] Data Center

[0126] Fig.10 An example data center 1000 is shown in which at least one embodiment may be used. In at least one embodiment, data center 1000 includes a data center infrastructure layer 1010, a framework layer 1020, a software layer 1030, and an application layer 1040.

[0127] In at least one embodiment, Fig.10 As shown, the data center infrastructure layer 1010 may include a resource coordinator 1010, group computing resources 1014, and node computing resources ("node CRs") 1016(1)-1016(N), where "N" represents a positive integer (which may be an integer "N" different from the integers used in other figures). In at least one embodiment, the node CRs 1016(1)-1016(N) may include, but are not limited to, any number of central processing units ("CPUs") or other processors (including accelerators, field programmable gate arrays (FPGAs), graphics processors, etc.), memory storage devices 1018(1)-1018(N) (e.g., dynamic read-only memories, solid-state drives, or disk drives), network input / output ("NW I / O") devices, network switches, virtual machines ("VMs"), power modules and cooling modules, etc. In at least one embodiment, one or more of the node CRs 1016(1)-1016(N) may be a server having one or more of the above computing resources.

[0128] In at least one embodiment, the grouped computing resources 1014 may include separate groups of node CRs housed in one or more racks (not shown), or many racks (also not shown) housed in data centers at various geographic locations. In at least one embodiment, separate groups of node CRs within the grouped computing resources 1014 may include computing, networks, memory, or storage resources that can be configured or allocated to support groupings of one or more workloads. In at least one embodiment, several node CRs including a CPU or processor may be grouped in one or more racks to provide computing resources to support one or more workloads. In at least one embodiment, one or more racks may also include any number of power modules, cooling modules, and network switches in any combination.

[0129] In at least one embodiment, resource coordinator 1010 may configure or otherwise control one or more nodes CR 1016(1)-1016(N) and / or grouped computing resources 1014. In at least one embodiment, resource coordinator 1010 may include a software design infrastructure ("SDI") management entity for data center 1000. In at least one embodiment, resource coordinator 1010 may include hardware, software, or some combination thereof.

[0130] In at least one embodiment, Fig.10 As shown, the framework layer 1020 includes a job scheduler 1022, a configuration manager 1024, a resource manager 1026, and a distributed file system 1028. In at least one embodiment, the framework layer 1020 may include a framework that supports software 1032 of the software layer 1030 and / or one or more applications 1042 of the application layer 1040. In at least one embodiment, the software 1032 or the application 1042 may include web-based service software or applications, such as those provided by Amazon Web Services, Google Cloud, and Microsoft Azure. In at least one embodiment, the framework layer 1020 may be, but is not limited to, a free and open source software web application framework, such as Apache Spark, which may utilize the distributed file system 1028 for large-scale data processing (e.g., "big data"). TM(hereinafter referred to as "Spark"). In at least one embodiment, the job scheduler 1032 may include a Spark driver to facilitate scheduling of workloads supported by various layers of the data center 1000. In at least one embodiment, the configuration manager 1024 may be able to configure different layers, such as the software layer 1030 and the framework layer 1020 including Spark and a distributed file system 1028 for supporting large-scale data processing. In at least one embodiment, the resource manager 1026 can manage cluster or group computing resources mapped to or allocated to support the distributed file system 1028 and the job scheduler 1022. In at least one embodiment, the cluster or group computing resources may include group computing resources 1014 on the data center infrastructure layer 1010. In at least one embodiment, the resource manager 1026 can coordinate with the resource coordinator 1012 to manage these mapped or allocated computing resources.

[0131] In at least one embodiment, software 1032 included in software layer 1030 may include software used by at least a portion of node CRs 1016(1)-1016(N), grouped computing resources 1014, and / or distributed file system 1028 of framework layer 1020. In at least one embodiment, one or more types of software may include, but are not limited to, Internet web page search software, email virus scanning software, database software, and streaming video content software.

[0132] In at least one embodiment, one or more applications 1042 included in application layer 1040 may include one or more types of applications used by at least a portion of node CRs 1016(1)-1016(N), grouped computing resources 1014, and / or distributed file system 1028 of framework layer 1020. In at least one embodiment, the one or more types of applications may include, but are not limited to, any number of genomics applications, cognitive computing, applications, and machine learning applications, including training or inference software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), or other machine learning applications used in conjunction with one or more embodiments.

[0133] In at least one embodiment, any of the configuration manager 1024, resource manager 1026, and resource coordinator 1012 can implement any number and type of self-modification actions based on any number and type of data acquired in any technically feasible manner. In at least one embodiment, the self-modification actions can relieve a data center operator of the data center 1000 from making potentially bad configuration decisions and can avoid underutilized and / or poorly performing portions of the data center.

[0134] In at least one embodiment, data center 1000 may include tools, services, software, or other resources to train one or more machine learning models or use one or more machine learning models to predict or infer information according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model may be trained by calculating weight parameters according to a neural network architecture using the software and computing resources described above with respect to data center 1000. In at least one embodiment, by using weight parameters calculated by one or more training techniques described herein, information may be inferred or predicted using trained machine learning models corresponding to one or more neural networks using the resources described above with respect to data center 1000.

[0135] In at least one embodiment, the data center can use a CPU, an application-specific integrated circuit (ASIC), a GPU, an FPGA, or other hardware to use the above resources to perform training and / or reasoning. In addition, one or more of the above software and / or hardware resources can be configured as a service to allow users to train or perform information reasoning, such as image recognition, speech recognition, or other artificial intelligence services.

[0136] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig.10 for use in inference or prediction operations based at least in part on weight parameter inferences or predictions computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0137] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0138] Autonomous Vehicles

[0139] Fig.11AAn example of an autonomous vehicle 1100 is shown in accordance with at least one embodiment. In at least one embodiment, the autonomous vehicle 1100 (alternatively referred to herein as "vehicle 1100") may be, but is not limited to, a passenger vehicle, such as a car, truck, bus, and / or another type of vehicle that may accommodate one or more passengers. In at least one embodiment, the vehicle 1100 may be a semi-tractor-trailer for hauling cargo. In at least one embodiment, the vehicle 1100 may be an aircraft, a robotic vehicle, or another type of vehicle.

[0140] An autonomous vehicle may be described according to the automation levels defined by the National Highway Traffic Safety Administration (“NHTSA”) of the U.S. Department of Transportation and the Society of Automotive Engineers (“SAE”) in the “Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles” (e.g., Standard No. J3016-201806, published on June 15, 2018, Standard No. J3016-201609, published on September 30, 2016, and previous and future versions of this standard). In one or more embodiments, the vehicle 1100 may be capable of functioning according to one or more of the levels 1 to 5 of the autonomous driving levels. For example, in at least one embodiment, depending on the embodiment, the vehicle 1100 may be capable of conditional automation (level 3), high automation (level 4), and / or full automation (level 5).

[0141] In at least one embodiment, the vehicle 1100 may include, but is not limited to, components such as a chassis, a body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other components of the vehicle. In at least one embodiment, the vehicle 1100 may include, but is not limited to, a propulsion system 1150, such as an internal combustion engine, a hybrid power plant, an all-electric engine, and / or another type of propulsion system. In at least one embodiment, the propulsion system 1150 may be connected to a drive train of the vehicle 1100, which may include, but is not limited to, a transmission, so that the vehicle 1100 can be propelled. In at least one embodiment, the propulsion system 1150 may be controlled in response to receiving a signal from a throttle / accelerator 1152.

[0142] In at least one embodiment, when propulsion system 1150 is operating (e.g., when vehicle 1100 is traveling), steering system 1154 (which may include, but is not limited to, a steering wheel) is used to steer vehicle 1100 (e.g., along a desired path or route). In at least one embodiment, steering system 1154 may receive signals from steering actuator 1156. In at least one embodiment, the steering wheel may be optional for full automation (Level 5) functionality. In at least one embodiment, brake sensor system 1146 may be used to operate vehicle brakes in response to signals received from brake actuator 1148 and / or brake sensors.

[0143] In at least one embodiment, the controller 1136 may include, but is not limited to, one or more system on a chip (“SoC”) ( Fig.11A 1100 ) and / or a graphics processing unit (“GPU”) provide signals (e.g., representing commands) to one or more components and / or systems of the vehicle 1100 . For example, in at least one embodiment, the controller 1136 may send signals to operate vehicle brakes via a brake actuator 1148 , operate a steering system 1154 via one or more steering actuators 1156 , and operate a propulsion system 1150 via one or more throttles / accelerators 1152 . In at least one embodiment, the one or more controllers 1136 may include one or more onboard (e.g., integrated) computing devices that process sensor signals and output operating commands (e.g., signals representing commands) to enable autonomous driving and / or assist a driver in driving the vehicle 1100 . In at least one embodiment, the one or more controllers 1136 may include a first controller for autonomous driving functions, a second controller for functional safety functions, a third controller for artificial intelligence functions (e.g., computer vision), a fourth controller for infotainment functions, a fifth controller for redundancy in emergency situations, and / or other controllers. In at least one embodiment, a single controller may handle two or more of the above functions, two or more controllers may handle a single function, and / or any combination thereof.

[0144] In at least one embodiment, the one or more controllers 1136 provide signals for controlling one or more components and / or systems of the vehicle 1100 in response to sensor data received from one or more sensors (e.g., sensor inputs). In at least one embodiment, the sensor data can be received from sensors such as, but not limited to, one or more global navigation satellite system ("GNSS") sensors 1158 (e.g., one or more global positioning system sensors), one or more RADAR sensors 1160, one or more ultrasonic sensors 1162, one or more LIDAR sensors 1164, one or more inertial measurement unit (IMU) sensors 1166 (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetic compasses, one or more magnetometers, etc.), one or more microphones 1196, one or more stereo cameras 1168, one or more wide angle cameras 1170 (e.g., fisheye cameras), one or more infrared cameras 1172, one or more surround cameras 1174 (e.g., 360 degree cameras), telephoto cameras (e.g., infrared cameras), and / or a plurality of other sensors. Fig.11A Not shown), mid-range camera ( Fig.11A 1100), one or more speed sensors 1144 (e.g., for measuring the speed of the vehicle 1100), one or more vibration sensors 1142, one or more steering sensors 1140, one or more brake sensors (e.g., as part of a brake sensor system 1146), and / or other sensor types are received.

[0145] In at least one embodiment, one or more controllers 1136 may receive input (e.g., represented by input data) from a dashboard 1132 of the vehicle 1100 and provide output (e.g., represented by output data, display data, etc.) via a human machine interface (“HMI”) display 1134, an audible annunciator, a speaker, and / or other components of the vehicle 1100. In at least one embodiment, the output may include information such as vehicle speed, velocity, time, map data (e.g., high definition map ( Fig.11A 1100, such as on a map), directions, locations of other vehicles (e.g., occupancy barriers), information about objects and states of objects sensed by one or more controllers 1136, etc. For example, in at least one embodiment, the HMI display 1134 can display information about the presence of one or more objects (e.g., road signs, warning signs, traffic light changes, etc.) and / or information about driving maneuvers the vehicle has, is, or will make (e.g., changing lanes now, taking exit 34B in two miles, etc.).

[0146] In at least one embodiment, the vehicle 1100 further includes a network interface 1124, which can use one or more wireless antennas 1126 and / or one or more modems to communicate through one or more networks. For example, in at least one embodiment, the network interface 1124 may be able to communicate through Long Term Evolution ("LTE"), Wideband Code Division Multiple Access ("WCDMA"), Universal Mobile Telecommunications System ("UMTS"), Global System for Mobile Communications ("GSM"), IMT-CDMA Multi-Carrier ("CDMA2000") networks, etc. In at least one embodiment, the one or more wireless antennas 1126 can also use one or more local area networks (e.g., Bluetooth, Bluetooth Low Energy (LE), Z-Wave, ZigBee, etc.) and / or one or more low power wide area networks (hereinafter referred to as "LPWAN") (e.g., LoRaWAN, SigFox, etc. protocols) to enable communication between objects in the context (e.g., vehicles, mobile devices).

[0147] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig.11A for inferring or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0148] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0149] Fig. 11B According to at least one embodiment, Fig.11A An example of camera positions and fields of view for an autonomous vehicle 1100 is shown. In at least one embodiment, the cameras and respective fields of view are an example embodiment and are not intended to be limiting. For example, in at least one embodiment, additional and / or alternative cameras may be included and / or the cameras may be located at different locations on the vehicle 1100.

[0150] In at least one embodiment, the camera type for the camera may include, but is not limited to, a digital camera that may be suitable for use with components and / or systems of the vehicle 1100. In at least one embodiment, one or more cameras may operate at an automotive safety integrity level ("ASIL") B and / or other ASILs. In at least one embodiment, the camera type may have any image capture rate, such as 60 frames per second (fps), 1220fps, 240fps, etc., depending on the embodiment. In at least one embodiment, the camera may be able to use a rolling shutter, a global shutter, another type of shutter, or a combination thereof. In at least one embodiment, the color filter array may include a red transparent transparent ("RCCC") filter array, a red transparent transparent blue ("RCCB") filter array, a red blue green transparent ("RBGC") filter array, a Foveon X3 filter array, a Bayer sensor ("RGGB") filter array, a monochrome sensor filter array, and / or other types of filter arrays. In at least one embodiment, a clear pixel camera, such as one having an RCCC, RCCB, and / or RBGC color filter array, may be used in an effort to increase photosensitivity.

[0151] In at least one embodiment, one or more cameras can be used to perform advanced driver assistance system ("ADAS") functions (e.g., as part of a redundant or fail-safe design). For example, in at least one embodiment, a multi-function mono camera can be installed to provide functions including lane departure warning, traffic sign assistance, and intelligent headlight control. In at least one embodiment, one or more cameras (e.g., all cameras) can simultaneously record and provide image data (e.g., video).

[0152] In at least one embodiment, one or more cameras can be mounted in a mounting assembly, such as a custom designed (three-dimensional ("3D") printed) assembly, so as to cut out stray light and reflections from within the vehicle 1100 (e.g., reflections of the dashboard reflecting in the windshield mirror) that may interfere with the camera's image data capture capabilities. With respect to the rearview mirror mounting assembly, in at least one embodiment, the rearview mirror assembly can be 3D printed custom so that the camera mounting plate matches the shape of the rearview mirror. In at least one embodiment, one or more cameras can be integrated into the rearview mirror. In at least one embodiment, for side view cameras, one or more cameras can also be integrated within four pillars at each corner of the cabin.

[0153] In at least one embodiment, a camera (e.g., a forward-facing camera) with a field of view that includes a portion of the context in front of the vehicle 1100 can be used for surround vision, as well as to help identify the forward path and obstacles with the assistance of one or more controllers 1136 and / or control SoCs, thereby providing information critical to generating an occupancy grid and / or determining a preferred vehicle path. In at least one embodiment, the forward-facing camera can be used to perform many ADAS functions similar to LIDAR, including but not limited to emergency braking, pedestrian detection, and collision avoidance. In at least one embodiment, the forward-facing camera can also be used for ADAS functions and systems, including but not limited to lane departure warning ("LDW"), automatic cruise control ("ACC"), and / or other functions (e.g., traffic sign recognition).

[0154] In at least one embodiment, a variety of cameras can be used in a forward-facing configuration, including, for example, a monocular camera platform including a CMOS ("complementary metal oxide semiconductor") color imager. In at least one embodiment, a wide-angle camera 1170 can be used to sense objects entering from the periphery (e.g., pedestrians, people crossing the road, or bicycles). Although in Fig. 11B Only one wide-angle camera 1170 is shown, however, in other embodiments, there may be any number (including zero) of wide-angle cameras on the vehicle 1100. In at least one embodiment, any number of remote cameras 1198 (e.g., a remote stereo camera pair) may be used for depth-based object detection, particularly for objects for which a neural network has not yet been trained. In at least one embodiment, the remote cameras 1198 may also be used for object detection and classification and basic object tracking.

[0155] In at least one embodiment, any number of stereo cameras 1168 may also be included in the forward configuration. In at least one embodiment, one or more stereo cameras 1168 may include an integrated control unit including a scalable processing unit that may provide programmable logic ("FPGA") and a multi-core microprocessor with a controller area network ("CAN") or Ethernet interface integrated on a single chip. In at least one embodiment, such a unit may be used to generate a 3D map of the context of the vehicle 1100, including distance estimates for all points in the image. In at least one embodiment, one or more stereo cameras 1168 may include, but are not limited to, a compact stereo vision sensor, which may include, but are not limited to, two camera lenses (one on each side) and an image processing chip that can measure the distance from the vehicle 1100 to the target object and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane departure warning functions. In at least one embodiment, other types of stereo cameras 1168 may be used in addition to those described herein.

[0156] In at least one embodiment, a camera having a field of view that includes a portion of the context to the sides of the vehicle 1100 (e.g., a side view camera) can be used for surround viewing to provide information for creating and updating occupancy grids and generating side collision warnings. For example, in at least one embodiment, surround cameras 1174 (e.g., Fig. 11B The four surround cameras (e.g., shown as four surround cameras) can be positioned on the vehicle 1100. In at least one embodiment, the one or more surround cameras 1174 can include, but are not limited to, any number and combination of wide-angle cameras, one or more fish-eye lenses, one or more 360-degree cameras, and / or the like. For example, in at least one embodiment, four fish-eye lens cameras can be located at the front, rear, and sides of the vehicle 1100. In at least one embodiment, the vehicle 1100 can use three surround cameras 1174 (e.g., left, right, and rear), and can utilize one or more other cameras (e.g., a forward-facing camera) as a fourth surround camera.

[0157] In at least one embodiment, a camera with a field of view that includes a portion of the context behind the vehicle 1100 (e.g., a rear view camera) can be used for parking assistance, surround view, rear collision warning, and creating and updating occupancy grids. In at least one embodiment, a variety of cameras can be used, including but not limited to cameras that are also suitable as one or more forward-facing cameras (e.g., long-range camera 1198 and / or one or more mid-range cameras 1176, one or more stereo cameras 1168, one or more infrared cameras 1172, etc.), as described herein.

[0158] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B , details about the reasoning and / or training logic 815 are provided herein. In at least one embodiment, the reasoning and / or training logic 815 may be Fig. 11B for use in a system for inferring or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0159] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0160] Fig. 11CAccording to at least one embodiment, Fig.11A A block diagram of an example system architecture of an autonomous vehicle 1100. In at least one embodiment, Fig. 11C Each of one or more components, one or more features, and one or more systems of the vehicle 1100 in FIG. 1 is shown as being connected via a bus 1102. In at least one embodiment, the bus 1102 may include, but is not limited to, a CAN data interface (referred to herein alternatively as a "CAN bus"). In at least one embodiment, the CAN may be a network inside the vehicle 1100 that helps control various features and functions of the vehicle 1100, such as actuation of brakes, acceleration, braking, steering, wipers, etc. In one embodiment, the bus 1102 may be configured to have dozens or even hundreds of nodes, each with its own unique identifier (e.g., CAN ID). In at least one embodiment, the bus 1102 may be read to find steering wheel angle, ground speed, engine revolutions per minute ("RPM"), button position, and / or other vehicle status indicators. In at least one embodiment, the bus 1102 may be a CAN bus that complies with ASIL B.

[0161] In at least one embodiment, in addition to or from CAN, FlexRay and / or Ethernet protocols may be used. In at least one embodiment, there may be any number of profiled buses 1102, which may include, but are not limited to, zero or more CAN buses, zero or more FlexRay buses, zero or more Ethernet buses, and / or zero or more other types of buses using other protocols. In at least one embodiment, two or more buses may be used to perform different functions, and / or may be used for redundancy. For example, a first bus may be used for a collision avoidance function, and a second bus may be used for actuation control. In at least one embodiment, each of the buses 1102 may communicate with any component of the vehicle 1100, and two or more of the buses 1102 may communicate with corresponding components. In at least one embodiment, each of any number of systems on a chip ("SoC") 1104 (e.g., SoC 1104(A) and SoC 1104(B)), each of one or more controllers 1136, and / or each computer within the vehicle may access the same input data (e.g., input from sensors of the vehicle 1100), and may be connected to a common bus, such as a CAN bus.

[0162] In at least one embodiment, the vehicle 1100 may include one or more controllers 1136, such as those described herein with respect to Fig.11AThose described. In at least one embodiment, the controller 1136 can be used for a variety of functions. In at least one embodiment, the controller 1136 can be coupled to any of the various other components and systems of the vehicle 1100 and can be used to control the vehicle 1100, the artificial intelligence of the vehicle 1100, the infotainment and / or other functions of the vehicle 1100.

[0163] In at least one embodiment, the vehicle 1100 may include any number of SoCs 1104. In at least one embodiment, each of the SoCs 1104 may include, but is not limited to, a central processing unit ("CPU(s)") 1106, a graphics processing unit ("GPU(s")) 1108, one or more processors 1110, one or more caches 1112, one or more accelerators 1114, one or more data stores 1116, and / or other components and features not shown. In at least one embodiment, the one or more SoCs 1104 may be used to control the vehicle 1100 in a variety of platforms and systems. For example, in at least one embodiment, the one or more SoCs 1104 may be combined with a high-definition ("HD") map 1122 in a system (e.g., a system of the vehicle 1100), which may be downloaded from one or more servers (e.g., a system of the vehicle 1100) via a network interface 1124. Fig. 11C ) to obtain map refreshes and / or updates.

[0164] In at least one embodiment, one or more CPUs 1106 may include a CPU cluster or CPU complex (referred to herein alternatively as "CCPLEX"). In at least one embodiment, one or more CPUs 1106 may include multiple cores and / or a secondary ("L2") cache. For example, in at least one embodiment, one or more CPUs 1106 may include eight cores in a mutually coupled multiprocessor configuration. In at least one embodiment, one or more CPUs 1106 may include four dual-core clusters, each with a dedicated L2 cache (e.g., 2MB L2 cache). In at least one embodiment, one or more CPUs 1106 (e.g., CCPLEX) may be configured to support simultaneous cluster operations such that any combination of clusters of one or more CPUs 1106 may be active at any given time.

[0165] In at least one embodiment, one or more CPUs 1106 may implement power management functions, including but not limited to one or more of the following features: each hardware module may be automatically clock gated when idle to save dynamic power; each core clock may be gated when the core is not actively executing instructions due to executing a wait for interrupt ("WFI") / wait for event ("WFE") instruction; each core may be independently powered; each core cluster may be independently clock gated when all cores are clock gated or power gated; and / or each core cluster may be independently power gated when all cores are power gated. In at least one embodiment, one or more CPUs 1106 may further implement an enhanced algorithm for managing power states, wherein allowed power states and expected wake-up times are specified, and hardware / microcode determines the optimal power state for cores, clusters, and CCPLEX inputs. In at least one embodiment, the processing core may support a simplified power state entry sequence in software, wherein the work is offloaded to the microcode.

[0166] In at least one embodiment, one or more GPUs 1108 may include an integrated GPU (or referred to herein as an "iGPU"). In at least one embodiment, one or more GPUs 1108 may be programmable and may be effective for parallel workloads. In at least one embodiment, one or more GPUs 1108 may use an enhanced tensor instruction set. In one embodiment, one or more GPUs 1108 may include one or more streaming microprocessors, each of which may include a level 1 ("L1") cache (e.g., an L1 cache with a storage capacity of at least 96KB), and two or more streaming microprocessors may share an L2 cache (e.g., an L2 cache with a storage capacity of 512KB). In at least one embodiment, one or more GPUs 1108 may include at least eight streaming microprocessors. In at least one embodiment, one or more GPUs 1108 may use a computing application programming interface (API). In at least one embodiment, one or more GPUs 1108 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA's CUDA model).

[0167] In at least one embodiment, one or more GPUs 1108 may be optimized for power consumption to achieve optimal performance in automotive and embedded use cases. For example, in one embodiment, one or more GPUs 1108 may be manufactured on fin field effect transistor (“FinFET”) circuits. In at least one embodiment, each streaming microprocessor may include multiple mixed precision processing cores divided into multiple blocks. For example, but not limited to, 64 PF32 cores and 32 PF64 cores may be divided into four processing blocks. In at least one embodiment, 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed precision NVIDIA tensor cores for deep learning matrix arithmetic, a zero-level (“L0”) instruction cache, a thread warp scheduler, a dispatch unit, and / or a 64KB register file may be allocated to each processing block. In at least one embodiment, the streaming microprocessor may include independent parallel integer and floating point data paths to provide efficient execution of workloads that mix computation and addressing operations. In at least one embodiment, the streaming microprocessor may include independent thread scheduling capabilities to achieve finer-grained synchronization and collaboration between parallel threads. In at least one embodiment, a streaming microprocessor may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.

[0168] In at least one embodiment, one or more GPUs 1108 may include high bandwidth memory ("HBM") and / or a 16GB HBM2 memory subsystem to provide a peak memory bandwidth of approximately 900 GB / sec in some examples. In at least one embodiment, synchronous graphics random access memory ("SGRAM"), such as graphics double data rate type five synchronous random access memory ("GDDR5"), may be used in addition to or in lieu of HBM memory.

[0169] In at least one embodiment, one or more GPUs 1108 may include unified memory technology. In at least one embodiment, address translation service (“ATS”) support may be used to allow one or more GPUs 1108 to directly access one or more CPU 1106 page tables. In at least one embodiment, when a memory management unit (“MMU”) of a GPU in one or more GPUs 1108 experiences a miss, an address translation request may be sent to one or more CPUs 1106. In response, in at least one embodiment, 2CPUs in one or more CPUs 1106 may look up the virtual-physical mapping of the address in its page table and transmit the translation back to one or more GPUs 1108. In at least one embodiment, unified memory technology may allow a single unified virtual address space to be used for memory of both one or more CPUs 1106 and one or more GPUs 1108, thereby simplifying programming of one or more GPUs 1108 and porting applications to one or more GPUs 1108.

[0170] In at least one embodiment, one or more GPUs 1108 may include any number of access counters that may track the frequency of accesses to other processors' memory by one or more GPUs 1108. In at least one embodiment, the one or more access counters may help ensure that memory pages are moved to the physical memory of the processor that accesses the page most frequently, thereby improving the efficiency of memory ranges shared between processors.

[0171] In at least one embodiment, one or more SoCs 1104 may include any number of caches 1112, including those described herein. For example, in at least one embodiment, one or more caches 1112 may include a level 3 ("L3") cache available for one or more CPUs 1106 and one or more GPUs 1108 (e.g., connected to CPUs 1106 and GPUs 1108). In at least one embodiment, one or more caches 1112 may include a write-back cache that may track the state of a line, for example, by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). In at least one embodiment, although smaller cache sizes may be used, depending on the embodiment, the L3 cache may include 4MB of memory or more.

[0172] In at least one embodiment, one or more SoCs 1104 may include one or more accelerators 1114 (e.g., hardware accelerators, software accelerators, or a combination thereof). In at least one embodiment, one or more SoCs 1104 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. In at least one embodiment, large on-chip memory (e.g., 4MB of SRAM) may enable the hardware acceleration cluster to accelerate neural networks and other calculations. In at least one embodiment, the hardware acceleration cluster may be used to supplement one or more GPUs 1108 and unload some tasks of one or more GPUs 1108 (e.g., freeing up more cycles of one or more GPUs 1108 to perform other tasks). In at least one embodiment, one or more accelerators 1114 may be used for target workloads that are sufficiently stable to withstand acceleration tests (e.g., perception, convolutional neural networks ("CNN"), recursive neural networks ("RNN"), etc.). In at least one embodiment, CNNs may include regional or regional convolutional neural networks ("RCNN") and fast RCNNs (e.g., such as for object detection) or other types of CNNs.

[0173] In at least one embodiment, one or more accelerators 1114 (e.g., a hardware acceleration cluster) may include one or more deep learning accelerators ("DLA"). In at least one embodiment, one or more DLAs may include, but are not limited to, one or more Tensor Processing Units ("TPUs"), which may be configured to provide an additional 10 trillion operations per second for deep learning applications and reasoning. In at least one embodiment, a TPU may be an accelerator configured and optimized to perform image processing functions (e.g., for CNN, RCNN, etc.). In at least one embodiment, one or more DLAs may be further optimized for a specific set of neural network types and floating point operations and reasoning. In at least one embodiment, the design of one or more DLAs may provide higher performance per millimeter than a typical general-purpose GPU, and generally greatly exceeds the performance of a CPU. In at least one embodiment, one or more TPUs may perform several functions, including supporting, for example, INT8, INT16, and FP16 data types for single instance convolution functions for features and weights and post-processor functions. In at least one embodiment, one or more DLAs can quickly and efficiently execute neural networks, particularly CNNs, on processed or unprocessed data for any of a variety of functions, including, for example, but not limited to: a CNN for object recognition and detection using data from a camera sensor; a CNN for distance estimation using data from a camera sensor; a CNN for emergency vehicle detection and recognition and detection using data from a microphone; a CNN for face recognition and vehicle owner recognition using data from a camera sensor; and / or a CNN for safety and / or security-related events.

[0174] In at least one embodiment, a DLA can perform any function of one or more GPUs 1108, and by using an inference accelerator, for example, a designer can target one or more DLAs or one or more GPUs 1108 for any function. For example, in at least one embodiment, a designer can focus the processing and floating point operations of a CNN on one or more DLAs and leave other functions to one or more GPUs 1108 and / or one or more accelerators 1114.

[0175] In at least one embodiment, one or more accelerators 1114 may include a programmable vision accelerator ("PVA"), which may be referred to herein alternatively as a computer vision accelerator. In at least one embodiment, one or more PVAs may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems ("ADAS") 1138, autonomous driving, augmented reality ("AR") applications, and / or virtual reality ("VR") applications. In at least one embodiment, one or more PVAs may strike a balance between performance and flexibility. For example, in at least one embodiment, each of the one or more PVAs may include, for example, but not limited to, any number of reduced instruction set computer ("RISC") cores, direct memory access ("DMA"), and / or any number of vector processors.

[0176] In at least one embodiment, the RISC core can interact with an image sensor (e.g., an image sensor of any camera described herein), an image signal processor, and the like. In at least one embodiment, each RISC core can include any number of memories. In at least one embodiment, the RISC core can use any of a variety of protocols, depending on the embodiment. In at least one embodiment, the RISC core can execute a real-time operating system ("RTOS"). In at least one embodiment, the RISC core can be implemented using one or more integrated circuit devices, application specific integrated circuits ("ASICs"), and / or storage devices. For example, in at least one embodiment, the RISC core can include an instruction cache and / or a tightly coupled RAM.

[0177] In at least one embodiment, the DMA may enable components of the PVA to access system memory independently of one or more CPUs 1106. In at least one embodiment, the DMA may support any number of features for providing optimizations to the PVA, including, but not limited to, support for multi-dimensional addressing and / or circular addressing. In at least one embodiment, the DMA may support up to six or more dimensions of addressing, which may include, but are not limited to, block width, block height, block depth, horizontal block stepping, vertical block stepping, and / or depth stepping.

[0178] In at least one embodiment, the vector processor may be a programmable processor that may be designed to efficiently and flexibly execute programming for computer vision algorithms and provide signal processing capabilities. In at least one embodiment, the PVA may include a PVA core and two vector processing subsystem partitions. In at least one embodiment, the PVA core may include a processor subsystem, a DMA engine (e.g., two DMA engines), and / or other peripherals. In at least one embodiment, the vector processing subsystem may be used as the main processing engine of the PVA and may include a vector processing unit ("VPU"), an instruction cache, and / or a vector memory (e.g., "VMEM"). In at least one embodiment, the VPU core may include a digital signal processor, such as a single instruction multiple data ("SIMD"), a very long instruction word ("VLIW") digital signal processor. In at least one embodiment, the combination of SIMD and VLIW may increase throughput and speed.

[0179] In at least one embodiment, each vector processor may include an instruction cache and may be coupled to a dedicated memory. As a result, in at least one embodiment, each vector processor may be configured to execute independently of the other vector processors. In at least one embodiment, the vector processors included in a particular PVA may be configured to exploit data parallelism. For example, in at least one embodiment, multiple vector processors included in a single PVA may execute a general computer vision algorithm, except on different regions of an image. In at least one embodiment, the vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on an image, or even different algorithms on sequence images or portions of images. In at least one embodiment, any number of PVAs may be included in a hardware acceleration cluster, and any number of vector processors may be included in each PVA, among other things. In at least one embodiment, the PVA may include additional error correction code ("ECC") memory to enhance overall system security.

[0180] In at least one embodiment, one or more accelerators 1114 may include an on-chip computer vision network and static random access memory ("SRAM") to provide high bandwidth, low latency SRAM for one or more accelerators 1114. In at least one embodiment, the on-chip memory may include at least 4MB of SRAM, including, for example, but not limited to, eight field-configurable memory blocks that can be accessed by both the PVA and the DLA. In at least one embodiment, each pair of memory blocks may include an advanced peripheral bus ("APB") interface, configuration circuits, controllers, and multiplexers. In at least one embodiment, any type of memory may be used. In at least one embodiment, the PVA and DLA may access the memory via a backbone network that provides high-speed access to the memory to the PVA and the DLA. In at least one embodiment, the backbone network may include an on-chip computer vision network that interconnects the PVA and the DLA to the memory (e.g., using APB).

[0181] In at least one embodiment, the on-chip computer vision network may include an interface that determines that both the PVA and DLA provide ready and valid signals before transmitting any control signals / addresses / data. In at least one embodiment, the interface may provide separate phases and separate channels for sending control signals / addresses / data, as well as burst-type communications for continuous data transmission. In at least one embodiment, the interface may comply with the International Organization for Standardization ("ISO") 26262 or International Electrotechnical Commission ("IEC") 61508 standards, although other standards and protocols may be used.

[0182] In at least one embodiment, one or more SoCs 1104 may include a real-time gaze tracking hardware accelerator. In at least one embodiment, the real-time gaze tracking hardware accelerator may be used to quickly and efficiently determine the position and range of an object (e.g., within a world model) to generate real-time visual simulations for use in RADAR signal interpretation, for sound propagation synthesis and / or analysis, for simulation of SONAR systems, for general wave propagation simulations, for comparison with LIDAR data for positioning and / or other functions, and / or for other purposes.

[0183] In at least one embodiment, one or more accelerators 1114 have a wide range of uses for autonomous driving. In at least one embodiment, the PVA can be used for key processing stages in ADAS and autonomous vehicles. In at least one embodiment, the ability of the PVA at low power consumption and low latency is well matched to algorithmic domains that require predictable processing. In other words, the PVA excels in semi-intensive or intensive conventional computations, even on small data sets, which may require predictable runtimes with low latency and low power consumption. In at least one embodiment, the PVA, such as in the vehicle 1100, may be designed to run classic computer vision algorithms because they can be efficient at object detection and integer math operations.

[0184] For example, according to at least one embodiment of the technology, PVA is used to perform computer stereo vision. In at least one embodiment, a semi-global matching based algorithm can be used in some examples, although this is not meant to be limiting. In at least one embodiment, applications for Level 3-5 autonomous driving use dynamic estimation / stereo matching on the fly (e.g., structure recovery from motion, pedestrian recognition, lane detection, etc.). In at least one embodiment, PVA can perform computer stereo vision functions on input from two monocular cameras.

[0185] In at least one embodiment, the PVA can be used to perform dense optical flow. For example, in at least one embodiment, the PVA can process raw RADAR data (e.g., using a 4D Fast Fourier Transform) to provide processed RADAR data. In at least one embodiment, the PVA is used for time-of-flight depth processing, for example, by processing raw time-of-flight data to provide processed time-of-flight data.

[0186] In at least one embodiment, the DLA can be used to run any type of network to enhance control and driving safety, including, for example, but not limited to, a neural network, which outputs a confidence score for each object detection. In at least one embodiment, the confidence score can be expressed or interpreted as a probability, or as providing a relative "weight" of each detection relative to other detections. In at least one embodiment, the confidence measurement enables the system to make further decisions about which detections should be considered true positive detections rather than false positive detections. In at least one embodiment, the system can set a threshold for the confidence score and only consider detections that exceed the threshold as true positive detections. In an embodiment using an automatic emergency braking ("AEB") system, a false positive detection will cause the vehicle to automatically perform emergency braking, which is obviously undesirable. In at least one embodiment, a highly confident detection can be considered a trigger for AEB. In at least one embodiment, the DLA can run a neural network for regressing confidence values. In at least one embodiment, the neural network may take as its input at least some subset of parameters, such as bounding box dimensions, a ground plane estimate obtained (e.g., from another subsystem), outputs of one or more IMU sensors 1166 associated with vehicle 1100 heading, distance, 3D position estimates of objects obtained from the neural network and / or other sensors (e.g., one or more LIDAR sensors 1164 or one or more RADAR sensors 1160), and the like.

[0187] In at least one embodiment, one or more SoCs 1104 may include one or more data stores 1116 (e.g., memory). In at least one embodiment, one or more data stores 1116 may be on-chip memory of one or more SoCs 1104 that may store neural networks to be executed on one or more GPUs 1108 and / or DLAs. In at least one embodiment, one or more data stores 1116 may have a capacity large enough to store multiple instances of a neural network for redundancy and safety. In at least one embodiment, one or more data stores 1116 may include an L2 or L3 cache.

[0188] In at least one embodiment, one or more SoCs 1104 may include any number of processors 1110 (e.g., embedded processors). In at least one embodiment, one or more processors 1110 may include a boot and power management processor, which may be a dedicated processor and subsystem to handle boot power and management functions and related security implementations. In at least one embodiment, the boot and power management processor may be part of the boot sequence of one or more SoCs 1104 and may provide runtime power management services. In at least one embodiment, the boot power and management processor may provide clock and voltage programming, assist system low power state transitions, one or more SoCs 1104 thermal and temperature sensor management, and / or one or more SoCs 1104 power state management. In at least one embodiment, each temperature sensor may be implemented as a ring oscillator whose output frequency is proportional to the temperature, and one or more SoCs 1104 may use the ring oscillator to detect the temperature of one or more CPUs 1106, one or more GPUs 1108, and / or one or more accelerators 1114. In at least one embodiment, if the temperature is determined to exceed a threshold, the boot and power management processor can enter a temperature fault routine and place one or more SoCs 1104 into a lower power consumption state and / or place the vehicle 1100 into a driver's safe parking pattern (e.g., bringing the vehicle 1100 to a safe stop).

[0189] In at least one embodiment, one or more processors 1110 may further include a set of embedded processors that can be used as an audio processing engine, which can be an audio subsystem that can provide full hardware support for multi-channel audio through multiple interfaces and a wide and flexible range of audio I / O interfaces. In at least one embodiment, the audio processing engine is a dedicated processor core that has a digital signal processor with dedicated RAM.

[0190] In at least one embodiment, one or more processors 1110 may further include an always-on processor engine that may provide the necessary hardware features to support low-power sensor management and wake-up use cases. In at least one embodiment, the processors on the always-on processor engine may include, but are not limited to, processor cores, tightly coupled RAM, supporting peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.

[0191] In at least one embodiment, one or more processors 1110 may further include a safety cluster engine, which includes but is not limited to a dedicated processor subsystem for handling safety management of automotive applications. In at least one embodiment, the safety cluster engine may include but is not limited to two or more processor cores, tightly coupled RAM, supporting peripherals (e.g., timers, interrupt controllers, etc.) and / or routing logic. In safe mode, in at least one embodiment, two or more cores may operate in lockstep mode and may be used as a single core with comparison logic to detect any differences between their operations. In at least one embodiment, one or more processors 1110 may further include a real-time camera engine, which may include but is not limited to a dedicated processor subsystem for handling real-time camera management. In at least one embodiment, one or more processors 1110 may further include a high dynamic range signal processor, which may include but is not limited to an image signal processor, which is a hardware engine as part of the camera processing pipeline.

[0192] In at least one embodiment, one or more processors 1110 may include a video image synthesizer, which may be a processing block (e.g., implemented on a microprocessor) that implements video post-processing functions required by a video playback application to produce a final video to produce a final image for a player window. In at least one embodiment, the video image synthesizer may perform lens distortion correction on one or more wide-angle cameras 1170, one or more surround cameras 1174, and / or one or more in-cabin surveillance camera sensors. In at least one embodiment, preferably, the in-cabin surveillance camera sensors are monitored by a neural network running on another instance of SoC 1104, which is configured to identify cabin events and respond accordingly. In at least one embodiment, the in-cabin system may perform, but is not limited to, lip reading to activate cellular service and make calls, dictate emails, change the vehicle's destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web surfing. In at least one embodiment, certain functions are available to the driver when the vehicle is operating in autonomous mode, otherwise they are disabled.

[0193] In at least one embodiment, the video image synthesizer may include enhanced temporal noise reduction for simultaneous spatial and temporal noise reduction. For example, in at least one embodiment, where motion occurs in the video, the noise reduction appropriately weights the spatial information, thereby reducing the weight of information provided by adjacent frames. In at least one embodiment, where an image or portion of an image does not include motion, the temporal noise reduction performed by the video image synthesizer may use information from previous images to reduce noise in the current image.

[0194] In at least one embodiment, the video image compositor may also be configured to perform stereoscopic correction on the input stereoscopic lens frames. In at least one embodiment, the video image compositor may also be used for user interface composition when the operating system desktop is used, and does not require one or more GPUs 1108 to continuously render new surfaces. In at least one embodiment, when one or more GPUs 1108 are powered and actively performing 3D rendering, the video image compositor may be used to offload one or more GPUs 1108 to improve performance and responsiveness.

[0195] In at least one embodiment, one or more of the SoCs 1104 may further include a Mobile Industry Processor Interface ("MIPI") camera serial interface for receiving video and input from a camera, a high-speed interface, and / or a video input block that may be used for a camera and associated pixel input functionality. In at least one embodiment, one or more of the SoCs 1104 may further include an input / output controller that may be controlled by software and may be used to receive I / O signals that are not committed to a specific role.

[0196] In at least one embodiment, one or more of the SoCs 1104 may further include a wide range of peripheral interfaces to enable communication with peripheral devices, audio encoders / decoders (“codecs”), power management, and / or other devices. In at least one embodiment, one or more of the SoCs 1104 may be used to process data from cameras (e.g., connected via Gigabit multimedia serial links and Ethernet channels), sensors (e.g., one or more LIDAR sensors 1164, one or more RADAR sensors 1160, etc., which may be connected via Ethernet channels), data from the bus 1102 (e.g., speed of the vehicle 1100, steering wheel position, etc.), data from one or more GNSS sensors 1158 (e.g., connected via Ethernet bus or CAN bus), etc. In at least one embodiment, one or more of the SoCs 1104 may further include dedicated high-performance mass storage controllers, which may include their own DMA engines and may be used to free one or more CPUs 1106 from routine data management tasks.

[0197] In at least one embodiment, one or more SoCs 1104 can be an end-to-end platform with a flexible architecture that spans automation levels 3-5, thereby providing a comprehensive functional safety architecture that utilizes and effectively uses computer vision and ADAS technologies to achieve diversity and redundancy, which provides a platform that can provide a flexible and reliable driving software stack and deep learning tools. In at least one embodiment, one or more SoCs 1104 can be faster and more reliable than conventional systems, and even more energy efficient and space efficient. For example, in at least one embodiment, one or more accelerators 1114, when combined with one or more CPUs 1106, one or more GPUs 1108, and one or more data storage devices 1116, can provide a fast and effective platform for level 3-5 autonomous driving vehicles.

[0198] In at least one embodiment, computer vision algorithms can be executed on a CPU, which can be configured using a high-level programming language (e.g., C) to execute a variety of processing algorithms on a variety of visual data. However, in at least one embodiment, CPUs generally cannot meet the performance requirements of many computer vision applications, such as those related to execution time and power consumption. In at least one embodiment, many CPUs are unable to execute complex object detection algorithms in real time, which are used in in-vehicle ADAS applications and actual Level 3-5 autonomous driving vehicles.

[0199] The embodiments described herein allow for multiple neural networks to be executed simultaneously and / or sequentially, and for the results to be combined together to achieve Level 3-5 autonomous driving functions. For example, in at least one embodiment, a CNN executed on a DLA or a discrete GPU (e.g., one or more GPUs 1120) may include text and word recognition, allowing the supercomputer to read and understand traffic signs, including signs for which the neural network has not been specifically trained. In at least one embodiment, the DLA may also include a neural network that is capable of recognizing, interpreting, and providing semantic understanding of symbols and passing that semantic understanding to a path planning module running on the CPU Complex.

[0200] In at least one embodiment, for level 3, 4, or 5 driving, multiple neural networks may be run simultaneously. For example, in at least one embodiment, a warning sign consisting of "Caution: flashing lights indicate icy conditions" coupled with electric lights may be interpreted by multiple neural networks independently or collectively. In at least one embodiment, the warning sign itself may be recognized as a traffic sign by a first deployed neural network (e.g., an already trained neural network), and the text "flashing lights indicate icy conditions" may be interpreted by a second deployed neural network, which notifies the vehicle's path planning software (preferably executing on a CPU Complex) that icy conditions exist when flashing lights are detected. In at least one embodiment, flashing lights may be recognized by operating a third deployed neural network over multiple frames, notifying the vehicle's path planning software of the presence (or absence) of flashing lights. In at least one embodiment, all three neural networks may be run simultaneously, such as within a DLA and / or on one or more GPUs 1108.

[0201] In at least one embodiment, a CNN for facial recognition and vehicle owner identification can use data from the camera sensor to identify the presence of an authorized driver and / or owner of the vehicle 1100. In at least one embodiment, the always-on sensor processor engine can be used to unlock the vehicle when the owner approaches the driver's door and turns on the lights, and, in a security mode, can be used to disable the vehicle when the owner leaves the vehicle. In this way, one or more SoCs 1104 provide protection against theft and / or carjacking.

[0202] In at least one embodiment, a CNN for emergency vehicle detection and identification can use data from microphone 1196 to detect and identify emergency vehicle sirens. In at least one embodiment, one or more SoCs 1104 use CNNs to classify context and urban sounds, as well as classify visual data. In at least one embodiment, the CNN running on the DLA is trained to identify the relative approach speed of the emergency vehicle (e.g., by using the Doppler effect). In at least one embodiment, the CNN can also be trained to identify emergency vehicles for the area where the vehicle is operating, as identified by one or more GNSS sensors 1158. In at least one embodiment, when operating in Europe, the CNN will seek to detect European sirens, while when operating in North America, the CNN will seek to identify only North American sirens. In at least one embodiment, once an emergency vehicle is detected, a control program can be used with the assistance of one or more ultrasonic sensors 1162 to execute emergency vehicle safety routines, slow down the vehicle, drive the vehicle to the side of the road, stop the vehicle, and / or idle the vehicle until the emergency vehicle passes.

[0203] In at least one embodiment, the vehicle 1100 may include one or more CPUs 1118 (e.g., one or more discrete CPUs or one or more dCPUs) that may be coupled to one or more SoCs 1104 via a high-speed interconnect (e.g., PCIe). In at least one embodiment, the one or more CPUs 1118 may include an X86 processor, such as one or more CPUs 1118 that may be used to perform any of a variety of functions, including, for example, arbitrating potential inconsistent results between ADAS sensors and one or more SoCs 1104, and / or monitoring the status and health of one or more controllers 1136 and / or an on-chip information system ("information SoC") 1130.

[0204] In at least one embodiment, the vehicle 1100 may include one or more GPUs 1120 (e.g., one or more discrete GPUs or one or more dGPUs) that may be coupled to one or more SoCs 1104 via a high-speed interconnect (e.g., NVIDIA's NVLINK channel). In at least one embodiment, the one or more GPUs 1120 may provide additional artificial intelligence functionality, such as by executing redundant and / or different neural networks, and may be used to train and / or update the neural network based at least in part on input from sensors of the vehicle 1100 (e.g., sensor data).

[0205] In at least one embodiment, the vehicle 1100 may further include a network interface 1124, which may include, but is not limited to, one or more wireless antennas 1126 (e.g., one or more wireless antennas for different communication protocols, such as cellular antennas, Bluetooth antennas, etc.). In at least one embodiment, the network interface 1124 may be used to enable wireless connection with other vehicles and / or computing devices (e.g., a passenger's client device) through an Internet cloud service (e.g., using a server and / or other network device). In at least one embodiment, in order to communicate with other vehicles, a direct link may be established between the vehicle 1100 and another vehicle and / or an indirect link may be established (e.g., through a network and the Internet). In at least one embodiment, a vehicle-to-vehicle communication link may be used to provide a direct link. In at least one embodiment, the vehicle-to-vehicle communication link may provide the vehicle 1100 with information about vehicles near the vehicle 1100 (e.g., vehicles in front of, to the side of, and / or behind the vehicle 1100). In at least one embodiment, the aforementioned functionality may be part of the cooperative adaptive cruise control functionality of the vehicle 1100.

[0206] In at least one embodiment, the network interface 1124 may include a SoC that provides modulation and demodulation functions and enables one or more controllers 1136 to communicate via a wireless network. In at least one embodiment, the network interface 1124 may include a radio frequency front end for up-conversion from baseband to radio frequency and down-conversion from radio frequency to baseband. In at least one embodiment, frequency conversion may be performed in any technically feasible manner. For example, frequency conversion may be performed by a known process and / or using a superheterodyne process. In at least one embodiment, the radio frequency front end function may be provided by a separate chip. In at least one embodiment, the network interface may include a wireless function for communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, Bluetooth, Bluetooth LE, Wi-Fi, Z-Wave, ZigBee, LoRaWAN, and / or other wireless protocols.

[0207] In at least one embodiment, the vehicle 1100 may further include one or more data stores 1128, which may include, but are not limited to, off-chip (e.g., one or more SoCs 1104) storage. In at least one embodiment, the one or more data stores 1128 may include, but are not limited to, one or more storage elements including RAM, SRAM, dynamic random access memory ("DRAM"), video random access memory ("VRAM"), flash memory, hard disk, and / or other components and / or devices that can store at least one bit of data.

[0208] In at least one embodiment, the vehicle 1100 may further include one or more GNSS sensors 1158 (e.g., GPS and / or assisted GPS sensors) to assist in mapping, perception, occupancy raster generation, and / or path planning functions. In at least one embodiment, any number of GNSS sensors 1158 may be used, including, for example but not limited to, GPS connected to a serial interface (e.g., RS-232) bridge using a USB connector with Ethernet.

[0209] In at least one embodiment, the vehicle 1100 may further include one or more RADAR sensors 1160. In at least one embodiment, one or more RADAR sensors 1160 may be used by the vehicle 1100 for remote vehicle detection, even in darkness and / or inclement weather conditions. In at least one embodiment, the RADAR functional safety level may be ASILB. In at least one embodiment, one or more RADAR sensors 1160 may use a CAN bus and / or bus 1102 (e.g., to transmit data generated by one or more RADAR sensors 1160) for control and access to object tracking data, and in some examples, an Ethernet channel may be accessed to access raw data. In at least one embodiment, a variety of RADAR sensor types may be used. For example, but not limited to, one or more of the RADAR sensors 1160 may be suitable for front, rear, and side RADAR use. In at least one embodiment, one or more RADAR sensors 1160 are pulse Doppler RADAR sensors.

[0210] In at least one embodiment, one or more RADAR sensors 1160 may include different configurations, such as long-range with narrow field of view, short-range with wide range, short-range side coverage, etc. In at least one embodiment, the long-range RADAR can be used for adaptive cruise control functions. In at least one embodiment, the long-range RADAR system can provide a wide field of view achieved by two or more independent scans (e.g., within 250m). In at least one embodiment, one or more RADAR sensors 1160 can help distinguish between static objects and moving objects, and can be used by the ADAS system 1138 for emergency braking assistance and forward collision warning. In at least one embodiment, one or more sensors 1160 included in the long-range RADAR system may include but are not limited to a single-base multi-mode RADAR with multiple (e.g., six or more) fixed RADAR antennas and high-speed CAN and FlexRay interfaces. In at least one embodiment, having six antennas, the central four antennas can create a focused beam pattern designed to record the surrounding context of the vehicle 1100 at a higher speed with minimal traffic interference in adjacent lanes. In at least one embodiment, the other two antennas can extend the field of view so that vehicles 1100 entering or leaving the lane can be detected quickly.

[0211] In at least one embodiment, as an example, the medium-range RADAR system may include, for example, a range of up to 160m (front) or 80m (rear), and a field of view of up to 42 degrees (front) or 150 degrees (rear). In at least one embodiment, the short-range RADAR system may include, but is not limited to, any number of RADAR sensors 1160 designed to be mounted at both ends of the rear bumper. When mounted at both ends of the rear bumper, in at least one embodiment, the RADAR sensor system can generate two light beams that constantly monitor the rear direction of the vehicle and nearby blind spots. In at least one embodiment, the short-range RADAR system can be used in the ADAS system 1138 for blind spot detection and / or lane change assistance.

[0212] In at least one embodiment, the vehicle 1100 may further include one or more ultrasonic sensors 1162. In at least one embodiment, one or more ultrasonic sensors 1162 that may be positioned at the front, rear, and / or side positions of the vehicle 1100 may be used for parking assistance and / or creating and updating occupancy barriers. In at least one embodiment, a variety of ultrasonic sensors 1162 may be used, and different ultrasonic sensors 1162 may be used for different detection ranges (e.g., 2.5m, 4m). In at least one embodiment, the ultrasonic sensor 1162 may operate at a functional safety level of ASIL B.

[0213] In at least one embodiment, the vehicle 1100 may include one or more LIDAR sensors 1164. In at least one embodiment, the one or more LIDAR sensors 1164 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. In at least one embodiment, the one or more LIDAR sensors 1164 may operate at functional safety level ASIL B. In at least one embodiment, the vehicle 1100 may include multiple (e.g., two, four, six, etc.) LIDAR sensors 1164 that may use Ethernet channels (e.g., provide data to a Gigabit Ethernet switch).

[0214] In at least one embodiment, one or more LIDAR sensors 1164 may be able to provide a list of objects and their distances for a 360-degree field of view. In at least one embodiment, one or more commercially available LIDAR sensors 1164 may, for example, have an advertised range of approximately 100m, have an accuracy of 2cm-3cm, and support 100Mbps Ethernet connections. In at least one embodiment, one or more non-obtrusive LIDAR sensors may be used. In such an embodiment, one or more LIDAR sensors 1164 may include a small device that can be embedded in the front, rear, side, and / or corner positions of the vehicle 1100. In at least one embodiment, one or more LIDAR sensors 1164, in such an embodiment, may provide up to 120 degrees of horizontal field of view and 35 degrees of vertical field of view, even for objects with low reflectivity, and have a range of 200m.

[0215] In at least one embodiment, forward-facing LIDAR sensor(s) 1164 may be configured for a horizontal field of view between 45 degrees and 135 degrees.

[0216] In at least one embodiment, LIDAR technology (such as 3D flash LIDAR) may also be used. In at least one embodiment, 3D flash LIDAR uses laser flash as a transmission source to illuminate approximately 200m around the vehicle 1100. In at least one embodiment, the flash LIDAR unit includes but is not limited to a receiver that records the laser pulse propagation time and the reflected light on each pixel, which in turn corresponds to the range from the vehicle 1100 to the object. In at least one embodiment, the flash LIDAR can allow each laser flash to be used to generate a highly accurate and distortion-free image of the surrounding context. In at least one embodiment, four flash LIDAR sensors can be deployed, one sensor on each side of the vehicle 1100. In at least one embodiment, the 3D flash LIDAR system includes but is not limited to a solid-state 3D line-of-sight array LIDAR camera with no moving parts except for a fan (e.g., a non-scanning LIDAR device). In at least one embodiment, the flash LIDAR device can use 5 nanosecond Class I (eye-safe) laser pulses per frame and can capture the reflected laser light as a 3D range point cloud and co-registered intensity data.

[0217] In at least one embodiment, the vehicle 1100 may also include one or more IMU sensors 1166. In at least one embodiment, the one or more IMU sensors 1166 may be located at the center of the rear axle of the vehicle 1100. In at least one embodiment, the one or more IMU sensors 1166 may include, for example but not limited to, one or more accelerometers, one or more magnetometers, one or more gyroscopes, a magnetic compass, multiple magnetic compasses, and / or other sensor types. In at least one embodiment, for example in a six-axis application, the one or more IMU sensors 1166 may include but are not limited to accelerometers and gyroscopes. In at least one embodiment, for example in a nine-axis application, the one or more IMU sensors 1166 may include but are not limited to accelerometers, gyroscopes, and magnetometers.

[0218] In at least one embodiment, one or more IMU sensors 1166 may be implemented as a miniature high-performance GPS-aided inertial navigation system ("GPS / INS") that combines micro-electromechanical systems ("MEMS") inertial sensors, a high-sensitivity GPS receiver, and an advanced Kalman filter algorithm to provide estimates of position, velocity, and attitude; in at least one embodiment, one or more IMU sensors 1166 may enable the vehicle 1100 to estimate heading without input from a magnetic sensor by directly observing and correlating velocity changes from GPS to one or more IMU sensors 1166. In at least one embodiment, one or more IMU sensors 1166 and one or more GNSS sensors 1158 may be combined in a single integrated unit.

[0219] In at least one embodiment, the vehicle 1100 can include one or more microphones 1196 positioned within and / or around the vehicle 1100. In at least one embodiment, among other things, the one or more microphones 1196 can be used for emergency vehicle detection and identification.

[0220] In at least one embodiment, the vehicle 1100 may further include any number of camera types, including one or more stereo cameras 1168, one or more wide-angle cameras 1170, one or more infrared cameras 1172, one or more surround cameras 1174, one or more long-range cameras 1198, one or more mid-range cameras 1176, and / or other camera types. In at least one embodiment, the cameras may be used to capture image data around the entire periphery of the vehicle 1100. In at least one embodiment, the type of camera used depends on the vehicle 1100. In at least one embodiment, any combination of camera types may be used to provide the necessary coverage around the vehicle 1100. In at least one embodiment, the number of cameras deployed may vary depending on the embodiment. For example, in at least one embodiment, the vehicle 1100 may include six cameras, seven cameras, ten cameras, twelve cameras, or another number of cameras. In at least one embodiment, the cameras may, by way of example but not limitation, support Gigabit Multimedia Serial Link ("GMSL") and / or Gigabit Ethernet communications. In at least one embodiment, the present invention is described herein previously with reference to the accompanying drawings. Fig.11A and Fig. 11B Each camera can be described in more detail.

[0221] In at least one embodiment, the vehicle 1100 may further include one or more vibration sensors 1142. In at least one embodiment, the one or more vibration sensors 1142 may measure vibrations of a component (e.g., an axle) of the vehicle 1100. For example, in at least one embodiment, changes in vibration may indicate changes in the road surface. In at least one embodiment, when two or more vibration sensors 1142 are used, the difference between the vibrations may be used to determine friction or slippage of the road surface (e.g., when there is a vibration difference between a powered drive shaft and a freely rotating shaft).

[0222] In at least one embodiment, the vehicle 1100 may include an ADAS system 1138. In at least one embodiment, the ADAS system 1138 may include, but is not limited to, a SoC. In at least one embodiment, the ADAS system 1138 may include, but is not limited to, any number of autonomous / adaptive / automatic cruise control ("ACC") systems, cooperative adaptive cruise control ("CACC") systems, forward collision warning ("FCW") systems, automatic emergency braking ("AEB") systems, lane departure warning ("LDW") systems, lane keeping assist ("LKA") systems, blind spot warning ("BSW") systems, rear cross traffic warning ("RCTW") systems, collision warning ("CW") systems, lane centering ("LC") systems, and / or other systems, features, and / or functions, and combinations thereof.

[0223] In at least one embodiment, the ACC system may use one or more RADAR sensors 1160, one or more LIDAR sensors 1164, and / or any number of cameras. In at least one embodiment, the ACC system may include a longitudinal ACC system and / or a lateral ACC system. In at least one embodiment, the longitudinal ACC system monitors and controls the distance to another vehicle in close proximity to the vehicle 1100 and automatically adjusts the speed of the vehicle 1100 to maintain a safe distance from the vehicle ahead. In at least one embodiment, the lateral ACC system performs distance keeping and suggests that the vehicle 1100 change lanes when necessary. In at least one embodiment, lateral ACC is related to other ADAS applications, such as LC and CW.

[0224] In at least one embodiment, the CACC system uses information from other vehicles, which can be received from other vehicles via a wireless link or indirectly via a network connection (e.g., via the Internet) via a network interface 1124 and / or one or more wireless antennas 1126. In at least one embodiment, a direct link can be provided by a vehicle-to-vehicle ("V2V") communication link, while an indirect link can be provided by an infrastructure-to-vehicle ("I2V") communication link. Typically, V2V communications provide information about the vehicle immediately ahead (e.g., the vehicle immediately ahead of vehicle 1100 and in the same lane as it), while I2V communications provide information about traffic further ahead. In at least one embodiment, the CACC system can include one or both of the I2V and V2V information sources. In at least one embodiment, given the information of the vehicle ahead of vehicle 1100, the CACC system can be more reliable and has the potential to improve the smoothness of traffic flow and reduce road congestion.

[0225] In at least one embodiment, the FCW system is designed to warn the driver of the hazard so that the driver can take corrective action. In at least one embodiment, the FCW system uses a forward-facing camera and / or one or more RADAR sensors 1160, which are coupled to a dedicated processor, DSP, FPGA and / or ASIC, which are electrically coupled to provide driver feedback, such as a display, speaker and / or vibration component. In at least one embodiment, the FCW system can provide warnings, such as in the form of sounds, visual warnings, vibrations and / or rapid brake pulses.

[0226] In at least one embodiment, the AEB system detects an impending forward collision with another vehicle or other object and may automatically apply brakes if the driver does not take corrective action within specified time or distance parameters. In at least one embodiment, the AEB system may use one or more forward-facing cameras and / or one or more RADAR sensors 1160 coupled to a dedicated processor, DSP, FPGA, and / or ASIC. In at least one embodiment, when the AEB system detects a hazard, it typically first warns the driver to take corrective action to avoid the collision, and, if the driver does not take corrective action, the AEB system may automatically apply brakes to attempt to prevent or at least mitigate the effects of the predicted collision. In at least one embodiment, the AEB system may include technologies such as dynamic brake support and / or braking for impending collisions.

[0227] In at least one embodiment, the LDW system provides visual, audible, and / or tactile warnings, such as steering wheel or seat vibrations, to warn the driver when the vehicle 1100 crosses a lane marking. In at least one embodiment, the LDW system is inactive when the driver indicates an intentional lane departure, such as by activating a turn signal. In at least one embodiment, the LDW system may use a front-facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to provide driver feedback such as a display, speaker, and / or vibration component. In at least one embodiment, the LKA system is a variation of the LDW system. In at least one embodiment, if the vehicle 1100 begins to leave the lane, the LKA system provides steering input or braking to correct the vehicle 1100.

[0228] In at least one embodiment, the BSW system detects and warns the driver of vehicles in the blind spot of the car. In at least one embodiment, the BSW system can provide visual, auditory and / or tactile alerts to indicate that it is unsafe to merge or change lanes. In at least one embodiment, the BSW system can provide additional warnings when the driver uses a turn signal. In at least one embodiment, the BSW system can use one or more rear-facing cameras and / or one or more RADAR sensors 1160 coupled to a dedicated processor, DSP, FPGA and / or ASIC, which are electrically coupled to driver feedback, such as a display, speaker and / or vibration component.

[0229] In at least one embodiment, the RCTW system can provide visual, audible, and / or tactile notifications when an object is detected outside of the rear camera range while the vehicle 1100 is in reverse. In at least one embodiment, the RCTW system includes an AEB system to ensure application vehicle brakes to avoid a collision. In at least one embodiment, the RCTW system can use one or more rear-facing RADAR sensors 1160 coupled to a dedicated processor, DSP, FPGA, and / or ASIC that is electrically coupled to provide driver feedback such as a display, speaker, and / or vibration component.

[0230] In at least one embodiment, conventional ADAS systems may be prone to false positive results, which may annoy and distract the driver, but are generally not catastrophic because conventional ADAS systems warn the driver and allow the driver to decide whether a safe condition actually exists and take appropriate action. In at least one embodiment, in the event of conflicting results, the vehicle 1100 itself decides whether to listen to the results of the main computer or the secondary computer (e.g., the first controller or the second controller of the controller 1136). For example, in at least one embodiment, the ADAS system 1138 can be a backup and / or auxiliary computer for providing perception information to the backup computer rationality module. In at least one embodiment, the backup computer rationality monitor can run redundant various software on hardware components to detect faults in perception and dynamic driving tasks. In at least one embodiment, the output from the ADAS system 1138 can be provided to the monitoring MCU. In at least one embodiment, if the output from the main computer and the output from the auxiliary computer conflict, the supervisory MCU decides how to coordinate the conflict to ensure safe operation.

[0231] In at least one embodiment, the primary computer can be configured to provide a confidence score to the supervisory MCU to indicate the primary computer's confidence in the selected result. In at least one embodiment, if the confidence score exceeds a threshold, the supervisory MCU can follow the instructions of the primary computer regardless of whether the secondary computer provides conflicting or inconsistent results. In at least one embodiment, in the event that the confidence score does not meet the threshold, and in the event that the primary computer and the secondary computer indicate different results (e.g., conflict), the supervisory MCU can arbitrate between the computers to determine the appropriate result.

[0232] In at least one embodiment, the supervisory MCU can be configured to run a neural network that is trained and configured to determine conditions under which the auxiliary computer provides a false alarm based at least in part on outputs from the primary computer and outputs from the auxiliary computer. In at least one embodiment, the neural network in the supervisory MCU can learn when the output of the auxiliary computer can be trusted and when it cannot be trusted. For example, in at least one embodiment, when the auxiliary computer is a RADAR-based FCW system, the neural network in the supervisory MCU can learn when the FCW system identifies metal objects that are not actually dangerous, such as drainage grates or manhole covers that trigger alarms. In at least one embodiment, when the auxiliary computer is a camera-based LDW system, the neural network in the supervisory MCU can learn to override the LDW when there are cyclists or pedestrians and lane departure is actually the safest operation. In at least one embodiment, the supervisory MCU may include at least one of a DLA or a GPU suitable for running a neural network with associated memory. In at least one embodiment, the supervisory MCU may include and / or be included as a component of one or more SoCs 1104.

[0233] In at least one embodiment, the ADAS system 1138 may include an auxiliary computer that performs ADAS functions using traditional computer vision rules. In at least one embodiment, the auxiliary computer may use classical computer vision rules (if-then), and the presence of a neural network in the supervisory MCU may improve reliability, safety, and performance. For example, in at least one embodiment, the diverse implementations and intentional non-identity make the entire system more fault-tolerant, especially for failures caused by software (or software-hardware interface) functions. For example, in at least one embodiment, if there is a software vulnerability or error in the software running on the main computer, and the different software code running on the auxiliary computer provides a consistent overall result, the supervisory MCU can be more confident that the overall result is correct and that the vulnerability in the software or hardware on the main computer will not cause a major error.

[0234] In at least one embodiment, the output of the ADAS system 1138 can be input into the perception module of the main computer and / or the dynamic driving task module of the main computer. For example, in at least one embodiment, if the ADAS system 1138 indicates a forward collision warning due to an object directly ahead, the perception block can use this information in identifying the object. In at least one embodiment, as described herein, the auxiliary computer can have its own neural network that is trained to reduce the risk of false positives.

[0235] In at least one embodiment, the vehicle 1100 may further include an infotainment SoC 1130 (e.g., an in-vehicle infotainment system (IVI)). Although shown and described as a SoC, in at least one embodiment, the infotainment system SoC 1130 may not be a SoC and may include, but is not limited to, two or more discrete components. In at least one embodiment, the infotainment SoC 1130 may include, but is not limited to, a combination of hardware and software that can be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., TV, movies, streaming media, etc.), phone (e.g., hands-free calling), network connectivity (e.g., LTE, WiFi, etc.), and / or information services (e.g., navigation system, rear parking assist, radio data system, vehicle-related information such as fuel level, total distance covered, brake fuel level, oil level, door open / closed, air filter information, etc.) to the vehicle 1100. For example, the infotainment SoC 1130 may include a radio, a disk player, a navigation system, a video player, USB and Bluetooth connections, a car, an in-vehicle entertainment system, WiFi, steering wheel audio controls, hands-free voice control, a head-up display ("HUD"), an HMI display 1134, a telematics device, a control panel (e.g., for controlling and / or interacting with various components, features, and / or systems), and / or other components. In at least one embodiment, the infotainment SoC 1130 may be further used to provide information (e.g., visual and / or auditory) to a user of the vehicle 1100, such as information from an ADAS system 1138, autonomous driving information (such as planned vehicle maneuvers), trajectories, surrounding context information (e.g., intersection information, vehicle information, road information, etc.), and / or other information.

[0236] In at least one embodiment, the infotainment SoC 1130 may include any number and type of GPU functionality. In at least one embodiment, the infotainment SoC 1130 may communicate with other devices, systems, and / or components of the vehicle 1100 via the bus 1102. In at least one embodiment, the infotainment SoC 1130 may be coupled to a supervisory MCU so that the GPU of the infotainment system may perform some autonomous driving functions in the event of a failure of the main controller 1136 (e.g., the main computer and / or backup computer of the vehicle 1100). In at least one embodiment, the infotainment SoC 1130 may cause the vehicle 1100 to enter a driver-to-safety stop mode, as described herein.

[0237] In at least one embodiment, the vehicle 1100 may further include a dashboard 1132 (e.g., a digital dashboard, an electronic dashboard, a digital instrument panel, etc.). In at least one embodiment, the dashboard 1132 may include, but is not limited to, a controller and / or a supercomputer (e.g., a discrete controller or a supercomputer). In at least one embodiment, the dashboard 1132 may include, but is not limited to, any number and combination of a set of instruments, such as a speedometer, a fuel level, an oil pressure, a tachometer, an odometer, a turn indicator, a shift position indicator, one or more seat belt warning lights, one or more parking brake warning lights, one or more engine fault lights, supplementary restraint system (e.g., airbag) information, lighting controls, safety system controls, navigation information, etc. In some examples, information may be displayed and / or shared between the infotainment SoC 1130 and the dashboard 1132. In at least one embodiment, the dashboard 1132 may be included as part of the infotainment SoC 1130, and vice versa.

[0238] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig. 11C for inferring or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0239] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0240] Fig.11D According to at least one embodiment, a cloud-based server and Fig.11A 1100. In at least one embodiment, the system 1176 may include, but is not limited to, one or more servers 1178, one or more networks 1190, and any number and type of vehicles, including the vehicle 1100. In at least one embodiment, the one or more servers 1178 may include, but are not limited to, multiple GPUs 1184(A)-1184(H) (collectively referred to herein as GPUs 1184), PCIe switches 1182(A)-1182(D) (collectively referred to herein as PCIe switches 1182), and / or CPUs 1180(A)-1180(B) (collectively referred to herein as CPUs 1180), the GPUs 1184, the CPUs 1180, and the PCIe switches 1182 may be interconnected with high-speed connections, such as, but not limited to, the NVLink interface 1188 and / or PCIe connections 1186 developed by NVIDIA. In at least one embodiment, the GPUs 1184 are connected via NVLink and / or NVSwitch SoC, and the GPUs 1184 and PCIe switches 1182 are connected via PCIe interconnects. Although eight GPUs 1184, two CPUs 1180, and four PCIe switches 1182 are shown, this is not intended to be limiting. In at least one embodiment, each of the one or more servers 1178 may include, but is not limited to, any combination of any number of GPUs 1184, CPUs 1180, and / or PCIe switches 1182. For example, in at least one embodiment, one or more servers 1178 may each include eight, sixteen, thirty-two, and / or more GPUs 1184.

[0241] In at least one embodiment, one or more servers 1178 may receive image data representing an image from a vehicle via one or more networks 1190 that shows an unexpected or changed road condition, such as a recently started road project. In at least one embodiment, one or more servers 1178 may transmit an updated neural network 1192, and / or map information 1194, including but not limited to information about traffic and road conditions, via one or more networks 1190 and to the vehicle. In at least one embodiment, updates to the map information 1194 may include but are not limited to updates to the HD map 1122, such as information about construction sites, potholes, access roads, flooding, and / or other obstacles. In at least one embodiment, the neural network 1192 and / or map information 1194 may be generated by new training and / or experience represented in data received from any number of vehicles in context, and / or based at least on training performed at a data center (e.g., using one or more servers 1178 and / or other servers).

[0242] In at least one embodiment, one or more servers 1178 can be used to train a machine learning model (e.g., a neural network) based at least in part on the training data. In at least one embodiment, the training data can be generated by the vehicle, and / or can be generated in simulation (e.g., using a game engine). In at least one embodiment, any amount of the training data is labeled (e.g., where the associated neural network benefits from supervised learning) and / or undergoes other preprocessing. In at least one embodiment, no amount of the training data is labeled and / or preprocessed (e.g., where the associated neural network does not require supervised learning). In at least one embodiment, once the machine learning model is trained, the machine learning model can be used by the vehicle (e.g., transmitted to the vehicle via one or more networks 1190, and / or the machine learning model can be used by one or more servers 1178 to remotely monitor the vehicle.

[0243] In at least one embodiment, one or more servers 1178 may receive data from the vehicle and apply the data to the latest real-time neural network for real-time intelligent reasoning. In at least one embodiment, one or more servers 1178 may include a deep learning supercomputer and / or a dedicated AI computer powered by one or more GPUs 1184, such as the DGX and DGX Station machines developed by NVIDIA. However, in at least one embodiment, one or more servers 1178 may include a deep learning infrastructure of a data center powered by a CPU.

[0244] In at least one embodiment, the deep learning infrastructure of one or more servers 1178 may be capable of rapid, real-time inference, and may use this capability to assess and validate the health of the processors, software, and / or associated hardware in the vehicle 1100. For example, in at least one embodiment, the deep learning infrastructure may receive periodic updates from the vehicle 1100, such as an image sequence and / or objects that the vehicle 1100 has located in that image sequence (e.g., via computer vision and / or other machine learning object classification techniques). In at least one embodiment, the deep learning infrastructure may run its own neural network to identify objects and compare them to those identified by the vehicle 1100, and, if the results do not match and the deep learning infrastructure concludes that the AI ​​in the vehicle 1100 is malfunctioning, the one or more servers 1178 may send a signal to the vehicle 1100 to instruct the fail-safe computer of the vehicle 1100 to take control, notify passengers, and complete a safe parking maneuver.

[0245] In at least one embodiment, one or more servers 1178 may include one or more GPUs 1184 and one or more programmable inference accelerators (e.g., NVIDIA's TensorRT 3 device). In at least one embodiment, the combination of GPU-driven servers and inference acceleration can enable real-time response. In at least one embodiment, for example, in situations where performance is not critical, servers driven by CPUs, FPGAs, and other processors can be used for inference. In at least one embodiment, hardware structure 815 is used to execute one or more embodiments. This article combines Fig. 8A and / or Figure 8B Provides details about the hardware structure 815.

[0246] Computer Systems

[0247] Fig.12 1200 is a block diagram illustrating an exemplary computer system according to at least one embodiment, which may be a system of interconnected devices and components, a system on a chip (SOC), or some combination thereof formed with a processor, which may include an execution unit to execute instructions. In at least one embodiment, according to the present disclosure, such as the embodiments described herein, the computer system 1200 may include, but is not limited to, components, such as a processor 1202, whose execution unit includes logic to execute algorithms for processing data. In at least one embodiment, the computer system 1200 may include a processor, such as a processor available from Intel Corporation of Santa Clara, California. Processor family, Xeon TM , XScale TM and / or StrongARM TM , Core TM or Nervana TM microprocessor, although other systems (including PCs with other microprocessors, engineering workstations, set-top boxes, etc.) may also be used. In at least one embodiment, computer system 1200 may execute a version of the WINDOWS operating system available from Microsoft Corporation of Redmond, Wash., although other operating systems (e.g., UNIX and Linux), embedded software, and / or graphical user interfaces may also be used.

[0248] Embodiments may be used in other devices, such as handheld devices and embedded applications. Some examples of handheld devices include cellular phones, Internet Protocol (Internet Protocol) devices, digital cameras, personal digital assistants ("PDAs"), and handheld PCs. In at least one embodiment, the embedded application may include a microcontroller, a digital signal processor ("DSP"), a system on a chip, a network computer ("NetPC"), a set-top box, a network hub, a wide area network ("WAN") switch, or any other system that can execute one or more instructions according to at least one embodiment.

[0249] In at least one embodiment, the computer system 1200 may include, but is not limited to, a processor 1202, which may include, but is not limited to, one or more execution units 1208 to perform machine learning model training and / or reasoning according to the techniques described herein. In at least one embodiment, the computer system 1200 is a single-processor desktop or server system, but in another embodiment, the computer system 1200 may be a multi-processor system. In at least one embodiment, the processor 1202 may include, but is not limited to, a complex instruction set computer ("CISC") microprocessor, a reduced instruction set computing ("RISC") microprocessor, a very long instruction word ("VLIW") microprocessor, a processor that implements a combination of instruction sets, or any other processor device, such as a digital signal processor. In at least one embodiment, the processor 1202 may be coupled to a processor bus 1210, which may transmit data signals between the processor 1202 and other components in the computer system 1200.

[0250] In at least one embodiment, processor 1202 may include, but is not limited to, a level 1 ("L1") internal cache memory ("cache") 1204. In at least one embodiment, processor 1202 may have a single internal cache or multiple levels of internal cache. In at least one embodiment, the cache memory may reside external to processor 1202. Other embodiments may also include a combination of internal and external caches, depending on the particular implementation and needs. In at least one embodiment, register file 1206 may store different types of data in various registers, including, but not limited to, integer registers, floating point registers, status registers, and instruction pointer registers.

[0251] In at least one embodiment, an execution unit 1208, including but not limited to logic to perform integer and floating point operations, is also located in the processor 1202. In at least one embodiment, the processor 1202 may also include a microcode ("ucode") read-only memory ("ROM") for storing microcode for certain macroinstructions. In at least one embodiment, the execution unit 1208 may include logic for processing a packed instruction set 1209. In at least one embodiment, by including the packed instruction set 1209 in the instruction set of a general purpose processor, and associated circuitry to execute the instructions, operations used by many multimedia applications may be performed using packed data in the processor 1202. In one or more embodiments, many multimedia applications may be executed faster and more efficiently by using the full width of the processor's data bus to perform operations on packed data, which may not require the transfer of smaller units of data on the processor's data bus to perform one or more operations one data element at a time.

[0252] In at least one embodiment, execution unit 1208 may also be used in microcontrollers, embedded processors, graphics devices, DSPs, and other types of logic circuits. In at least one embodiment, computer system 1200 may include, but is not limited to, memory 1220. In at least one embodiment, memory 1220 may be a dynamic random access memory ("DRAM") device, a static random access memory ("SRAM") device, a flash memory device, or another storage device. In at least one embodiment, memory 1220 may store instructions 1219 and / or data 1221 represented by data signals that may be executed by processor 1202.

[0253] In at least one embodiment, the system logic chip can be coupled to the processor bus 1210 and the memory 1220. In at least one embodiment, the system logic chip can include, but is not limited to, a memory controller hub ("MCH") 1216, and the processor 1202 can communicate with the MCH 1216 via the processor bus 1210. In at least one embodiment, the MCH 1216 can provide a high bandwidth memory path 1218 to the memory 1220 for instruction and data storage and for storage of graphics commands, data, and textures. In at least one embodiment, the MCH 1216 can initiate data signals between the processor 1202, the memory 1220, and other components in the computer system 1200, and bridge data signals between the processor bus 1210, the memory 1220, and the system I / O interface 1222. In at least one embodiment, the system logic chip can provide a graphics port for coupling to a graphics controller. In at least one embodiment, the MCH 1216 may be coupled to the memory 1220 via a high bandwidth memory path 1218 , and the graphics / video card 1212 may be coupled to the MCH 1216 via an Accelerated Graphics Port (“AGP”) interconnect 1214 .

[0254] In at least one embodiment, the computer system 1200 can use the system I / O interface 1222 as a proprietary hub interface bus to couple the MCH 1216 to an I / O controller hub ("ICH") 1230. In at least one embodiment, the ICH 1230 can provide direct connections to certain I / O devices through a local I / O bus. In at least one embodiment, the local I / O bus can include, but is not limited to, a high-speed I / O bus used to connect peripheral devices to the memory 1220, the chipset, and the processor 1202. Examples can include, but are not limited to, an audio controller 1229, a firmware hub ("Flash BIOS") 1228, a wireless transceiver 1226, a data store 1224, a traditional I / O controller 1223 including a user input and keyboard interface, a serial expansion port 1227 (e.g., a universal serial bus (USB) port), and a network controller 1234. In at least one embodiment, the data store 1224 can include a hard drive, a floppy drive, a CD-ROM device, a flash memory device, or other mass storage device.

[0255] In at least one embodiment, Fig.12 The system is shown as comprising interconnected hardware devices or "chips", while in other embodiments, Fig.12 A SoC may be shown. In at least one embodiment, Fig.12The devices shown in can be interconnected with a proprietary interconnect, a standardized interconnect (eg, PCIe), or some combination thereof. In at least one embodiment, one or more components of computer system 1200 are interconnected using a compute express link (CXL) interconnect.

[0256] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations related to one or more embodiments. Fig. 8A and / or Figure 8B Provide details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be Fig.12 for use in a system for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0257] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0258] Fig.13 1 is a block diagram illustrating an electronic device 1300 for utilizing a processor 1310 according to at least one embodiment. In at least one embodiment, the electronic device 1300 may be, for example but not limited to, a notebook computer, a tower server, a rack server, a blade server, a laptop computer, a desktop computer, a tablet computer, a mobile device, a phone, an embedded computer, or any other suitable electronic device.

[0259] In at least one embodiment, electronic device 1300 may include, but is not limited to, a processor 1310 communicatively coupled to any suitable number or type of components, peripherals, modules, or devices. In at least one embodiment, processor 1310 is coupled using a bus or interface, such as an I 2 C bus, system management bus ("SMBus"), low pin count (LPC) bus, serial peripheral interface ("SPI"), high-definition audio ("HDA") bus, serial advanced technology attachment ("SATA") bus, universal serial bus ("USB") (version 1, 2, 3, etc.), or universal asynchronous receiver / transmitter ("UART") bus. In at least one embodiment, Fig.13 A system is shown that includes interconnected hardware devices or "chips", while in other embodiments, Fig.13An exemplary SoC may be shown. In at least one embodiment, Fig.13 The devices shown in can be interconnected with a proprietary interconnect, a standardized interconnect (e.g., PCIe), or some combination thereof. In at least one embodiment, Fig.13 One or more components of the system are interconnected using Compute Express Link (CXL) interconnect lines.

[0260] In at least one embodiment, Fig.13 It may include a display 1324, a touch screen 1325, a touch pad 1330, a near field communication unit (“NFC”) 1345, a sensor hub 1340, a thermal sensor 1346, a fast chipset (“EC”) 1335, a trusted platform module (“TPM”) 1338, a BIOS / firmware / flash (“BIOS, FW Flash”) 1322, a DSP 1360, a drive 1320 (e.g., a solid state disk (“SSD”) or a hard disk drive (“HDD”)), a wireless local area network unit (“WLAN”) 1350, a Bluetooth unit 1352, a wireless wide area network unit (“WWAN”) 1356, a global positioning system (GPS) unit 1355, a camera (“USB 3.0 camera”) 1354 (e.g., a USB 3.0 camera), and / or a low power double data rate (“LPDDR”) memory unit (“LPDDR3”) 1315 implemented with, for example, the LPDDR3 standard. These components may each be implemented in any suitable manner.

[0261] In at least one embodiment, other components may be communicatively coupled to the processor 1310 through the components described herein. In at least one embodiment, the accelerometer 1341, contextual light sensor (“ALS”) 1342, compass 1343, and gyroscope 1344 may be communicatively coupled to the sensor hub 1340. In at least one embodiment, the thermal sensor 1339, fan 1337, keyboard 1336, and touchpad 1330 may be communicatively coupled to the EC 1335. In at least one embodiment, the speaker 1363, earphone 1364, and microphone (“mic”) 1365 may be communicatively coupled to the audio unit (“audio codec and class D amplifier”) 1362, which in turn may be communicatively coupled to the DSP 1360. In at least one embodiment, the audio unit 1362 may include, for example, but not limited to, an audio encoder / decoder (“codec”) and a class D amplifier. In at least one embodiment, the SIM card (“SIM”) 1357 may be communicatively coupled to the WWAN unit 1356. In at least one embodiment, components such as the WLAN unit 1350 and the Bluetooth unit 1352 and the WWAN unit 1356 may be implemented as a next generation form factor (NGFF).

[0262] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig.13 for use in reasoning or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0263] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0264] Fig.14 A computer system 1400 is shown in accordance with at least one embodiment. In at least one embodiment, the computer system 1400 is configured to implement the various processes and methods described throughout this disclosure.

[0265] In at least one embodiment, computer system 1400 includes, but is not limited to, at least one central processing unit ("CPU") 1402 connected to a communication bus 1410 implemented using any suitable protocol, such as PCI ("Peripheral Component Interconnect"), Peripheral Component Interconnect Express ("PCI-Express"), AGP ("Accelerated Graphics Port"), HyperTransport, or any other bus or point-to-point communication protocol. In at least one embodiment, computer system 1400 includes, but is not limited to, main memory 1404 and control logic (e.g., implemented as hardware, software, or a combination thereof), and data may be stored in main memory 1404 in the form of random access memory ("RAM"). In at least one embodiment, a network interface subsystem ("network interface") 1422 provides an interface to other computing devices and networks for receiving data using computer system 1400 and transmitting data to other systems.

[0266] In at least one embodiment, computer system 1400 includes, but is not limited to, input device 1408, parallel processing system 1412, and display device 1406, which may be implemented using conventional cathode ray tubes ("CRT"), liquid crystal displays ("LCD"), light emitting diode ("LED") displays, plasma displays, or other suitable display technologies. In at least one embodiment, user input is received from input device 1408 (such as a keyboard, mouse, touch pad, microphone, etc.). In at least one embodiment, each of the modules described herein may be located on a single semiconductor platform to form a processing system.

[0267] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig.14 to perform inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0268] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0269] Fig.15 A computer system 1500 according to at least one embodiment is shown. In at least one embodiment, the computer system 1500 includes, but is not limited to, a computer 1510 and a USB disk 1520. In at least one embodiment, the computer 1510 may include, but is not limited to, any number and type of processors (not shown) and memories (not shown). In at least one embodiment, the computer 1510 includes, but is not limited to, a server, a cloud instance, a laptop computer, and a desktop computer.

[0270] In at least one embodiment, the USB disk 1520 includes, but is not limited to, a processing unit 1530, a USB interface 1540, and a USB interface logic 1550. In at least one embodiment, the processing unit 1530 may be any instruction execution system, device, or device capable of executing instructions. In at least one embodiment, the processing unit 1530 may include, but is not limited to, any number and type of processing cores (not shown). In at least one embodiment, the processing unit 1530 includes an application specific integrated circuit ("ASIC") that is optimized to perform any number and type of operations associated with machine learning. For example, in at least one embodiment, the processing unit 1530 is a tensor processing unit ("TPC") that is optimized to perform machine learning reasoning operations. In at least one embodiment, the processing unit 1530 is a visual processing unit ("VPU") that is optimized to perform machine vision and machine learning reasoning operations.

[0271] In at least one embodiment, USB interface 1540 can be any type of USB connector or USB socket. For example, in at least one embodiment, USB interface 1540 is a USB 3.0 Type-C socket for data and power. In at least one embodiment, USB interface 1540 is a USB 3.0 Type-A connector. In at least one embodiment, USB interface logic 1550 can include any number and type of logic that enables processing unit 1530 to connect to a device (e.g., computer 1510) via USB connector 1540.

[0272] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be implemented in the system Fig.15 In some embodiments, the present invention provides a method for performing inference or prediction operations based at least in part on weight parameters, neural network functions and / or architectures calculated using neural network training operations, or neural network use cases described herein.

[0273] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0274] Fig.16AAn exemplary architecture is shown in which multiple GPUs 1610(1)-1610(N) are communicatively coupled to multiple multi-core processors 1605(1)-1605(M) via high-speed links 1640(1)-1640(N) (e.g., a bus / point-to-point interconnect, etc.). In at least one embodiment, the high-speed links 1640(1)-1640(N) support 4GB / s, 30GB / s, 80GB / s, or higher communication throughput. In at least one embodiment, various interconnect protocols may be used, including but not limited to PCIe 4.0 or 5.0 and NVLink 2.0. In the various figures, "N" and "M" represent positive integers, whose values ​​may vary from figure to figure.

[0275] In addition, in one embodiment, two or more GPUs 1610 are interconnected via high-speed links 1629(1)-1629(2), which may be implemented using protocols / links similar to or different from those used for high-speed links 1640(1)-1640(N). Similarly, two or more multi-core processors 1605 may be connected via high-speed link 1628, which may be a symmetric multiprocessor (SMP) bus operating at 20 GB / s, 30 GB / s, 120 GB / s, or higher. Alternatively, similar protocols / links may be used (e.g., via a common interconnect fabric) to accomplish this. Fig.16A All communications between the various system components shown in .

[0276] In one embodiment, each multi-core processor 1605 is communicatively coupled to processor memory 1601(1)-1601(M) via memory interconnects 1626(1)-1626(M), respectively, and each GPU 1610(1)-1610(N) is communicatively coupled to GPU memory 1620(1)-1620(N) via GPU memory interconnects 1650(1)-1650(N), respectively. In at least one embodiment, memory interconnects 1626 and 1650 may utilize similar or different memory access technologies. By way of example and not limitation, processor memory 1601(1)-1601(M) and GPU memory 1620 may be volatile memory, such as dynamic random access memory (DRAM) (including stacked DRAM), graphics DDR SDRAM (GDDR) (e.g., GDDR5, GDDR6), or high bandwidth memory (HBM), and / or may be non-volatile memory, such as 3D XPoint or Nano-Ram. In at least one embodiment, some portion of the processor memory 1601 may be volatile memory while another portion may be non-volatile memory (eg, using a two-level memory (2LM) hierarchy).

[0277] As described herein, although the various multi-core processors 1605 and GPUs 1610 may be physically coupled to specific memories 1601, 1620, respectively, and / or a unified memory architecture may be implemented in which a virtual system address space (also referred to as an "effective address" space) is distributed among the various physical memories. For example, processor memories 1601(1)-1601(M) may each contain 64GB of system memory address space, and GPU memories 1620(1)-1620(N) may each contain 32GB of system memory address space, resulting in a total addressable memory size of 256GB when M=2 and N=4. Other values ​​of N and M are also possible.

[0278] Fig. 16B Additional details for interconnection between multi-core processor 1607 and graphics acceleration module 1646 are shown according to an exemplary embodiment. In at least one embodiment, graphics acceleration module 1646 may include one or more GPU chips integrated on a line card that is coupled to processor 1607 via a high-speed link 1640 (e.g., PCIe bus, NVLink, etc.). In at least one embodiment, graphics acceleration module 1646 may be selectively integrated on a package or chip with processor 1607.

[0279] In at least one embodiment, the processor 1607 includes a plurality of cores 1660A-1660D, each core having a translation lookaside buffer ("TLB") 1661A-1661D and one or more caches 1662A-1662D. In at least one embodiment, the cores 1660A-1660D may include various other components not shown for executing instructions and processing data. In at least one embodiment, the caches 1662A-1662D may include level 1 (L1) and level 2 (L2) caches. In addition, one or more shared caches 1656 may be included in the caches 1662A-1662D and shared by each group of cores 1660A-1660D. For example, one embodiment of the processor 1607 includes 24 cores, each core having its own L1 cache, twelve shared L2 caches, and twelve shared L3 caches. In this embodiment, two adjacent cores share one or more L2 and L3 caches. In at least one embodiment, the processor 1607 and the graphics acceleration module 1646 are connected to the system memory 1614, which may include Fig.16A Processor memory 1601(1)-1601(M) in.

[0280] In at least one embodiment, coherency is maintained for data and instructions stored in the various caches 1662A-1662D, 1656, and system memory 1614 via inter-core communications over coherency bus 1664. In at least one embodiment, for example, each cache may have cache coherency logic / circuitry associated therewith to communicate in response to detecting a read or write to a particular cache line over coherency bus 1664. In at least one embodiment, a cache snooping protocol is implemented over coherency bus 1664 to snoop cache accesses.

[0281] In at least one embodiment, the proxy circuit 1625 communicatively couples the graphics acceleration module 1646 to the coherence bus 1664, thereby allowing the graphics acceleration module 1646 to participate in a cache coherence protocol as a peer of the cores 1660A-1660D. In particular, in at least one embodiment, the interface 1635 provides a connection to the proxy circuit 1625 via the high-speed link 1640, and the interface 1637 connects the graphics acceleration module 1646 to the high-speed link 1640.

[0282] In at least one embodiment, the accelerator integrated circuit 1636 provides cache management, memory access, context management, and interrupt management services on behalf of the multiple graphics processing engines 1631(1)-1631(N) of the graphics acceleration module. In at least one embodiment, the graphics processing engines 1631(1)-1631(N) may each include a separate graphics processing unit (GPU). In at least one embodiment, the graphics processing engines 1631(1)-1631(N) may selectively include different types of graphics processing engines within a GPU, such as a graphics execution unit, a media processing engine (e.g., a video encoder / decoder), a sampler, and a blit engine. In at least one embodiment, the graphics acceleration module 1646 may be a GPU having multiple graphics processing engines 1631(1)-1631(N), or the graphics processing engines 1631(1)-1631(N) may be individual GPUs integrated on a common package, line card, or chip.

[0283] In at least one embodiment, the accelerator integrated circuit 1636 includes a memory management unit (MMU) 1639 for performing various memory management functions, such as virtual to physical memory translation (also known as effective to real memory translation), and a memory access protocol for accessing system memory 1614. In at least one embodiment, the MMU 1639 may also include a translation lookaside buffer ("TLB") (not shown) for caching virtual / effective to physical / real address translations. In at least one embodiment, the cache 1638 may store commands and data for efficient access by the graphics processing engines 1631(1)-1631(N). In at least one embodiment, a fetch unit 1644 may be used to keep data stored in the cache 1638 and graphics memory 1633(1)-1633(M) consistent with the core caches 1662A-1662D, 1656, and system memory 1614. As previously described, this task may be accomplished via proxy circuitry 1625 acting on behalf of cache 1638 and graphics memory 1633(1)-1633(M) (e.g., sending updates relating to modifications / accesses of cache lines on processor caches 1662A-1662D, 1656 to cache 1638 and receiving updates from cache 1638).

[0284] In at least one embodiment, a set of registers 1645 stores context data for threads executed by graphics processing engines 1631(1)-1631(N), and context management circuitry 1648 manages thread contexts. For example, context management circuitry 1648 may perform save and restore operations to save and restore contexts for various threads during context switches (e.g., where a first thread is saved and a second thread is stored so that the second thread can be executed by the graphics processing engine). For example, context management circuitry 1648 may store current register values ​​to a specified area in memory (e.g., identified by a context pointer) upon context switching. The register values ​​may then be restored when returning to context. In at least one embodiment, interrupt management circuitry 1647 receives and processes interrupts received from system devices.

[0285] In one implementation, the MMU 1639 translates virtual / effective addresses from the graphics processing engine 1631 to real / physical addresses in the system memory 1614. In at least one embodiment, the accelerator integrated circuit 1636 supports multiple (e.g., 4, 8, 16) graphics accelerator modules 1646 and / or other accelerator devices. In at least one embodiment, the graphics accelerator module 1646 can be dedicated to a single application executing on the processor 1607, or can be shared among multiple applications. In at least one embodiment, a virtualized graphics execution context is presented in which the resources of the graphics processing engines 1631 (1)-1631 (N) are shared with multiple applications or virtual machines (VMs). In at least one embodiment, the resources can be subdivided into "slices" that are allocated to different VMs and / or applications based on processing requirements and priorities associated with the VMs and / or applications.

[0286] In at least one embodiment, accelerator integrated circuit 1636 performs as a bridge to the system of graphics acceleration modules 1646 and provides address translation and system memory cache services. In addition, in at least one embodiment, accelerator integrated circuit 1636 can provide virtualization facilities for the host processor to manage virtualization, interrupts, and memory management of graphics processing engines 1631(1)-1631(N).

[0287] In at least one embodiment, since the hardware resources of graphics processing engines 1631(1)-1631(N) are explicitly mapped into the real address space seen by host processor 1607, any host processor can directly address these resources using effective address values. In at least one embodiment, one function of accelerator integrated circuit 1636 is to physically separate graphics processing engines 1631(1)-1631(N) so that they appear to the system as independent units.

[0288] In at least one embodiment, one or more graphics memories 1633(1)-1633(M) are coupled to each graphics processing engine 1631(1)-1631(N), respectively, and N=M. In at least one embodiment, graphics memories 1633(1)-1633(M) store instructions and data, which are processed by each graphics processing engine 1631(1)-1631(N). In at least one embodiment, graphics memories 1633(1)-1633(M) may be volatile memory, such as DRAM (including stacked DRAM), GDDR memory (e.g., GDDR5, GDDR6), or HBM, and / or may be non-volatile memory, such as 3DXPoint or Nano-Ram.

[0289] In one embodiment, to reduce data traffic on high-speed link 1640, biasing techniques are used to ensure that the data stored in graphics memory 1633(1)-1633(M) is the data most frequently used by graphics processing engines 1631(1)-1631(N), and preferably data that is not used (at least not frequently) by cores 1660A-1660D. Similarly, in at least one embodiment, the biasing mechanism attempts to keep data needed by the cores (and preferably not graphics processing engines 1631(-1)-1631(N)) in caches 1662A-1662D, 1656, and system memory 1614.

[0290] Fig. 16C Another exemplary embodiment is shown in which an accelerator integrated circuit 1636 is integrated within the processor 1607. In this embodiment, the graphics processing engines 1631(1)-1631(N) communicate directly with the accelerator integrated circuit 1636 via interface 1637 and interface 1635 (which may also be any form of bus or interface protocol) over a high-speed link 1640. In at least one embodiment, the accelerator integrated circuit 1636 may perform communication with respect to Fig. 16B The operations described above are similar to the operations described above. However, due to its close proximity to the coherence bus 1664 and caches 1662A-1662D, 1656, higher throughput is possible. One embodiment supports different programming models, including a dedicated process programming model (without graphics acceleration module virtualization) and a shared programming model (with virtualization), which can include a programming model controlled by the accelerator integrated circuit 1636 and a programming model controlled by the graphics acceleration module 1646.

[0291] In at least one embodiment, graphics processing engines 1631(1)-1631(N) are dedicated to a single application or process under a single operating system. In at least one embodiment, a single application can funnel other application requests to graphics processing engines 1631(1)-1631(N), thereby providing virtualization within a VM / partition.

[0292] In at least one embodiment, graphics processing engines 1631(1)-1631(N) may be shared by multiple VM / application partitions. In at least one embodiment, the sharing model may use a hypervisor to virtualize graphics processing engines 1631(1)-1631(N) to allow each operating system to access. In at least one embodiment, for a single partition system without a hypervisor, the operating system owns graphics processing engines 1631(1)-1631(N). In at least one embodiment, the operating system may virtualize graphics processing engines 1631(1)-1631(N) to provide access to each process or application.

[0293] In at least one embodiment, the graphics acceleration module 1646 or individual graphics processing engines 1631(1)-1631(N) uses a process handle to select a process element. In at least one embodiment, the process element is stored in the system memory 1614 and can be addressed using the effective address to real address translation techniques described herein. In at least one embodiment, the process handle can be an implementation-specific value that is provided to the host process when registering its context with the graphics processing engine 1631(1)-1631(N) (i.e., calling system software to add the process element to a process element linked list). In at least one embodiment, the lower 16 bits of the process handle can be the offset of the process element in the process element linked list.

[0294] Fig.16D An exemplary accelerator integrated slice 1690 is shown. In at least one embodiment, a "slice" comprises a designated portion of the processing resources of the accelerator integrated circuit 1636. In at least one embodiment, the application is an effective address space 1682 in the system memory 1614, which stores a process element 1683. In at least one embodiment, the process element 1683 is stored in response to a GPU call 1681 from an application 1680 executing on the processor 1607. In at least one embodiment, the process element 1683 contains the process state of the corresponding application 1680. In one embodiment, the work descriptor (WD) 1684 contained in the process element 1683 can be a single job requested by the application, or can contain a pointer to a job queue. In at least one embodiment, the WD 1684 is a pointer to a job request queue in the effective address space 1682 of the application.

[0295] In at least one embodiment, the graphics acceleration module 1646 and / or the individual graphics processing engines 1631(1)-1631(N) may be shared by all processes or a subset of processes in the system. In at least one embodiment, infrastructure may be included for setting process state and sending WD 1684 to the graphics acceleration module 1646 to start a job in a virtualized context.

[0296] In at least one embodiment, the dedicated process programming model is implementation specific. In at least one embodiment, in this model, a single process owns a graphics acceleration module 1646 or an individual graphics processing engine 1631. In at least one embodiment, when the graphics acceleration module 1646 is owned by a single process, the hypervisor initializes the accelerator integrated circuit for the owned partition, and when the graphics acceleration module 1646 is assigned, the operating system initializes the accelerator integrated circuit 1636 for the owned process.

[0297] In operation, in at least one embodiment, a WD fetch unit 1691 in the accelerator integrated slice 1690 fetches a next WD 1684, which includes an indication of work to be completed by one or more graphics processing engines of the graphics acceleration module 1646. In at least one embodiment, data from the WD 1684 may be stored in registers 1645 and used by the MMU 1639, interrupt management circuitry 1647, and / or context management circuitry 1648, as shown. For example, one embodiment of the MMU 1639 includes a segment / page roaming circuit for accessing a segment / page table 1686 within the OS virtual address space 1685. In at least one embodiment, the interrupt management circuitry 1647 may process an interrupt event 1692 received from the graphics acceleration module 1646. In at least one embodiment, when performing graphics operations, effective addresses 1693 generated by the graphics processing engines 1631(1)-1631(N) are converted to real addresses by the MMU 1639.

[0298] In one embodiment, registers 1645 are replicated for each graphics processing engine 1631(1)-1631(N) and / or graphics acceleration module 1646 and can be initialized by a hypervisor or operating system. In at least one embodiment, each of these replicated registers can be included in an accelerator integrated slice 1690. Exemplary registers that can be initialized by a hypervisor are shown in Table 6.

[0299]

[0300] Example registers that may be initialized by the operating system are shown in Table 7.

[0301]

[0302] In at least one embodiment, each WD 1684 is specific to a particular graphics acceleration module 1646 and / or graphics processing engine 1631(1)-1631(N). In at least one embodiment, it contains all the information needed by the graphics processing engine 1631(1)-1631(N) to complete the work, or it can be a pointer to a memory location where the application has set up a command queue for the work to be done.

[0303] Fig.16E Additional details of an exemplary embodiment of a sharing model are shown. This embodiment includes a hypervisor real address space 1698 in which a process element list 1699 is stored. In at least one embodiment, the hypervisor real address space 1698 can be accessed via a hypervisor 1696 that virtualizes a graphics acceleration module engine for an operating system 1695.

[0304] In at least one embodiment, the shared programming model allows all processes or subsets of processes from all partitions or subsets of partitions in the system to use the graphics acceleration module 1646. In at least one embodiment, there are two programming models where the graphics acceleration module 1646 is shared by multiple processes and partitions, namely, time-slice sharing and graphics-directed sharing.

[0305] In at least one embodiment, in this model, the hypervisor 1696 owns the graphics acceleration module 1646 and makes its functionality available to all operating systems 1695. In at least one embodiment, for the graphics acceleration module 1646 to support virtualization through the hypervisor 1696, the graphics acceleration module 1646 may comply with certain requirements, such as (1) the application's job requests must be autonomous (i.e., no state needs to be maintained between jobs), or the graphics acceleration module 1646 must provide a context save and restore mechanism, (2) the graphics acceleration module 1646 guarantees that the application's job requests are completed within a specified amount of time, including any transition errors, or the graphics acceleration module 1646 provides the ability to preempt job processing, and (3) fairness between graphics acceleration module 1646 processes must be ensured when operating in a directed shared programming model.

[0306] In at least one embodiment, the application 1680 is required to make an operating system 1695 system call using a graphics acceleration module type, a work descriptor (WD), an authority mask register (AMR) value, and a context save / restore region pointer (CSRP). In at least one embodiment, the graphics acceleration module type describes the target acceleration function for the system call. In at least one embodiment, the graphics acceleration module type can be a system-specific value. In at least one embodiment, the WD is formatted specifically for the graphics acceleration module 1646 and can take the form of a graphics acceleration module 1646 command, an effective address pointer to a user-defined structure, an effective address pointer to a command queue, or any other data structure that describes the work to be done by the graphics acceleration module 1646.

[0307] In at least one embodiment, the AMR value is the AMR state for the current process. In at least one embodiment, the value passed to the operating system is similar to the application that sets the AMR. In at least one embodiment, if the implementation of the accelerator integrated circuit 1636 (not shown) and the graphics acceleration module 1646 does not support the user authority mask overwrite register (UAMOR), the operating system can apply the current UAMOR value to the AMR value before passing the AMR in the hypervisor call. In at least one embodiment, the hypervisor 1696 can selectively apply the current authority mask overwrite register (AMOR) value before placing the AMR in the process element 1683. In at least one embodiment, the CSRP is one of the registers 1645, which contains the effective address of the area in the effective address space 1682 of the application for the graphics acceleration module 1646 to save and restore the context state. In at least one embodiment, if it is not necessary to save the state between jobs or when the job is preempted, the pointer is optional. In at least one embodiment, the context save / restore area can be a fixed system memory.

[0308] Upon receiving the system call, the operating system 1695 can verify that the application 1680 has been registered and granted permission to use the graphics acceleration module 1646. Then, in at least one embodiment, the operating system 1695 calls the hypervisor 1696 using the information shown in Table 8.

[0309]

[0310] In at least one embodiment, upon receiving the hypervisor call, hypervisor 1696 verifies that operating system 1695 has registered and been granted permission to use graphics acceleration module 1646. Then, in at least one embodiment, hypervisor 1696 places process element 1683 into a linked list of process elements of the corresponding graphics acceleration module 1646 type. In at least one embodiment, the process element may include the information shown in Table 9.

[0311]

[0312]

[0313] In at least one embodiment, the hypervisor initializes the plurality of accelerator integrated slices 1690 registers 1645 .

[0314] like Fig.16FAs shown, in at least one embodiment, a unified memory is used, which is addressable via a common virtual memory address space for accessing physical processor memory 1601(1)-1601(N) and GPU memory 1620(1)-1620(N). In this implementation, operations executed on GPUs 1610(1)-1610(N) utilize the same virtual / effective memory address space to access processor memory 1601(1)-1601(M), and vice versa, thereby simplifying programmability. In at least one embodiment, a first portion of the virtual / effective address space is allocated to processor memory 1601(1), a second portion is allocated to second processor memory 1601(N), a third portion is allocated to GPU memory 1620(1), and so on. In at least one embodiment, the entire virtual / effective memory space (sometimes referred to as the effective address space) is thus distributed in each of processor memory 1601 and GPU memory 1620, thereby allowing any processor or GPU to access the memory using a virtual address mapped to any physical memory.

[0315] In one embodiment, bias / coherency management circuits 1694A-1694E within one or more MMUs 1639A-1639E ensure cache coherency between caches of one or more host processors (e.g., 1605) and GPU 1610 and implement biasing techniques that indicate physical memory where certain types of data should be stored. In at least one embodiment, while Fig.16F Multiple instances of bias / consistency management circuits 1694A- 1694E are shown in , but bias / consistency circuits may be implemented within an MMU of one or more host processors 1605 and / or within an accelerator integrated circuit 1636 .

[0316] One embodiment allows GPU memory 1620 to be mapped as part of system memory and accessed using shared virtual memory (SVM) technology, but without suffering the performance drawbacks associated with full system cache coherence. In at least one embodiment, the ability to access GPU memory 1620 as system memory without heavy cache coherence overhead provides a favorable operating context for GPU offloading. In at least one embodiment, the arrangement allows software of the host processor 1605 to set operands and access calculation results without the overhead of traditional I / O DMA data copying. In at least one embodiment, such traditional copies include driver calls, interrupts, and memory mapped I / O (MMIO) accesses, which are all less efficient than simple memory accesses. In at least one embodiment, the ability to access GPU memory 1620 without cache coherence overhead may be critical to the execution time of the offloaded calculation. In at least one embodiment, for example, in the case of a large amount of streaming write memory traffic, the cache coherence overhead can significantly reduce the effective write bandwidth seen by GPU 1610. In at least one embodiment, the efficiency of operand setup, the efficiency of result access, and the efficiency of GPU calculation may play a role in determining the effectiveness of GPU offloading.

[0317] In at least one embodiment, the selection of GPU bias and host processor bias is driven by a bias tracker data structure. In at least one embodiment, for example, a bias table can be used, which can be a page granular structure (e.g., controlled at the granularity of a memory page) that includes 1 or 2 bits of memory page attached to each GPU. In at least one embodiment, with or without a bias cache in GPU 1610 (e.g., for caching frequently / recently used entries of the bias table), the bias table can be implemented in the stolen memory range of one or more GPU memories 1620. Alternatively, in at least one embodiment, the entire bias table can be maintained within the GPU.

[0318] In at least one embodiment, the bias table entry associated with each access to the GPU attached memory 1620 is accessed before the GPU memory is actually accessed, resulting in the following operations. In at least one embodiment, local requests from GPU 1610 that find their pages in the GPU bias are forwarded directly to the corresponding GPU memory 1620. In at least one embodiment, local requests from the GPU that find their pages in the host bias are forwarded to processor 1605 (e.g., via a high-speed link as described herein). In at least one embodiment, the request from processor 1605 to find the requested page in the host processor bias completes a request similar to a normal memory read. Alternatively, a request directed to a GPU bias page can be forwarded to GPU 1610. In at least one embodiment, if the GPU is not currently using the page, the GPU can then migrate the page to the host processor bias. In at least one embodiment, the bias state of a page can be changed by a software-based mechanism, a hardware-assisted software-based mechanism, or in limited cases by a purely hardware-based mechanism.

[0319] In at least one embodiment, a mechanism for changing the bias state employs an API call (e.g., OpenCL) that then calls the GPU's device driver, which then sends a message (or queues a command descriptor) to the GPU, directing the GPU to change the bias state and, in certain migrations, perform a cache flush operation in the host. In at least one embodiment, the cache flush operation is used for migrations from host processor 1605 bias to GPU bias, but not for the reverse migration.

[0320] In one embodiment, cache coherency is maintained by temporarily rendering GPU biased pages that cannot be cached by host processor 1605. In at least one embodiment, to access these pages, processor 1605 may request access from GPU 1610, which may or may not immediately grant access. Therefore, in at least one embodiment, to reduce communication between processor 1605 and GPU 1610, it is beneficial to ensure that GPU biased pages are pages required by the GPU and not by the host processor 1605, and vice versa.

[0321] One or more hardware structures 815 are used to execute one or more embodiments. Fig. 8A and / or Figure 8B Details regarding one or more hardware structures 815 are provided.

[0322] Fig.17An exemplary integrated circuit and associated graphics processor according to various embodiments described herein are shown, which can be manufactured using one or more IP cores. In addition to the illustrations, other logic and circuits may be included in at least one embodiment, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.

[0323] Fig.17 1700 is a block diagram illustrating an exemplary system on a chip integrated circuit 1700 that can be manufactured using one or more IP cores according to at least one embodiment. In at least one embodiment, the integrated circuit 1700 includes one or more application processors 1705 (e.g., CPU), at least one graphics processor 1710, and may additionally include an image processor 1715 and / or a video processor 1720, any of which may be a modular IP core. In at least one embodiment, the integrated circuit 1700 includes peripheral or bus logic, which includes a USB controller 1725, a UART controller 1730, an SPI / SDIO controller 1735, and an I 2 2S / I 2 2C controller 1740. In at least one embodiment, the integrated circuit 1700 may include a display device 1745 coupled to one or more of a high-definition multimedia interface (HDMI) controller 1750 and a mobile industry processor interface (MIPI) display interface 1755. In at least one embodiment, storage may be provided by a flash memory subsystem 1760, including flash memory and a flash memory controller. In at least one embodiment, a memory interface may be provided via a memory controller 1765 for accessing SDRAM or SRAM memory devices. In at least one embodiment, some integrated circuits also include an embedded security engine 1770.

[0324] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 may be used in integrated circuit 1700 to infer or predict operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0325] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0326] Figures 18A-18B An exemplary integrated circuit and associated graphics processor according to various embodiments described herein are shown, which can be manufactured using one or more IP cores. In addition to the illustrations, other logic and circuits may be included in at least one embodiment, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.

[0327] Figures 18A-18B is a block diagram illustrating an exemplary graphics processor for use within a SoC according to embodiments described herein. Fig.18A An exemplary graphics processor 1810 of a system on a chip integrated circuit is shown, which may be manufactured using one or more IP cores, in accordance with at least one embodiment. Fig.18B Another exemplary graphics processor 1840 of a system on a chip integrated circuit is shown, which can be manufactured using one or more IP cores according to at least one embodiment. In at least one embodiment, Fig.18A The graphics processor 1810 is a low power graphics processor core. In at least one embodiment, Fig.18B The graphics processor 1840 is a higher performance graphics processor core. In at least one embodiment, each graphics processor 1810, 1840 can be Fig.17 A variant of the graphics processor 1710.

[0328] In at least one embodiment, the graphics processor 1810 includes a vertex processor 1805 and one or more fragment processors 1815A-1815N (e.g., 1815A, 1815B, 1815C, 1815D to 1815N-1 and 1815N). In at least one embodiment, the graphics processor 1810 can execute different shader programs via separate logic, so that the vertex processor 1805 is optimized to perform operations for the vertex shader program, while one or more fragment processors 1815A-1815N perform fragment (e.g., pixel) shading operations for fragments or pixels or shader programs. In at least one embodiment, the vertex processor 1805 performs the vertex processing stage of the 3D graphics pipeline and generates primitives and vertex data. In at least one embodiment, the one or more fragment processors 1815A-1815N use the primitives and vertex data generated by the vertex processor 1805 to generate a frame buffer displayed on a display device. In at least one embodiment, one or more fragment processors 1815A-1815N 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 provided in the Direct 3D API.

[0329] In at least one embodiment, graphics processor 1810 additionally includes one or more memory management units (MMUs) 1820A-1820B, one or more caches 1825A-1825B, and one or more circuit interconnects 1830A-1830B. In at least one embodiment, one or more MMUs 1820A-1820B provide virtual to physical address mappings for graphics processor 1810, including for vertex processor 1805 and / or fragment processors 1815A-1815N, which may reference vertex or image / texture data stored in memory in addition to vertex or image / texture data stored in one or more caches 1825A-1825B. In at least one embodiment, one or more MMUs 1820A-1820B may synchronize with other MMUs within the system, including with Fig.17 One or more MMUs associated with one or more application processors 1705, image processor 1715, and / or video processor 1720 enable each processor 1705-1720 to participate in a shared or unified virtual memory system. In at least one embodiment, one or more circuit interconnects 1830A-1830B enable graphics processor 1810 to connect to other IP cores within the SoC via an internal bus of the SoC or via a direct connection.

[0330] In at least one embodiment, graphics processor 1840 includes one or more shader cores 1855A-1855N (e.g., 1855A, 1855B, 1855C, 1855D, 1855E, 1855F through 1855N-1 and 1855N), such as Fig.18B As shown, it provides a unified shader core architecture in which a single core or type or core can execute all types of programmable shader code, including shader program code for implementing vertex shaders, fragment shaders, and / or compute shaders. In at least one embodiment, multiple shader cores can vary. In at least one embodiment, the graphics processor 1840 includes an inter-core task manager 1845 that acts as a thread dispatcher to dispatch execution threads to one or more shader cores 1855A-1855N and a blocking unit 1858 to accelerate tile-based rendering operations, in which rendering operations of 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.

[0331] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provides details about the inference and / or training logic 815. In at least one embodiment, the inference and / or training logic 815 may be implemented in an integrated circuit. Fig.18A and / or Fig.18B for performing inference or prediction operations based at least in part on weight parameters computed using a neural network training operation, a neural network function or architecture, or a neural network use case described herein.

[0332] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0333] Figures 19A-19B Additional exemplary graphics processor logic according to embodiments described herein is shown. In at least one embodiment, Fig.19A shows that it can be included in Fig.17 Graphics core 1900 within graphics processor 1710 of FIG. 1700 and, in at least one embodiment, may be such as Fig.18B Unified shader cores 1855A-1855N are shown. Fig.19BA highly parallel general purpose graphics processing unit ("GPGPU") 1930 suitable for deployment on a multi-chip module in at least one embodiment is shown.

[0334] In at least one embodiment, graphics core 1900 includes a shared instruction cache 1902, texture units 1918, and cache / shared memory 1920 that are common to execution resources within graphics core 1900. In at least one embodiment, graphics core 1900 may include multiple slices 1901A-1901N or partitions of each core, and the graphics processor may include multiple instances of graphics core 1900. In at least one embodiment, slices 1901A-1901N may include support logic including local instruction caches 1904A-1904N, thread schedulers 1906A-1906N, thread dispatchers 1908A-1908N, and a set of registers 1910A-1910N. In at least one embodiment, slices 1901A-1901N may include a set of additional function units (AFU 1912A-1912N), floating point units (FPU 1914A-1914N), integer arithmetic logic units (ALU 1916A-1916N), address calculation units (ACU 1913A-1913N), double precision floating point units (DPFPU 1915A-1915N), and matrix processing units (MPU 1917A-1917N).

[0335] In at least one embodiment, the FPU 1914A-1914N can perform single-precision (32-bit) and half-precision (16-bit) floating-point operations, while the DPFPU 1915A-1915N performs double-precision (64-bit) floating-point operations. In at least one embodiment, the ALU 1916A-1916N can perform variable-precision integer operations with 8-bit, 16-bit, and 32-bit precision, and can be configured for mixed-precision operations. In at least one embodiment, the MPU 1917A-1917N can also be configured for mixed-precision matrix operations, including half-precision floating-point operations and 8-bit integer operations. In at least one embodiment, the MPU 1917-1917N can perform various matrix operations to accelerate machine learning application frameworks, including enabling general matrix-to-matrix multiplication (GEMM) to support acceleration. In at least one embodiment, the AFU 1912A-1912N can perform additional logical operations that are not supported by floating-point or integer units, including trigonometric operations (e.g., sine, cosine, etc.).

[0336] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8BDetails are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 may be used in graphics core 1900 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0337] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0338] Fig.19B A general purpose processing unit (GPGPU) 1930 in at least one embodiment is shown, which can be configured to enable highly parallel computing operations to be performed by a group of graphics processing units. In at least one embodiment, GPGPU 1930 can be directly linked to other instances of GPGPU 1930 to create a multi-GPU cluster to increase the training speed for deep neural networks. In at least one embodiment, GPGPU 1930 includes a host interface 1932 to enable connection with a host processor. In at least one embodiment, host interface 1932 is a PCI Express interface. In at least one embodiment, host interface 1932 can be a manufacturer-specific communication interface or communication structure. In at least one embodiment, GPGPU 1930 receives commands from a host processor and uses a global scheduler 1934 to assign execution threads associated with those commands to a group of computing clusters 1936A-1936H. In at least one embodiment, computing clusters 1936A-1936H share cache memory 1938. In at least one embodiment, cache memory 1938 may be used as a higher level cache for cache memory within compute clusters 1936A-1936H.

[0339] In at least one embodiment, GPGPU 1930 includes memory 1944A-1944B coupled to compute clusters 1936A-1936H via a set of memory controllers 1942A-1942B. In at least one embodiment, memory 1944A-1944B may include various types of memory devices, including dynamic random access memory (DRAM) or graphics random access memory, such as synchronous graphics random access memory (SGRAM), including graphics double data rate (GDDR) memory.

[0340] In at least one embodiment, computing clusters 1936A-1936H each include a set of graphics cores, such as Fig.19A The graphics core 1900 may include multiple types of integer and floating point logic units that can perform computational operations at various precision ranges of the computer, including precision suitable for machine learning computations. For example, in at least one embodiment, at least a subset of the floating point units in each computing cluster 1936A-1936H may be configured to perform 16-bit or 32-bit floating point operations, while a different subset of the floating point units may be configured to perform 64-bit floating point operations.

[0341] In at least one embodiment, multiple instances of GPGPU 1930 can be configured to function as a computing cluster. In at least one embodiment, the communications used by computing clusters 1936A-1936H for synchronization and data exchange vary between embodiments. In at least one embodiment, multiple instances of GPGPU 1930 communicate through a host interface 1932. In at least one embodiment, GPGPU 1930 includes an I / O hub 1939 that couples GPGPU 1930 with a GPU link 1940, enabling direct connection to other instances of GPGPU 1930. In at least one embodiment, GPU link 1940 is coupled to a dedicated GPU to GPU bridge that enables communication and synchronization between multiple instances of GPGPU 1930. In at least one embodiment, GPU link 1940 is coupled to a high-speed interconnect to send and receive data to other GPGPUs or parallel processors. In at least one embodiment, multiple instances of GPGPU 1930 are located in separate data processing systems and communicate through network devices accessible through host interface 1932. In at least one embodiment, GPU link 1940 may be configured to enable connection to a host processor in addition to or as an alternative to host interface 1932 .

[0342] In at least one embodiment, the GPGPU 1930 may be configured to train a neural network. In at least one embodiment, the GPGPU 1930 may be used within an inference platform. In at least one embodiment, in the case where the GPGPU 1930 is used for inference, the GPGPU 1930 may include fewer computing clusters 1936A-1936H relative to when the GPGPU 1930 is used to train a neural network. In at least one embodiment, the memory technology associated with the memory 1944A-1944B may differ between the inference and training configurations, with higher bandwidth memory technology dedicated to the training configuration. In at least one embodiment, the inference configuration of the GPGPU 1930 may support inference specific instructions. For example, in at least one embodiment, the inference configuration may provide support for one or more 8-bit integer dot product instructions that may be used during inference operations of a deployed neural network.

[0343] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 may be used in GPGPU 1930 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0344] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0345] Fig. 20A block diagram of a computer system 2000 according to at least one embodiment is shown. In at least one embodiment, the computer system 2000 includes a processing subsystem 2001 having one or more processors 2002 and a system memory 2004, which communicates via an interconnect path that may include a memory hub 2005. In at least one embodiment, the memory hub 2005 may be a separate component within a chipset component, or may be integrated within one or more processors 2002. In at least one embodiment, the memory hub 2005 is coupled to an I / O subsystem 2011 via a communication link 2006. In one embodiment, the I / O subsystem 2011 includes an I / O hub 2007, which may enable the computer system 2000 to receive input from one or more input devices 2008. In at least one embodiment, the I / O hub 2007 may enable a display controller, which may be included in one or more processors 2002, to provide output to one or more display devices 2010A. In at least one embodiment, the one or more display devices 2010A coupled to the I / O hub 2007 may include local, internal, or embedded display devices.

[0346] In at least one embodiment, the processing subsystem 2001 includes one or more parallel processors 2012 coupled to a memory hub 2005 via a bus or other communication link 2013. In at least one embodiment, the communication link 2013 can use any of a number of standard-based communication link technologies or protocols, such as but not limited to PCI Express, or can be a vendor-specific communication interface or communication structure. In at least one embodiment, one or more parallel processors 2012 form a parallel or vector processing system in a computational concentration, which can include a large number of processing cores and / or processing clusters, such as a multi-integrated core (MIC) processor. In at least one embodiment, one or more parallel processors 2012 form a graphics processing subsystem that can output pixels to one of one or more display devices 2010A coupled via an I / O hub 2007. In at least one embodiment, the parallel processor 2012 can also include a display controller and a display interface (not shown) to enable direct connection to one or more display devices 2010B.

[0347] In at least one embodiment, system storage unit 2014 can be connected to I / O hub 2007 to provide a storage mechanism for computer system 2000. In at least one embodiment, I / O switch 2016 can be used to provide an interface mechanism to enable connection between I / O hub 2007 and other components, such as network adapter 2018 and / or wireless network adapter 2019 that can be integrated into the platform, as well as various other devices that can be added through one or more additional devices 2020. In at least one embodiment, network adapter 2018 can be an Ethernet adapter or another wired network adapter. In at least one embodiment, wireless network adapter 2019 can include one or more of Wi-Fi, Bluetooth, near field communication (NFC), or other network devices including one or more radio devices.

[0348] In at least one embodiment, computer system 2000 may include other components not explicitly shown, including USB or other port connections, optical storage drives, video capture devices, etc., which may also be connected to I / O hub 2007. In at least one embodiment, any suitable protocol, such as a PCI (Peripheral Component Interconnect) based protocol (e.g., PCI-Express) or other bus or point-to-point communication interface and / or protocol, may be used to implement interconnection. Fig. 20 The communication paths between the various components in the NV-Link high-speed interconnect or interconnect protocol.

[0349] In at least one embodiment, one or more parallel processors 2012 include circuits optimized for graphics and video processing, including, for example, video output circuits, and constitute a graphics processing unit (GPU). In at least one embodiment, parallel processors 2012 include circuits optimized for general processing. In at least one embodiment, the components of computer system 2000 can be integrated with one or more other system elements on a single integrated circuit. For example, in at least one embodiment, parallel processors 2012, memory hub 2005, processor 2002, and I / O hub 2007 can be integrated into a system on chip (SoC) integrated circuit. In at least one embodiment, the components of computer system 2000 can be integrated into a single package to form a system-in-package (SIP) configuration. In at least one embodiment, at least a portion of the components of computer system 2000 can be integrated into a multi-chip module (MCM), which can be interconnected with other multi-chip modules into a modular computer system.

[0350] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Provide details about the reasoning and / or training logic 815. In at least one embodiment, the reasoning and / or training logic 815 may be Fig. 20 for use in system 2000 for inferring or predicting operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0351] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0352] processor

[0353] Fig.21A 2100 according to at least one embodiment. In at least one embodiment, the various components of the parallel processor 2100 may be implemented using one or more integrated circuit devices, such as a programmable processor, an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). In at least one embodiment, the parallel processor 2100 shown is a processor according to an exemplary embodiment. Fig. 20 A variation of one or more parallel processors 2012 is shown.

[0354] In at least one embodiment, parallel processor 2100 includes parallel processing unit 2102. In at least one embodiment, parallel processing unit 2102 includes I / O unit 2104, which enables communication with other devices, including other instances of parallel processing unit 2102. In at least one embodiment, I / O unit 2104 can be directly connected to other devices. In at least one embodiment, I / O unit 2104 is connected to other devices by using a hub or switch interface (e.g., memory hub 2105). In at least one embodiment, the connection between memory hub 2105 and I / O unit 2104 forms communication link 2113. In at least one embodiment, I / O unit 2104 is connected to host interface 2106 and memory crossbar switch 2116, wherein host interface 2106 receives commands for performing processing operations and memory crossbar switch 2116 receives commands for performing memory operations.

[0355] In at least one embodiment, when the host interface 2106 receives the command buffer via the I / O unit 2104, the host interface 2106 can direct the work operations to execute those commands to the front end 2108. In at least one embodiment, the front end 2108 is coupled with a scheduler 2110, which is configured to assign commands or other work items to the processing cluster array 2112. In at least one embodiment, the scheduler 2110 ensures that the processing cluster array 2112 is properly configured and in a valid state before assigning tasks to the processing cluster array 2112. In at least one embodiment, the scheduler 2110 is implemented by firmware logic executed on a microcontroller. In at least one embodiment, the microcontroller-implemented scheduler 2110 can be configured to perform complex scheduling and work distribution operations at coarse and fine granularity, thereby achieving fast preemption and context switching of threads executed on the processing array 2112. In at least one embodiment, the host software can prove the workload for scheduling on the processing array 2112 through one of a plurality of graphics processing paths. In at least one embodiment, the workload may then be automatically distributed across the processing array 2112 by scheduler 2110 logic within a microcontroller that includes scheduler 2110 .

[0356] In at least one embodiment, the processing cluster array 2112 may include up to "N" processing clusters (e.g., cluster 2114A, cluster 2114B to cluster 2114N), where "N" represents a positive integer (which may be an integer different from the integer "N" used in other figures). In at least one embodiment, each cluster 2114A-2114N of the processing cluster array 2112 may execute a large number of concurrent threads. In at least one embodiment, the scheduler 2110 may use various scheduling and / or work distribution algorithms to distribute work to the clusters 2114A-2114N of the processing cluster array 2112, which may vary depending on the workload generated by each program or calculation type. In at least one embodiment, scheduling may be handled dynamically by the scheduler 2110, or may be partially assisted by compiler logic during the compilation of program logic configured to be executed by the processing cluster array 2112. In at least one embodiment, different clusters 2114A-2114N of the processing cluster array 2112 may be allocated to process different types of programs or to perform different types of calculations.

[0357] In at least one embodiment, processing cluster array 2112 can be configured to perform various types of parallel processing operations. In at least one embodiment, processing cluster array 2112 is configured to perform general-purpose parallel computing operations. For example, in at least one embodiment, processing cluster array 2112 can include logic to perform processing tasks including filtering video and / or audio data, performing modeling operations including physics operations, and performing data transformations.

[0358] In at least one embodiment, the processing cluster array 2112 is configured to perform parallel graphics processing operations. In at least one embodiment, the processing cluster array 2112 may include additional logic to support the execution of such graphics processing operations, including but not limited to texture sampling logic to perform texture operations, as well as tessellation logic and other vertex processing logic. In at least one embodiment, the processing cluster array 2112 may be configured to execute shader programs related to graphics processing, such as but not limited to vertex shaders, tessellation shaders, geometry shaders, and pixel shaders. In at least one embodiment, the parallel processing unit 2102 may transfer data from the system memory via the I / O unit 2104 for processing. In at least one embodiment, during processing, the transferred data may be stored to an on-chip memory (e.g., parallel processor memory 2122) during processing and then written back to the system memory.

[0359] In at least one embodiment, when the parallel processing unit 2102 is used to perform graphics processing, the scheduler 2110 can be configured to divide the processing workload into tasks of approximately equal size to better distribute graphics processing operations to multiple clusters 2114A-2114N of the processing cluster array 2112. In at least one embodiment, portions of the processing cluster array 2112 can be configured to perform different types of processing. For example, in at least one embodiment, a first portion can be configured to perform vertex shading and topology generation, a second portion can be configured to perform tessellation and geometry shading, and a third portion can be configured to perform pixel shading or other screen space operations to generate a rendered image for display. In at least one embodiment, intermediate data generated by one or more of the clusters 2114A-2114N can be stored in a buffer to allow the intermediate data to be transferred between the clusters 2114A-2114N for further processing.

[0360] In at least one embodiment, processing cluster array 2112 may receive processing tasks to be executed via scheduler 2110 , which receives commands defining processing tasks from front end 2108 .

[0361] In at least one embodiment, a processing task may include an index of data to be processed, e.g., surface (patch) data, primitive data, vertex data, and / or pixel data, as well as state parameters and commands defining how the data is to be processed (e.g., what program to execute). In at least one embodiment, the scheduler 2110 may be configured to obtain an index corresponding to a task, or may receive the index from the front end 2108. In at least one embodiment, the front end 2108 may be configured to ensure that the processing cluster array 2112 is configured to a valid state before launching a workload specified by an incoming command buffer (e.g., a batch-buffer, a push buffer, etc.).

[0362] In at least one embodiment, each of the one or more instances of parallel processing unit 2102 can be coupled to parallel processor memory 2122. In at least one embodiment, parallel processor memory 2122 can be accessed via memory crossbar switch 2116, which can receive memory requests from processing cluster array 2112 and I / O unit 2104. In at least one embodiment, memory crossbar switch 2116 can access parallel processor memory 2122 via memory interface 2118. In at least one embodiment, memory interface 2118 can include multiple partition units (e.g., partition unit 2120A, partition unit 2120B to partition unit 2120N), which can each be coupled to a portion of parallel processor memory 2122 (e.g., memory units). In at least one embodiment, the plurality of partition units 2120A-2120N are configured to be equal to the number of memory cells, such that the first partition unit 2120A has a corresponding first memory cell 2124A, the second partition unit 2120B has a corresponding memory cell 2124B, and the Nth partition unit 2120N has a corresponding Nth memory cell 2124N. In at least one embodiment, the number of partition units 2120A-2120N may not be equal to the number of memory cells.

[0363] In at least one embodiment, the memory units 2124A-2124N may include various types of memory devices, including dynamic random access memory (DRAM) or graphics random access memory, such as synchronous graphics random access memory (SGRAM), including graphics double data rate (GDDR) memory. In at least one embodiment, the memory units 2124A-2124N may also include 3D stacked memory, including but not limited to high bandwidth memory (HBM). In at least one embodiment, rendering targets such as frame buffers or texture maps can be stored across the memory units 2124A-2124N, allowing the partition units 2120A-2120N to write to portions of each rendering target in parallel to efficiently use the available bandwidth of the parallel processor memory 2122. In at least one embodiment, local instances of the parallel processor memory 2122 can be eliminated to facilitate a unified memory design that utilizes system memory in combination with local cache memory.

[0364] In at least one embodiment, any of the clusters 2114A-2114N of the processing cluster array 2112 can process data to be written to any memory unit 2124A-2124N within the parallel processor memory 2122. In at least one embodiment, the memory crossbar switch 2116 can be configured to transmit the output of each cluster 2114A-2114N to any partition unit 2120A-2120N or another cluster 2114A-2114N, and the cluster 2114A-2114N can perform other processing operations on the output. In at least one embodiment, each cluster 2114A-2114N can communicate with the memory interface 2118 through the memory crossbar switch 2116 to read from or write to various external storage devices. In at least one embodiment, memory crossbar switch 2116 has connections to memory interface 2118 to communicate with I / O unit 2104, and connections to local instances of parallel processor memory 2122, thereby enabling processing units within different processing clusters 2114A-2114N to communicate with system memory or other memory that is not local to parallel processing unit 2102. In at least one embodiment, memory crossbar switch 2116 can use virtual channels to separate traffic flows between clusters 2114A-2114N and partition units 2120A-2120N.

[0365] In at least one embodiment, multiple instances of parallel processing unit 2102 may be provided on a single plug-in card, or multiple plug-in cards may be interconnected. In at least one embodiment, different instances of parallel processing unit 2102 may be configured to interoperate, even if different instances have different numbers of processing cores, different numbers of local parallel processor memories, and / or other configuration differences. For example, in at least one embodiment, some instances of parallel processing unit 2102 may include higher precision floating point units relative to other instances. In at least one embodiment, a system incorporating one or more instances of parallel processing unit 2102 or parallel processor 2100 may be implemented in a variety of configurations and form factors, including but not limited to desktop, laptop or handheld personal computers, servers, workstations, game consoles, and / or embedded systems.

[0366] Fig.21B is a block diagram of a partition unit 2120 according to at least one embodiment. In at least one embodiment, the partition unit 2120 is Fig.21A 2120N). In at least one embodiment, the partition unit 2120 includes an L2 cache 2121, a frame buffer interface 2125, and a ROP 2126 (raster operation unit). In at least one embodiment, the L2 cache 2121 is a read / write cache that is configured to perform load and store operations received from the memory crossbar switch 2116 and the ROP 2126. In at least one embodiment, the L2 cache 2121 outputs read misses and urgent write-back requests to the frame buffer interface 2125 for processing. In at least one embodiment, updates can also be sent to the frame buffer via the frame buffer interface 2125 for processing. In at least one embodiment, the frame buffer interface 2125 communicates with memory units (such as ROPs) in parallel processor memory. Fig.21A interacts with one of the memory units 2124A-2124N (e.g., within parallel processor memory 2122).

[0367] In at least one embodiment, ROP 2126 is a processing unit that performs raster operations such as stencils, z-tests, blending, etc. In at least one embodiment, ROP 2126 then outputs processed graphics data stored in graphics memory. In at least one embodiment, ROP 2126 includes compression logic to compress depth or color data written to memory and decompress depth or color data read from memory. In at least one embodiment, the compression logic can be lossless compression logic that utilizes one or more of a variety of compression algorithms. In at least one embodiment, the type of compression performed by ROP 2126 can vary based on the statistical characteristics of the data to be compressed. For example, in at least one embodiment, incremental color compression is performed based on depth and color data on a per-tile basis.

[0368] In at least one embodiment, ROP 2126 is included within each processing cluster (e.g., Fig.21A In at least one embodiment, read and write requests for pixel data are transmitted through memory crossbar 2116 rather than pixel fragment data transfer. In at least one embodiment, the processed graphics data can be displayed on a display device (such as Fig. 22 2202 for further processing, or by Fig.21A One of the processing entities within parallel processor 2100 is routed for further processing.

[0369] Fig. 21C is a block diagram of a processing cluster 2114 within a parallel processing unit according to at least one embodiment. In at least one embodiment, a processing cluster is Fig.21A In at least one embodiment, processing cluster 2114 can be configured to execute many threads in parallel, where a "thread" refers to an instance of a specific program executed on a specific set of input data. In at least one embodiment, single instruction multiple data (SIMD) instruction issuance technology is used to support the parallel execution of a large number of threads without providing multiple independent instruction units. In at least one embodiment, single instruction multiple thread (SIMT) technology is used to support the parallel execution of a large number of generally synchronized threads, which uses a common instruction unit that is configured to issue instructions to a group of processing engines within each processing cluster.

[0370] In at least one embodiment, the operation of the processing cluster 2114 can be controlled by a pipeline manager 2132 that allocates processing tasks to SIMT parallel processors. In at least one embodiment, the pipeline manager 2132 Fig.21AThe scheduler 2110 receives instructions and manages the execution of these instructions through the graphics multiprocessor 2134 and / or the texture unit 2136. In at least one embodiment, the graphics multiprocessor 2134 is an exemplary instance of a SIMT parallel processor. However, in at least one embodiment, various types of SIMT parallel processors of different architectures may be included in the processing cluster 2114. In at least one embodiment, one or more instances of the graphics multiprocessor 2134 may be included in the processing cluster 2114. In at least one embodiment, the graphics multiprocessor 2134 may process data, and the data crossbar switch 2140 may be used to distribute the processed data to one of a plurality of possible destinations (including other shader units). In at least one embodiment, the pipeline manager 2132 may facilitate the distribution of processed data by specifying the destination of the processed data to be distributed via the data crossbar switch 2140.

[0371] In at least one embodiment, each graphics multiprocessor 2134 within a processing cluster 2114 may include the same set of function execution logic (e.g., arithmetic logic units, load store units, etc.). In at least one embodiment, the function execution logic may be configured in a pipelined manner, where new instructions may be issued before previous instructions are completed. In at least one embodiment, the function execution logic supports a variety of operations, including integer and floating point arithmetic, comparison operations, Boolean operations, shifts, and calculations of various algebraic functions. In at least one embodiment, the same functional unit hardware may be utilized to perform different operations, and any combination of functional units may be present.

[0372] In at least one embodiment, the instructions transmitted to the processing cluster 2114 constitute threads. In at least one embodiment, a group of threads executed across a group of parallel processing engines is a thread group. In at least one embodiment, a thread group executes a common program on different input data. In at least one embodiment, each thread within a thread group can be assigned to a different processing engine within the graphics multiprocessor 2134. In at least one embodiment, a thread group can include fewer threads than a plurality of processing engines within the graphics multiprocessor 2134. In at least one embodiment, when a thread group includes fewer threads than the number of processing engines, one or more processing engines may be idle during a cycle in which the thread group is being processed. In at least one embodiment, a thread group can also include more threads than a plurality of processing engines within the graphics multiprocessor 2134. In at least one embodiment, when a thread group includes more threads than the number of processing engines within the graphics multiprocessor 2134, processing can be performed in consecutive clock cycles. In at least one embodiment, multiple thread groups can be executed simultaneously on the graphics multiprocessor 2134.

[0373] In at least one embodiment, the graphics multiprocessor 2134 includes internal cache memory to perform load and store operations. In at least one embodiment, the graphics multiprocessor 2134 can abandon the internal cache and use the cache memory (e.g., L1 cache 2148) within the processing cluster 2114. In at least one embodiment, each graphics multiprocessor 2134 can also access the partition unit (e.g., Fig.21A 2120N) that are shared between all processing clusters 2114 and can be used to transfer data between threads. In at least one embodiment, graphics multiprocessor 2134 can also access off-chip global memory, which can include one or more of local parallel processor memory and / or system memory. In at least one embodiment, any memory external to parallel processing unit 2102 can be used as global memory. In at least one embodiment, processing cluster 2114 includes multiple instances of graphics multiprocessor 2134, which can share common instructions and data that can be stored in L1 cache 2148.

[0374] In at least one embodiment, each processing cluster 2114 may include a memory management unit ("MMU") 2145 configured to map virtual addresses to physical addresses. In at least one embodiment, one or more instances of MMU 2145 may reside in Fig.21A 2148. In at least one embodiment, the MMU 2145 includes a set of page table entries (PTEs) for mapping virtual addresses to physical addresses of tiles and optionally to cache line indices. In at least one embodiment, the MMU 2145 may include an address translation lookaside buffer (TLB) or a cache that may reside within the graphics multiprocessor 2134 or the L1 cache 2148 or the processing cluster 2114. In at least one embodiment, the physical address is processed to assign surface data access locality for efficient request interleaving between partition units. In at least one embodiment, the cache line index may be used to determine whether a request for a cache line is a hit or a miss.

[0375] In at least one embodiment, the processing clusters 2114 can be configured such that each graphics multiprocessor 2134 is coupled to a texture unit 2136 to perform texture mapping operations that determine texture sample locations, read texture data, and filter texture data. In at least one embodiment, texture data is read from an internal texture L1 cache (not shown) or from an L1 cache within the graphics multiprocessor 2134, and the texture data is retrieved from an L2 cache, local parallel processor memory, or system memory as needed. In at least one embodiment, each graphics multiprocessor 2134 outputs processed tasks to a data crossbar 2140 to provide the processed tasks to another processing cluster 2114 for further processing or to store the processed tasks in an L2 cache, local parallel processor memory, or system memory via a memory crossbar 2116. In at least one embodiment, a preROP 2142 (pre-raster operations unit) is configured to receive data from the graphics multiprocessor 2134, direct the data to a ROP unit, which can communicate with a partition unit (e.g., Fig.21A In at least one embodiment, the PreROP 2142 unit may perform optimizations for color blending, organize pixel color data, and perform address translation.

[0376] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 can be used in graphics processing cluster 2114 to perform inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures or neural network use cases described herein.

[0377] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0378] Fig.21DA graphics multiprocessor 2134 is shown in accordance with at least one embodiment. In at least one embodiment, the graphics multiprocessor 2134 is coupled to a pipeline manager 2132 of a processing cluster 2114. In at least one embodiment, the graphics multiprocessor 2134 has an execution pipeline that includes, but is not limited to, an instruction cache 2152, an instruction unit 2154, an address mapping unit 2156, a register file 2158, one or more general purpose graphics processing unit (GPGPU) cores 2162, and one or more load / store units 2166. In at least one embodiment, the GPGPU cores 2162 and the load / store units 2166 are coupled to a cache memory 2172 and a shared memory 2170 via a memory and cache interconnect 2168.

[0379] In at least one embodiment, the instruction cache 2152 receives the instruction stream to be executed from the pipeline manager 2132. In at least one embodiment, the instructions are cached in the instruction cache 2152 and dispatched for execution by the instruction unit 2154. In one embodiment, the instruction unit 2154 can dispatch the instructions as a thread group (e.g., a warp), assigning each thread of the thread group to a different execution unit within the GPGPU core 2162. In at least one embodiment, the instruction can access any local, shared, or global address space by specifying an address within the unified address space. In at least one embodiment, the address mapping unit 2156 can be used to convert addresses in the unified address space into different memory addresses that can be accessed by the load / store unit 2166.

[0380] In at least one embodiment, register file 2158 provides a set of registers for the functional units of graphics multiprocessor 2134. In at least one embodiment, register file 2158 provides temporary storage for operands for data paths connected to the functional units (e.g., GPGPU core 2162, load / store unit 2166) of graphics multiprocessor 2134. In at least one embodiment, register file 2158 is divided between each functional unit such that a dedicated portion of register file 2158 is allocated to each functional unit. In at least one embodiment, register file 2158 is divided between different warps being executed by graphics multiprocessor 2134.

[0381] In at least one embodiment, the GPGPU cores 2162 may each include a floating point unit (FPU) and / or an integer arithmetic logic unit (ALU) for executing instructions of the graphics multiprocessor 2134. In at least one embodiment, the GPGPU cores 2162 may be similar in architecture or the architecture may be different. In at least one embodiment, the first portion of the GPGPU core 2162 includes a single-precision FPU and an integer ALU, while the second portion of the GPGPU core includes a double-precision FPU. In at least one embodiment, the FPU may implement the IEEE 754-2008 standard for floating-point arithmetic or enable variable-precision floating-point arithmetic. In at least one embodiment, the graphics multiprocessor 2134 may additionally include one or more fixed-function or special-function units to perform specific functions, such as copying rectangles or pixel blending operations. In at least one embodiment, one or more of the GPGPU cores 2162 may also include fixed or special-function logic.

[0382] In at least one embodiment, the GPGPU core 2162 includes SIMD logic capable of executing a single instruction to multiple sets of data. In one embodiment, the GPGPU core 2162 can physically execute SIMD4, SIMD8 and SIMD16 instructions, and logically execute SIMD1, SIMD2 and SIMD32 instructions. In at least one embodiment, the SIMD instructions for the GPGPU core can be generated by a shader compiler at compile time, or automatically generated when executing a program written and compiled for a single program multiple data (SPMD) or SIMT architecture. In at least one embodiment, multiple threads of a program configured for a SIMT execution model can be executed by a single SIMD instruction. For example, in at least one embodiment, eight SIMT threads that perform the same or similar operations can be executed in parallel by a single SIMD8 logic unit.

[0383] In at least one embodiment, the memory and cache interconnect 2168 is an interconnect network that connects each functional unit of the graphics multiprocessor 2134 to the register file 2158 and the shared memory 2170. In at least one embodiment, the memory and cache interconnect 2168 is a crossbar interconnect that allows the load / store unit 2166 to implement load and store operations between the shared memory 2170 and the register file 2158. In at least one embodiment, the register file 2158 can operate at the same frequency as the GPGPU core 2162, so that the latency of data transfer between the GPGPU core 2162 and the register file 2158 is very low. In at least one embodiment, the shared memory 2170 can be used to enable communication between threads executing on the functional units within the graphics multiprocessor 2134. In at least one embodiment, the cache memory 2172 can be used as, for example, a data cache to cache texture data communicated between the functional units and the texture unit 2136. In at least one embodiment, the shared memory 2170 can also be used as a program managed cache. In at least one embodiment, in addition to automatically cached data stored in cache memory 2172, threads executing on GPGPU core 2162 may programmatically store data in shared memory.

[0384] In at least one embodiment, a parallel processor or GPGPU as described herein is communicatively coupled to a host / processor core to accelerate graphics operations, machine learning operations, pattern analysis operations, and various general-purpose GPU (GPGPU) functions. In at least one embodiment, the GPU can be communicatively coupled to the host processor / core via a bus or other interconnect (e.g., a high-speed interconnect such as PCIe or NVLink). In at least one embodiment, the GPU can be integrated with the core on a package or chip and communicatively coupled to the core via an internal processor bus / interconnect (i.e., inside the package or chip). In at least one embodiment, regardless of the manner in which the GPU is connected, the processor core can assign work to the GPU in the form of a sequence of commands / instructions contained in a work descriptor. In at least one embodiment, the GPU then uses dedicated circuits / logic to efficiently process these commands / instructions.

[0385] The reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8BDetails are provided regarding the inference and / or training logic 815. In at least one embodiment, the inference and / or training logic 815 may be used in the graphics multiprocessor 2134 to perform inference or prediction operations based at least in part on weight parameters computed using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0386] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0387] Fig. 22 A multi-GPU computing system 2200 is shown according to at least one embodiment. In at least one embodiment, the multi-GPU computing system 2200 may include a processor 2202 coupled to a plurality of general purpose graphics processing units (GPGPUs) 2206A-D via a host interface switch 2204. In at least one embodiment, the host interface switch 2204 is a PCI Express switch device that couples the processor 2202 to a PCI Express bus, and the processor 2202 may communicate with the GPGPUs 2206A-D via the PCI Express bus. In at least one embodiment, the GPGPUs 2206A-D may be interconnected via a set of high-speed P2P GPU-to-GPU links 2216. In at least one embodiment, the GPU-to-GPU links 2216 are connected to each of the GPGPUs 2206A-D via a dedicated GPU link. In at least one embodiment, the P2P GPU links 2216 enable direct communication between each GPGPU 2206A-D without communicating through the host interface bus 2204 to which the processor 2202 is connected. In at least one embodiment, with GPU-to-GPU traffic directed to P2P GPU link 2216, host interface bus 2204 remains available for system memory access or communication with other instances of multi-GPU computing system 2200, e.g., via one or more network devices. While in at least one embodiment, GPGPUs 2206A-D are connected to processor 2202 via host interface switch 2204, in at least one embodiment, processor 2202 includes direct support for P2P GPU link 2216 and can connect directly to GPGPUs 2206A-D.

[0388] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 may be used in multi-GPU computing system 2200 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures or neural network use cases described herein.

[0389] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0390] Fig.23 is a block diagram of a graphics processor 2300 according to at least one embodiment. In at least one embodiment, graphics processor 2300 includes ring interconnect 2302, pipeline front end 2304, media engine 2337, and graphics cores 2380A-2380N. In at least one embodiment, ring interconnect 2302 couples graphics processor 2300 to other processing units, including other graphics processors or one or more general purpose processor cores. In at least one embodiment, graphics processor 2300 is one of many processors integrated within a multi-core processing system.

[0391] In at least one embodiment, the graphics processor 2300 receives batches of commands via a ring interconnect 2302. In at least one embodiment, the incoming commands are interpreted by a command streamer 2303 in a pipeline front end 2304. In at least one embodiment, the graphics processor 2300 includes scalable execution logic for performing 3D geometry processing and media processing via graphics cores 2380A-2380N. In at least one embodiment, for 3D geometry processing commands, the command streamer 2303 provides the commands to a geometry pipeline 2336. In at least one embodiment, for at least some media processing commands, the command streamer 2303 provides the commands to a video front end 2334, which is coupled to a media engine 2337. In at least one embodiment, the media engine 2337 includes a video quality engine (VQE) 2330 for video and image post-processing, and a multi-format encoding / decoding (MFX) 2333 engine for providing hardware accelerated encoding and decoding of media data. In at least one embodiment, the geometry pipeline 2336 and the media engine 2337 each generate execution threads for thread execution resources provided by at least one graphics core 2380 .

[0392] In at least one embodiment, the graphics processor 2300 includes scalable thread execution resources featuring graphics cores 2380A-2380N (which may be modular and sometimes referred to as core slices), each graphics core having multiple sub-cores 2350A-2350N, 2360A-2360N (sometimes referred to as core sub-slices). In at least one embodiment, the graphics processor 2300 may have any number of graphics cores 2380A. In at least one embodiment, the graphics processor 2300 includes a graphics core 2380A having at least a first sub-core 2350A and a second sub-core 2360A. In at least one embodiment, the graphics processor 2300 is a low-power processor having a single sub-core (e.g., 2350A). In at least one embodiment, the graphics processor 2300 includes multiple graphics cores 2380A-2380N, each graphics core including a group of first sub-cores 2350A-2350N and a group of second sub-cores 2360A-2360N. In at least one embodiment, each of the first sub-cores 2350A-2350N includes at least a first set of execution units 2352A-2352N and a media / texture sampler 2354A-2354N. In at least one embodiment, each of the second sub-cores 2360A-2360N includes at least a second set of execution units 2362A-2362N and a sampler 2364A-2364N. In at least one embodiment, each of the sub-cores 2350A-2350N, 2360A-2360N shares a set of shared resources 2370A-2370N. In at least one embodiment, the shared resources include a shared cache memory and pixel operation logic.

[0393] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding inference and / or training logic 815. In at least one embodiment, inference and / or training logic 815 may be used in graphics processor 2300 to perform inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0394] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0395] Fig.24 is a block diagram illustrating a microarchitecture for a processor 2400 that may include logic circuitry for executing instructions according to at least one embodiment. In at least one embodiment, the processor 2400 may execute instructions including x86 instructions, ARM instructions, special instructions for an application specific integrated circuit (ASIC), etc. In at least one embodiment, the processor 2400 may include registers for storing packed data, such as a 64-bit wide MMX 4800 in a microprocessor enabled with MMX technology from Intel Corporation of Santa Clara, California. TM Registers. In at least one embodiment, MMX registers available in integer and floating point form can operate with packed data elements that accompany single instruction multiple data ("SIMD") and streaming SIMD extensions ("SSE") instructions. In at least one embodiment, 128-bit wide XMM registers associated with SSE2, SSE3, SSE4, AVX, or higher (generally referred to as "SSEx") technology can hold such packed data operands. In at least one embodiment, processor 2400 can execute instructions to accelerate machine learning or deep learning algorithms, training, or reasoning.

[0396] In at least one embodiment, the processor 2400 includes an in-order front end ("front end") 2401 to extract instructions to be executed and prepare instructions for later use in the processor pipeline. In at least one embodiment, the front end 2401 may include several units. In at least one embodiment, an instruction prefetcher 2426 fetches instructions from a memory and provides the instructions to an instruction decoder 2428, which in turn decodes or interprets the instructions. For example, in at least one embodiment, the instruction decoder 2428 decodes the received instructions into one or more operations of so-called "microinstructions" or "microoperations" (also referred to as "micro-operations" or "microinstructions") that are executable by the machine. In at least one embodiment, the instruction decoder 2428 parses the instructions into opcodes and corresponding data and control fields, which can be used by the microarchitecture to perform operations according to at least one embodiment. In at least one embodiment, the trace cache 2430 can assemble the decoded microinstructions into a program-ordered sequence or trace in the microinstruction queue 2434 for execution. In at least one embodiment, when trace cache 2430 encounters a complex instruction, microcode ROM 2432 provides the microinstructions necessary to complete the operation.

[0397] In at least one embodiment, some instructions may be converted into a single micro-operation, while other instructions may require several micro-operations to complete the entire operation. In at least one embodiment, if more than four micro-operations are required to complete an instruction, the instruction decoder 2428 may access the microcode ROM 2432 to execute the instruction. In at least one embodiment, the instruction may be decoded into a small number of micro-operations for processing at the instruction decoder 2428. In at least one embodiment, if multiple micro-operations are required to complete the operation, the instruction may be stored in the microcode ROM 2432. In at least one embodiment, the trace cache 2430 references the entry point programmable logic array ("PLA") to determine the correct micro-instruction pointer for reading the microcode sequence from the microcode ROM 2432 to complete one or more instructions according to at least one embodiment. In at least one embodiment, after the microcode ROM 2432 completes the micro-operation sequencing of the instruction, the front end 2401 of the machine may resume fetching micro-operations from the trace cache 2430.

[0398] In at least one embodiment, an out-of-order execution engine ("out-of-order engine") 2403 can prepare instructions for execution. In at least one embodiment, the out-of-order execution logic has multiple buffers to smooth and reorder the instruction flow to optimize performance as instructions go down the pipeline and are scheduled for execution. In at least one embodiment, the out-of-order execution engine 2403 includes, but is not limited to, an allocator / register renamer 2440, a memory microinstruction queue 2442, an integer / floating point microinstruction queue 2444, a memory scheduler 2446, a fast scheduler 2402, a slow / general purpose floating point scheduler ("slow / general purpose FP scheduler") 2404, and a simple floating point scheduler ("simple FP scheduler") 2406. In at least one embodiment, the fast scheduler 2402, the slow / general purpose floating point scheduler 2404, and the simple floating point scheduler 2406 are also collectively referred to as "microinstruction schedulers 2402, 2404, 2406". In at least one embodiment, the allocator / register renamer 2440 allocates machine buffers and resources required for each microinstruction to execute in sequence. In at least one embodiment, the allocator / register renamer 2440 renames logical registers to entries in the register file. In at least one embodiment, the allocator / register renamer 2440 also allocates entries for each microinstruction in one of the two microinstruction queues, the memory microinstruction queue 2442 for memory operations and the integer / floating point microinstruction queue 2444 for non-memory operations, in front of the memory scheduler 2446 and the microinstruction schedulers 2402, 2404, 2406. In at least one embodiment, the microinstruction schedulers 2402, 2404, 2406 determine when the microinstructions are ready to execute based on the readiness of their slave input register operand sources and the availability of the execution resource microinstructions that need to be completed. The fast scheduler 2402 of at least one embodiment can be scheduled on each half of the main clock cycle, while the slow / general floating point scheduler 2404 and the simple floating point scheduler 2406 can be scheduled once per main processor clock cycle. In at least one embodiment, microinstruction schedulers 2402, 2404, 2406 arbitrate dispatch ports to schedule microinstructions for execution.

[0399] In at least one embodiment, execution block 2411 includes, but is not limited to, integer register file / branch network 2408, floating point register file / branch network ("FP register file / branch network") 2410, address generation units ("AGU") 2412 and 2414, fast arithmetic logic units ("fast ALU") 2416 and 2418, slow arithmetic logic unit ("slow ALU") 2420, floating point ALU ("FP") 2422, and floating point move unit ("FP move") 2424. In at least one embodiment, integer register file / branch network 2408 and floating point register file / bypass network 2410 are also referred to herein as "register files 2408, 2410". In at least one embodiment, AGUs 2412 and 2414, fast ALUs 2416 and 2418, slow ALU 2420, floating point ALU 2422, and floating point move unit 2424 are also referred to herein as "execution units 2412, 2414, 2416, 2418, 2420, 2422, and 2424." In at least one embodiment, execution block 2411 may include, but is not limited to, any number (including zero) and type of register files, branch networks, address generation units, and execution units (in any combination).

[0400] In at least one embodiment, register networks 2408, 2410 may be arranged between microinstruction schedulers 2402, 2404, 2406 and execution units 2412, 2414, 2416, 2418, 2420, 2422, and 2424. In at least one embodiment, integer register file / branch network 2408 performs integer operations. In at least one embodiment, floating point register file / branch network 2410 performs floating point operations. In at least one embodiment, each of register networks 2408, 2410 may include, but is not limited to, a branch network that may bypass or forward a just completed result that has not yet been written to the register file to a new slave object. In at least one embodiment, register networks 2408, 2410 may communicate data with each other. In at least one embodiment, integer register file / branch network 2408 may include, but is not limited to, two separate register files, one register file for low-order 32-bit data, and a second register file for high-order 32-bit data. In at least one embodiment, floating point register file / branch network 2410 may include, but is not limited to, 128-bit wide entries, since floating point instructions typically have operands that are 64 to 128 bits wide.

[0401] In at least one embodiment, the execution units 2412, 2414, 2416, 2418, 2420, 2422, 2424 can execute instructions. In at least one embodiment, the register network 2408, 2410 stores integer and floating point data operand values ​​that microinstructions need to execute. In at least one embodiment, the processor 2400 may include, but is not limited to, any number of execution units 2412, 2414, 2416, 2418, 2420, 2422, 2424 and combinations thereof. In at least one embodiment, the floating point ALU 2422 and the floating point move unit 2424 can perform floating point, MMX, SIMD, AVX and SSE or other operations, including specialized machine learning instructions. In at least one embodiment, the floating point ALU 2422 may include, but is not limited to, a 64-bit by 64-bit floating point divider to perform division, square root and remainder micro-operations. In at least one embodiment, floating point hardware may be used to process instructions involving floating point values. In at least one embodiment, ALU operations can be passed to fast ALUs 2416, 2418. In at least one embodiment, fast ALUs 2416, 2418 can perform fast operations with an effective delay of half a clock cycle. In at least one embodiment, most complex integer operations enter slow ALU 2420, because slow ALU 2420 can include, but is not limited to, integer execution hardware for long-delay type operations, such as multipliers, shifts, flag logic, and branch processing. In at least one embodiment, memory load / store operations can be performed by AGU 2412, 2414. In at least one embodiment, fast ALU 2416, fast ALU 2418, and slow ALU 2420 can perform integer operations on 64-bit data operands. In at least one embodiment, fast ALU 2416, fast ALU 2418, and slow ALU 2420 can be implemented to support various data bit sizes including sixteen, thirty-two, 128, 256, etc. In at least one embodiment, floating point ALU 2422 and floating point move unit 2424 may be implemented to support a range of operands having bits of various widths, for example, 128-bit wide packed data operands may be operated on in conjunction with SIMD and multimedia instructions.

[0402] In at least one embodiment, microinstruction schedulers 2402, 2404, 2406 schedule dependent operations before the parent load completes execution. In at least one embodiment, since microinstructions can be speculatively scheduled and executed in processor 2400, processor 2400 can also include logic for handling memory misses. In at least one embodiment, if the data load in the data cache misses, there may be dependent operations running in the pipeline, which temporarily prevents the scheduler from having the correct data. In at least one embodiment, a replay mechanism tracks and re-executes instructions that use incorrect data. In at least one embodiment, it may be necessary to replay dependent operations and independent operations may be allowed to complete. In at least one embodiment, the scheduler and replay mechanism of at least one embodiment of the processor may also be designed to capture instruction sequences for text string comparison operations.

[0403] In at least one embodiment, "register" may refer to an onboard processor storage location that can be used as part of an instruction to identify an operand. In at least one embodiment, registers may be those that can be used from outside the processor (from a programmer's perspective). In at least one embodiment, registers may not be limited to a particular type of circuit. On the contrary, in at least one embodiment, registers can store data, provide data, and perform the functions described herein. In at least one embodiment, the registers described herein can be implemented using a variety of different techniques by circuits within the processor, such as dedicated physical registers, physical registers dynamically allocated using register renaming, a combination of dedicated and dynamically allocated physical registers, etc. In at least one embodiment, integer registers store 32-bit integer data. The register file of at least one embodiment also includes eight multimedia SIMD registers for packaging data.

[0404] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding the inference and / or training logic 815. In at least one embodiment, part or all of the inference and / or training logic 815 may be incorporated into the execution block 2411 and other memories or registers shown or not shown. For example, in at least one embodiment, the training and / or inference techniques described herein may use one or more ALUs shown in the execution block 2411. In addition, weight parameters may be stored in on-chip or off-chip memory and / or registers (shown or not shown) that configure the ALUs of the execution block 2411 to perform one or more of the machine learning algorithms, neural network architectures, use cases, or training techniques described herein.

[0405] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0406] Fig.25 A deep learning application processor 2500 is shown in accordance with at least one embodiment. In at least one embodiment, the deep learning application processor 2500 uses instructions that, if executed by the deep learning application processor 2500, cause the deep learning application processor 2500 to perform some or all of the processes and techniques described throughout this disclosure. In at least one embodiment, the deep learning application processor 2500 is an application specific integrated circuit (ASIC). In at least one embodiment, the application processor 2500 performs matrix multiplication operations or is "hardwired" into hardware as a result of executing one or more instructions, or both. In at least one embodiment, the deep learning application processor 2500 includes, but is not limited to, processing clusters 2510(1)-2510(12), inter-chip links (“ICLs”) 2520(1)-2520(12), inter-chip controllers (“ICCs”) 2530(1)-2530(2), second generation high bandwidth memory (“HBM2”) 2540(1)-2540(4), memory controllers (“MemCtrlr”) 2542(1)-2542(4), high bandwidth memory physical layer (“HBM PHY”) 2544(1)-2544(4), a management controller central processing unit (“management controller CPU”) 2550, serial peripheral interface, inter-integrated circuit and general purpose input / output blocks (“SPI, I2C, GPIO”) 2560, peripheral component interconnect express controller and direct memory access block (“PCIe controller and DMA”) 2570, and sixteen lane peripheral component interconnect express ports (“PCI Express x86”) 2580. 16”)2580.

[0407] In at least one embodiment, the processing cluster 2510 can perform deep learning operations, including inference or prediction operations based on weight parameters calculated based on one or more training techniques, including those described herein. In at least one embodiment, each processing cluster 2510 may include, but is not limited to, any number and type of processors. In at least one embodiment, the deep learning application processor 2500 may include any number and type of processing clusters 2500. In at least one embodiment, the inter-chip link 2520 is bidirectional. In at least one embodiment, the inter-chip link 2520 and the inter-chip controller 2530 enable multiple deep learning application processors 2500 to exchange information, including activation information generated from executing one or more machine learning algorithms embodied in one or more neural networks. In at least one embodiment, the deep learning application processor 2500 may include any number (including zero) and type of ICL 2520 and ICC 2530.

[0408] In at least one embodiment, HBM2 2540 provides a total of 32GB of memory. In at least one embodiment, HBM2 2540(i) is associated with both memory controller 2542(i) and HBM PHY2544(i), where "i" is an arbitrary integer. In at least one embodiment, any number of HBM2 2540 can provide any type and total amount of high bandwidth memory, and can be associated with any number (including zero) and type of memory controller 2542 and HBM PHY 2544. In at least one embodiment, SPI, I2C, GPIO3360, PCIe controller 2560 and DMA2570 and / or PCIe2580 can be replaced with any number and type of blocks to implement any number and type of communication standards in any technically feasible manner.

[0409] Reasoning and / or training logic 815 is used to perform reasoning and / or training operations associated with one or more embodiments. Fig. 8A and / or Figure 8B Details are provided regarding the inference and / or training logic 815. In at least one embodiment, the deep learning application processor is used to train a machine learning model (e.g., a neural network) to predict or infer information provided to the deep learning application processor 2500. In at least one embodiment, the deep learning application processor 2500 is used to infer or predict information based on a trained machine learning model (e.g., a neural network) that has been trained by another processor or system or by the deep learning application processor 2500. In at least one embodiment, the processor 2500 can be used to perform one or more of the neural network use cases described herein.

[0410] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0411] Fig.26 2600 . In at least one embodiment, the neuromorphic processor 2600 may receive one or more inputs from a source external to the neuromorphic processor 2600. In at least one embodiment, these inputs may be transmitted to one or more neurons 2602 within the neuromorphic processor 2600. In at least one embodiment, the neurons 2602 and their components may be implemented using circuits or logic including one or more arithmetic logic units (ALUs). In at least one embodiment, the neuromorphic processor 2600 may include, but is not limited to, thousands of instances of neurons 2602, but any suitable number of neurons 2602 may be used. In at least one embodiment, each instance of a neuron 2602 may include a neuron input 2604 and a neuron output 2606. In at least one embodiment, a neuron 2602 may generate an output that may be transmitted to the inputs of other instances of the neuron 2602. In at least one embodiment, the neuron input 2604 and the neuron output 2606 may be interconnected via a synapse 2608.

[0412] In at least one embodiment, the neurons 2602 and synapses 2608 may be interconnected such that the neuromorphic processor 2600 operates to process or analyze information received by the neuromorphic processor 2600. In at least one embodiment, the neuron 2602 may send an output pulse (or "trigger" or "spike") when the input received through the neuron input 2604 exceeds a threshold. In at least one embodiment, the neuron 2602 may sum or integrate the signal received at the neuron input 2604. For example, in at least one embodiment, the neuron 2602 may be implemented as a leaky integrate-trigger neuron, where if the sum (referred to as the "membrane potential") exceeds a threshold, the neuron 2602 may generate an output (or "trigger") using a transfer function such as a sigmoid or threshold function. In at least one embodiment, the leaky integrate-trigger neuron may sum the signal received at the neuron input 2604 into a membrane potential, and may apply an application attenuation factor (or leakage) to reduce the membrane potential. In at least one embodiment, a leaky integrate-and-trigger neuron may trigger if multiple input signals are received at the neuron input 2604 fast enough to exceed a threshold (i.e., before the membrane potential decays too low to trigger). In at least one embodiment, the neuron 2602 may be implemented using circuitry or logic that receives inputs, integrates the inputs into a membrane potential, and decays the membrane potential. In at least one embodiment, the inputs may be averaged, or any other suitable transfer function may be used. In addition, in at least one embodiment, the neuron 2602 may include, but is not limited to, a comparator circuit or logic that generates an output spike at the neuron output 2606 when the result of applying the transfer function to the neuron input 2604 exceeds a threshold. In at least one embodiment, once the neuron 2602 triggers, it may ignore previously received input information by, for example, resetting the membrane potential to 0 or another suitable default value. In at least one embodiment, once the membrane potential is reset to 0, the neuron 2602 may resume normal operation after a suitable period of time (or recovery period).

[0413] In at least one embodiment, neurons 2602 may be interconnected via synapses 2608. In at least one embodiment, synapses 2608 may be operable to transmit a signal from an output of a first neuron 2602 to an input of a second neuron 2602. In at least one embodiment, a neuron 2602 may transmit information over more than one instance of synapse 2608. In at least one embodiment, one or more instances of a neuron output 2606 may be connected to an instance of a neuron input 2604 in the same neuron 2602 via an instance of synapse 2608. In at least one embodiment, an instance of a neuron 2602 that produces an output to be transmitted over an instance of synapse 2608 may be referred to as a "pre-synaptic neuron" relative to that instance of synapse 2608. In at least one embodiment, an instance of a neuron 2602 that receives an input transmitted through an instance of synapse 2608 may be referred to as a "post-synaptic neuron" relative to an instance of synapse 2608. In at least one embodiment, with respect to various instances of synapses 2608, because an instance of neuron 2602 can receive input from one or more instances of synapses 2608 and can also transmit output through one or more instances of synapses 2608, a single instance of neuron 2602 can be both a "pre-synaptic neuron" and a "post-synaptic neuron."

[0414] In at least one embodiment, neurons 2602 may be organized into one or more layers. In at least one embodiment, each instance of a neuron 2602 may have a neuron output 2606 that may fan out to one or more neuron inputs 2604 through one or more synapses 2608. In at least one embodiment, a neuron output 2606 of a neuron 2602 in a first layer 2610 may be connected to a neuron input 2604 of a neuron 2602 in a second layer 2612. In at least one embodiment, a layer 2610 may be referred to as a "feed-forward layer". In at least one embodiment, each instance of a neuron 2602 in an instance of a first layer 2610 may fan out to each instance of a neuron 2602 in a second layer 2612. In at least one embodiment, a first layer 2610 may be referred to as a "fully connected feed-forward layer". In at least one embodiment, each instance of a neuron 2602 in each instance of a second layer 2612 may fan out to less than all instances of a neuron 2602 in a third layer 2614. In at least one embodiment, a second layer 2612 may be referred to as a "sparsely connected feed-forward layer". In at least one embodiment, neurons 2602 in the second layer 2612 may fan out to neurons 2602 in multiple other layers, including also fanning out to neurons 2602 in the second layer 2612. In at least one embodiment, the second layer 2612 may be referred to as a "recurrent layer." In at least one embodiment, the neuromorphic processor 2600 may include, but is not limited to, any suitable combination of recurrent layers and feed-forward layers, including but not limited to sparsely connected feed-forward layers and fully connected feed-forward layers.

[0415] In at least one embodiment, the neuromorphic processor 2600 may include, but is not limited to, a reconfigurable interconnect architecture or a dedicated hardwired interconnect to connect the synapses 2608 to the neurons 2602. In at least one embodiment, the neuromorphic processor 2600 may include, but is not limited to, circuitry or logic that allows synapses to be assigned to different neurons 2602 as needed, depending on the neural network topology and neuron fan-in / fan-out. For example, in at least one embodiment, the synapses 2608 may be connected to the neurons 2602 using an interconnect architecture such as a network on a chip or through dedicated connections. In at least one embodiment, the synaptic interconnects and their components may be implemented using circuitry or logic.

[0416] In at least one embodiment, the inference and / or training logic 815 is used to use the output from a previous layer of the one or more neural networks to cause two or more subsequent layers of the one or more neural networks to execute on separate computing resources. In at least one embodiment, the inference and / or training logic 815 provides the results from the previous layer to the two or more subsequent layers by determining whether to provide the same output from the previous layer to the two or more subsequent layers.

[0417] Fig. 27 A processing system according to at least one embodiment is shown. In at least one embodiment, system 2700 includes one or more processors 2702 and one or more graphics processors 2708, and can be a single processor desktop system, a multi-processor workstation system, or a server system with a large number of processors 2702 or processor cores 2707. In at least one embodiment, system 2700 is a processing platform incorporated within a system-on-chip (SoC) integrated circuit for use in a mobile, handheld, or embedded device.

[0418] In at least one embodiment, the system 2700 may include or be incorporated into a server-based gaming platform, including a gaming console, a mobile gaming console, a handheld gaming console, or an online gaming console for gaming and media consoles. In at least one embodiment, the system 2700 is a mobile phone, a smart phone, a tablet computing device, or a mobile Internet device. In at least one embodiment, the processing system 2700 may also include a wearable device coupled to or integrated in a wearable device, such as a smart watch wearable device, a smart glasses device, an augmented reality device, or a virtual reality device. In at least one embodiment, the processing system 2700 is a television or set-top box device having one or more processors 2702 and a graphical interface generated by one or more graphics processors 2708.

[0419] In at least one embodiment, one or more processors 2702 each include one or more processor cores 2707 to process instructions that, when executed, perform operations for system and user software. In at least one embodiment, each of the one or more processor cores 2707 is configured to process a specific instruction sequence 2709. In at least one embodiment, the instruction sequence 2709 can facilitate complex instruction set computing (CISC), reduced instruction set computing (RISC), or calculate by very long instruction words (VLIW). In at least one embodiment, the processor cores 2707 can each process different instruction sequences 2709, which can include instructions that contribute to emulating other instruction sequences. In at least one embodiment, the processor cores 2707 can also include other processing devices, such as digital signal processors (DSPs).

[0420] In at least one embodiment, the processor 2702 includes a cache memory 2704. In at least one embodiment, the processor 2702 may have a single internal cache or multiple levels of internal cache. In at least one embodiment, the cache memory is shared between various components of the processor 2702. In at least one embodiment, the processor 2702 also uses an external cache (e.g., a level 3 (L3) cache or a last level cache (LLC)) (not shown), which may be shared between the processor cores 2...

Claims

1. A processor, comprising: one or more circuits for causing two or more subsequent layers of one or more neural networks to execute on separate computing resources from a preceding layer based at least in part on whether the same output of a preceding layer of the one or more neural networks is to be provided to the two or more subsequent layers of the one or more neural networks, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: determining that the two or more subsequent layers are both dependent on outputs from a preceding layer; copying the output of the previous layer; and The output of the preceding layer is provided to a first subsequent layer among the two or more subsequent layers, and the duplicated output is provided to a second subsequent layer among the two or more subsequent layers.

2. The processor according to claim 1, further comprising: The one or more circuits are configured to: modifying the one or more neural networks to reduce a number of dependencies between layers of the one or more neural networks; as well as The modified neural network to be trained is partitioned using pipeline parallelism in the following way: Copying data from a component of the one or more neural networks from a computing resource to another computing resource, wherein the computing resource from which the data is being copied executes the component of the one or more neural networks in dependence on the data, and the other computing resource to which the data is copied executes another component of the one or more neural networks in dependence on the data.

3. The processor of claim 1, wherein the two or more subsequent layers each include at least an encoder in the first subsequent layer and a decoder in the second subsequent layer.

4. The processor of claim 3, wherein the output is provided to the encoder in the first subsequent layer and the replicated output is provided to the decoder in the second subsequent layer.

5. The processor of claim 4, wherein the first subsequent layer is to be executed by the processor and the second subsequent layer is to be executed by a different processor.

6. The processor of claim 1 , further comprising: One or more circuits for causing the two or more subsequent layers of the one or more neural networks to be executed simultaneously using the same output of the previous layer.

7. The processor of claim 1 , wherein the separate computing resources include: Graphics processing unit (GPU), parallel processing unit (PPU), computer system, pipeline, multiprocessor, other circuits of different processors and / or other circuits of the same processor.

8. A system comprising: one or more computers having one or more processors for causing two or more subsequent layers of one or more neural networks to execute on separate computing resources from the preceding layer based at least in part on whether the same output of the preceding layer of the one or more neural networks is to be provided to the two or more subsequent layers of the one or more neural networks, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: determining that the two or more subsequent layers are both dependent on outputs from a preceding layer; copying the output of the previous layer; and The output of the preceding layer is provided to a first subsequent layer among the two or more subsequent layers, and the duplicated output is provided to a second subsequent layer among the two or more subsequent layers.

9. The system of claim 8, wherein the preceding layer comprises a layer of the one or more neural networks that is executed before the two or more subsequent layers.

10. The system of claim 8, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: generating a duplicate copy of the output of the preceding layer; as well as The replicated copy is provided to one of the two or more subsequent layers.

11. The system of claim 8, wherein the preceding layer comprises an encoder, and the two or more subsequent layers each comprise a second encoder in a first subsequent layer and a decoder in a second subsequent layer.

12. The system of claim 8, further comprising the one or more computers having one or more processors for modifying parallel blocks from the one or more neural networks to remove dependencies within the parallel blocks.

13. The system of claim 8, further comprising the one or more computers having one or more processors for training the one or more neural networks by reducing the dependency of the output from the preceding layer on the two or more subsequent layers.

14. The system of claim 8, further comprising the one or more computers having one or more processors for training the one or more neural networks to perform medical image segmentation.

15. The system of claim 8, further comprising the one or more computers having one or more processors for using pipeline parallelism to train the one or more neural network partitions.

16. A machine-readable medium having stored thereon a set of instructions that, if executed by one or more processors, cause the one or more processors to cause two or more subsequent layers of one or more neural networks to execute on computing resources separate from the preceding layer based at least in part on whether the same output of a preceding layer of the one or more neural networks will be provided simultaneously to the two or more subsequent layers of the one or more neural networks, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: determining that the two or more subsequent layers are both dependent on outputs from a preceding layer; Copying the output of the previous layer; as well as The output of the preceding layer is provided to a first subsequent layer among the two or more subsequent layers, and the duplicated output is provided to a second subsequent layer among the two or more subsequent layers.

17. The machine-readable medium of claim 16, wherein the set of instructions, if executed by the one or more processors, further causes the one or more processors to: modifying the one or more neural networks by modifying a first parallel block to reduce the number of dependencies between layers of the first parallel block; and Partitioning a modified neural network to be trained using pipeline parallelism.

18. The machine-readable medium of claim 17, wherein the set of instructions, if executed by the one or more processors, further causes the one or more processors to generate a second parallel block, wherein layers in the second parallel block are to be executed by different computing resources than layers in the first parallel block.

19. The machine-readable medium of claim 18, wherein the set of instructions, if executed by the one or more processors, further causes the one or more processors to copy data from a component of the one or more neural networks from the first parallel block to the second parallel block such that the different computing resources execute another component of the one or more neural networks using the copied data.

20. The machine-readable medium of claim 19, wherein the output from the preceding layer of the first parallel block is provided to a second encoder in the first subsequent layer of the two or more subsequent layers, and a copy of the output is provided to a decoder in the second parallel block.

21. The machine-readable medium of claim 16, wherein the set of instructions, if executed by the one or more processors, further causes the one or more processors to cause the two or more subsequent layers of the one or more neural networks to be executed simultaneously using the same output of the previous layer.

22. The machine-readable medium of claim 16, wherein the set of instructions, if executed by the one or more processors, further causes the one or more processors to train the one or more neural networks by using a combination of training data parallelism and model parallelism.

23. A processor, comprising: one or more circuits for reasoning about information using a neural network, wherein the neural network is trained by causing two or more subsequent layers of one or more neural networks to execute on separate computing resources from a preceding layer based at least in part on whether the same output of a preceding layer of the one or more neural networks will be provided to the two or more subsequent layers of the one or more neural networks, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: determining that the two or more subsequent layers are both dependent on outputs from a preceding layer; copying the output of the previous layer; and The output of the preceding layer is provided to a first subsequent layer among the two or more subsequent layers, and the duplicated output is provided to a second subsequent layer among the two or more subsequent layers.

24. The processor of claim 23, wherein the separate computing resources include a first processor and a second processor.

25. The processor of claim 24, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: A copy of the output of the previous layer is generated and the generated copy is provided to a decoder for execution by the second processor.

26. The processor of claim 25, wherein the output of the preceding layer is provided to an encoder for execution by the first processor.

27. The processor of claim 23, further comprising: The one or more circuits are configured to infer information using the neural network, wherein the neural network is trained by causing the two or more subsequent layers of the neural network to be executed simultaneously using the same output of the previous layer.

28. The processor of claim 23, wherein the neural network is a convolutional neural network.

29. The processor of claim 23, further comprising: The one or more circuits are configured to train the neural network by modifying the neural network so that dependencies between layers to be executed by the computing resource are reduced by providing the same output to two or more subsequent layers to be executed by different computing resources, wherein the two or more subsequent layers depend on data from a previous layer executed by the computing resource.

30. The processor of claim 29, further comprising: The one or more circuits are configured to infer information using the neural network, wherein the modified neural network is to be trained using pipeline parallelism.

31. The processor of claim 23, further comprising: The one or more circuits are configured to train the neural network to perform medical image segmentation.

32. A system comprising: one or more computers having one or more processors for reasoning about information using a neural network, wherein the neural network is trained by causing two or more subsequent layers of the neural network to execute on separate computing resources from the preceding layer based at least in part on whether the same output of a preceding layer of the neural network is to be provided to the two or more subsequent layers of the neural network, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers further comprises: determining that the two or more subsequent layers are both dependent on outputs from a preceding layer; copying the output of the previous layer; and The output of the preceding layer is provided to a first subsequent layer among the two or more subsequent layers, and the duplicated output is provided to a second subsequent layer among the two or more subsequent layers.

33. The system of claim 32, wherein the same output of the preceding layer is provided to the two or more subsequent layers further comprising: Copying data from the preceding layer of the neural network from a computing resource to another computing resource, wherein the computing resource from which the data is being copied executes a first component of the neural network in dependence on the data and the other computing resource to which the data is copied executes another component of the neural network in dependence on the data.

34. A system according to claim 33, wherein the previous layer includes an encoder in a first parallel block, and the two or more subsequent layers each include at least a second encoder in a first subsequent layer in the first parallel block and a decoder in a second subsequent layer in a second parallel block.

35. The system of claim 34, wherein the output is provided to the second encoder in the first subsequent layer and the replicated output is provided to the decoder in the second subsequent layer.

36. The system of claim 35, wherein the first subsequent layer is to be executed by a processor and the second subsequent layer is to be executed simultaneously by a different processor.

37. A machine-readable medium having stored thereon a set of instructions that, if executed by one or more processors, cause the one or more processors to reason about information using a neural network, wherein the neural network is trained by causing two or more subsequent layers of the neural network to execute on separate computing resources from the preceding layer based at least in part on whether the same output of a preceding layer of the neural network is to be provided to the two or more subsequent layers of the neural network, wherein the same output of the preceding layer is to be provided to the two or more subsequent layers, further comprising: causing the output of the preceding layer to generate a replicated copy of the output; providing the output of the previous layer to a first subsequent layer executed by a first computing resource; and The replicated copy is provided to a second subsequent layer executed by a second computing resource.

38. The machine-readable medium of claim 37, wherein the two or more subsequent layers each include at least an encoder in a first subsequent layer and a decoder in a second subsequent layer.

39. The machine-readable medium of claim 38, wherein the encoder in the first subsequent layer and the decoder in the second subsequent layer are executed simultaneously by separate computing resources using the same output from the preceding layer.

40. The machine-readable medium of claim 39, wherein the first subsequent layer is to be executed by a processor that executed the preceding layer and the second subsequent layer is to be executed by a different processor.