# US 2020/0394498 A1 · Neural network scheduling mechanism

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394498 A1
- Document ID: US20200394498A1
- Status: Published application
- Kind: A1
- Application number: 16/918,220
- Filed: 2020-07-01
- Published: 2020-12-17
- Earliest claimed: 2017-04-09
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Liwei Ma; Nadathur Rajagopalan Satish; Jeremy Bottleson; Farshad Akhbari; Eriko Nurvitadhi; Chandrasekaran Sakthivel; Barath Lakshmanan; Jingyi Jin; Justin E. Gottschlich; Michael Strikland
- Web page: https://patentgrep.com/patent/US20200394498A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 2209/5021: Priority
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An apparatus to facilitate workload scheduling is disclosed. The apparatus includes one or more clients, one or more processing units to processes workloads received from the one or more clients, including hardware resources and scheduling logic to schedule direct access of the hardware resources to the one or more clients to process the workloads.

## Claims

### Claim 1

An apparatus to facilitate workload scheduling comprising:
one or more clients; and
one or more general purpose graphics processing units to processes general purpose graphics workloads received from the one or more clients, including:
hardware resources;
a scheduler to schedule direct access to the hardware resources to the one or more clients to process the workloads, wherein the one or more clients are each associated with a precompiled neural network (NN) kernel; and
a gather unit to bypass zero data values and gather non-zero data values associated with the one or more clients.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the non-zero data values are data values for a convolutional kernel to be multiplied by data elements of a feature map.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the scheduler schedules access to each of the one or more clients via a Kernel Mode Driver (KMD).

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the scheduler provides access to each of the one or more clients to the hardware resources based on priority and a submission client type.

### Claim 5 (depends on 2)

The apparatus of claim 2, further comprising driver logic to access the one or more processing units, wherein each of the one or more clients are registered at the driver logic.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein each of the one or more clients receives a function pointer to enable direct access to the hardware resources.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein each of the one or more clients comprise an input interface to the one or more processing units.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the gather unit is to store a map to the non-zero data values associated with the one or more clients and gather the non-zero data values based on the map.

### Claim at position 9

9-10. (canceled)

### Claim 11

A method to facilitate workload scheduling, comprising:
receiving requests from one or more clients to access hardware resources of a general purpose graphics processing unit;
scheduling direct access of the hardware resources to a first client of the one or more clients to process the workloads, wherein the one or more clients are each associated with a precompiled neural network (NN) kernel; and
gathering, via a gather unit of the general purpose graphics processing unit, non-zero data values associated with the one or more clients while bypassing zero data values associated with the one or more clients.

### Claim 12 (depends on 11)

The method of claim 11, wherein the gathering is performed via a map to the non-zero data values.

### Claim 13 (depends on 11)

The method of claim 11, wherein access to the first client is scheduled via a Kernel Mode Driver (KMD).

### Claim 14 (depends on 11)

The method of claim 11, wherein access is provided to the first client based on a priority and a submission client type.

### Claim 15 (depends on 14)

The method of claim 14, further comprising registering the first client with driver logic associated with the processing unit.

### Claim 16

At least one non-transitory computer readable medium having instructions, which when executed by one or more processors, the one or more processors including a general purpose graphics processing unit, cause the one or more processors to:
receive requests from one or more clients to access hardware resources of the general purpose graphics processing unit to process workloads associated with the one or more clients;
schedule direct access of the hardware resources to a first client of the one or more clients to process the workloads, wherein the one or more clients are each associated with a precompiled neural network (NN) kernel; and
gathering, via a gather unit of the general purpose graphics processing unit, non-zero data values associated with the one or more clients while bypassing zero data values associated with the one or more clients.

### Claim 17 (depends on 16)

The computer readable medium of claim 16, wherein the the gathering is performed via a map to the non-zero data values.

### Claim 18 (depends on 16)

The computer readable medium of claim 16, wherein access to the first client is scheduled via a Kernel Mode Driver (KMD).

### Claim 19 (depends on 16)

The computer readable medium of claim 16, wherein access is provided to the first client based on a priority and a submission client type.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, having instructions, which when executed by the one or more processors, further causes the processors to register the first client with driver logic associated with the processing unit.
