# US 2021/0286752 A1 · Techniques to transfer data among hardware devices

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

- Number: US 2021/0286752 A1
- Document ID: US20210286752A1
- Status: Published application
- Kind: A1
- Application number: 16/816,122
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Kiran Kumar Modukuri; Christopher J. Newburn; Saptarshi Sen; Akilesh Kailash; Sandeep Joshi
- Web page: https://patentgrep.com/patent/US20210286752A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 15/173: using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06F 15/17362: {hierarchical topologies}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Apparatuses, systems, and techniques to route data transfers between hardware devices. In at least one embodiment, a path over which to transfer data from a first hardware component of a computer system to a second hardware component of a computer system is determined based, at least in part, on one or more characteristics of different paths usable to transfer the data.

## Claims

### Claim 1

A processor comprising:
one or more circuits to determine a path over which to transfer data from a first hardware component of a computer system to a second hardware component of the computer system based, at least in part, on a device tree and one or more characteristics of different paths usable to transfer the data.

### Claim 2 (depends on 1)

The processor of claim 1, wherein one or more of the first hardware component and the second hardware component is a graphics processing unit (GPU).

### Claim 3 (depends on 1)

The processor of claim 1, wherein the device tree is a representation of a hardware topology that includes the first hardware component and the second hardware component.

### Claim 4 (depends on 3)

The processor of claim 3, wherein the device tree is a device hierarchy tree, and the one or more circuits are further to generate the device hierarchy tree based, at least in part, on peripheral component interconnect express (PCIe) bus device function (BDF) information.

### Claim 5 (depends on 3)

The processor of claim 3, wherein the first hardware component is controlled by a first operating system (OS) instance, the second hardware component is controlled by a second OS instance, and the first hardware component and the second hardware component are connected on an inter-node path that includes at least one of a memory fabric or a network fabric.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the one or more circuits are further to determine a set of available block devices, and to determine the path based, at least in part, on the set of available block devices.

### Claim 7 (depends on 1)

The processor of claim 1, wherein the path includes a buffer managed by an intermediate device.

### Claim 8 (depends on 7)

The processor of claim 7, wherein the one or more circuits are further to determine that the buffer allows direct memory access (DMA) and has a predetermined amount of space available.

### Claim 9 (depends on 1)

The processor of claim 1, wherein the one or more circuits are further to determine a set of available block devices, and to determine the path based, at least in part, on a set of available links.

### Claim 10 (depends on 1)

The processor of claim 1, wherein the one or more circuits are further to determine a plurality of values corresponding to a plurality of dynamic component conditions, and to determine the path based, at least in part, on the plurality of values.

### Claim 11

A non-transitory machine-readable medium having stored thereon a set of instructions, which if performed by one or more processors, cause the one or more processors to at least:
determine a path over which to transfer data from a first hardware component of a computer system to a second hardware component of the computer system based, at least in part, on one or more characteristics of different paths usable to transfer the data, wherein one or more of the first hardware component and the second hardware component is a graphics processing unit (GPU).

### Claim 12

(canceled)

### Claim 13 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the instructions, which if performed by the one or more processors, further cause the one or more processors to determine the path based, at least in part, on a representation of a hardware topology that includes the first hardware component and the second hardware component.

### Claim 14 (depends on 13)

The non-transitory machine-readable medium of claim 13, wherein the representation of the hardware topology is a device hierarchy tree, and the instructions, which if performed by the one or more processors, further cause the one or more processors to generate the device hierarchy tree based, at least in part, on peripheral component interconnect express (PCIe) bus device function (BDF) information.

### Claim 15 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the instructions, which if performed by the one or more processors, further cause the one or more processors to determine a set of available block devices, and to determine the path based, at least in part, on the set of available block devices.

### Claim 16 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the path includes a buffer managed by an intermediate device.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the instructions, which if performed by the one or more processors, further cause the one or more processors to determine that the buffer allows direct memory access (DMA) and has a predetermined amount of space available.

### Claim 18 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the instructions, which if performed by the one or more processors, further cause the one or more processors to determine a plurality of values corresponding to a plurality of dynamic component conditions, and to determine the path based, at least in part, on the plurality of values.

### Claim 19

A method comprising:
determining a path over which to transfer data from a first hardware component of a computer system to a second hardware component of the computer system based, at least in part, on a device tree and one or more characteristics of different paths usable to transfer the data.

### Claim 20 (depends on 19)

The method of claim 19, further comprising transferring a set of data from the first hardware component to the second hardware component via the path.

### Claim 21 (depends on 19)

The method of claim 19, wherein one or more of the first hardware component and the second hardware component is a graphics processing unit (GPU).

### Claim 22 (depends on 19)

The method of claim 19, wherein the device tree is a representation of a hardware topology that includes the first hardware component and the second hardware component.

### Claim 23 (depends on 19)

The method of claim 19, further comprising: determining a set of available block devices, wherein determining the path is based, at least in part, on the set of available block devices.

### Claim 24 (depends on 19)

The method of claim 19, wherein the path includes a buffer managed by an intermediate device.

### Claim 25 (depends on 24)

The method of claim 24, further comprising: determining that the buffer allows direct memory access (DMA) and has a predetermined amount of space available.

### Claim 26 (depends on 19)

The method of claim 19, further comprising: determining a plurality of values corresponding to a plurality of dynamic component conditions, wherein determining the path is based, at least in part, on the plurality of values.

### Claim 27

A system comprising:
one or more processors to determine a path over which to transfer data from a first hardware component of a computer system to a second hardware component of the computer system based, at least in part, on one or more characteristics of different paths usable to transfer the data; and
one or more memories to store a set of data that represents the path, wherein one or more of the first hardware component and the second hardware component is a graphics processing unit (GPU).

### Claim 28

(canceled)

### Claim 29 (depends on 27)

The system of claim 27, wherein the one or more processors are to determine the path based, at least in part, on a representation of a hardware topology that includes the first hardware component and the second hardware component.

### Claim 30 (depends on 29)

The system of claim 29, wherein the representation of the hardware topology is a device hierarchy tree, ant the one or more processors are further to generate the device hierarchy tree based, at least in part, on peripheral component interconnect express (PCIe) bus device function (BDF) information.

### Claim 31 (depends on 27)

The system of claim 27, wherein the one or more processors are further to determine a set of available block devices, and to determine the path based, at least in part, on the set of available block devices.

### Claim 32 (depends on 27)

The system of claim 27, wherein the path includes a buffer managed by an intermediate device.

### Claim 33 (depends on 32)

The system of claim 32, wherein the one or more processors are further to determine that the buffer allows direct memory access (DMA) and has a predetermined amount of space available.

### Claim 34 (depends on 27)

The system of claim 27, wherein the one or more processors are further to determine a plurality of values corresponding to a plurality of dynamic component conditions, and to determine the path based, at least in part, on the plurality of values.
