# US 2025/0156683 A1 · Application programming interface to allocate memory to perform tensor operations

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

- Number: US 2025/0156683 A1
- Document ID: US20250156683A1
- Status: Published application
- Kind: A1
- Application number: 18/510,213
- Filed: 2023-11-15
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Paul Martin Springer; Markus Hoehnerbach; Christos Psarras; Ali Mohamad Charara; Adam Jedrych; Yao-Lung Fang; Satya Narayan Varadhan
- Web page: https://patentgrep.com/patent/US20250156683A1

## CPC

- G06F 8/36: Software reuse
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 8/41: Compilation
- G06F 8/443: {Optimisation}
- G06F 9/4552: {Involving translation to a different instruction set architecture, e.g. just-in-time translation in a JVM}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 12/023: {Free address space management}
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06T 1/60: Memory management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Apparatuses, systems, and techniques to perform one or more operations using a tensor. In at least one embodiment, one or more circuits are to perform an application programming interface (API) to perform one or more operations using one or more tensors based on at least one or more indications of the plurality of operations by the API, one or more compiler options indicated by the API, and/or one of one or more indications of an amount of storage to be used to perform the one or more operations.

## Claims

### Claim 1

A processor comprising: one or more circuits to perform an application programming interface (API) to cause one or more operations to be performed using one or more tensors based, at least in part, on one or more indications of an amount of storage to be used to perform the one or more operations.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the one or more indications of an amount of storage to be used to perform the one or more operations is less than an estimated amount of storage to be used to perform the one or more operations.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor data identification.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more planning description.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more size of workplace determination.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor operation descriptor.

### Claim 7 (depends on 1)

The processor of claim 1, wherein the API to cause the one or more of operations to be performed using the one or more tensors allocates one or more portions of memory to perform the one or more operations.

### Claim 8

A system, comprising: one or more processors to cause one or more circuits to perform an application programming interface (API) to cause one or more operations to be performed using one or more tensors based, at least in part, on one or more indications of an amount of storage to be used to perform the one or more operations.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more indications of an amount of storage to be used to perform the one or more operations is less than an estimated amount of storage to be used to perform the one or more operations.

### Claim 10 (depends on 8)

The system of claim 8, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor data identification.

### Claim 11 (depends on 8)

The system of claim 8, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more planning description.

### Claim 12 (depends on 8)

The system of claim 8, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more size of workplace determination.

### Claim 13 (depends on 8)

The system of claim 8, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor operation descriptor.

### Claim 14 (depends on 8)

The system of claim 8, wherein the API to cause the one or more of operations to be performed using the one or more tensors allocates one or more portions of memory to perform the one or more operations.

### Claim 15

A method, comprising: performing an application programming interface (API) to cause one or more operations to be performed using one or more tensors based, at least in part, on one or more indications of an amount of storage to be used to perform the one or more operations.

### Claim 16 (depends on 15)

The method of claim 15, wherein the one or more indications of an amount of storage to be used to perform the one or more operations is less than an estimated amount of storage to be used to perform the one or more operations.

### Claim 17 (depends on 15)

The method of claim 15, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor data identification.

### Claim 18 (depends on 15)

The method of claim 15, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more planning description.

### Claim 19 (depends on 15)

The method of claim 15, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more size of workplace determination.

### Claim 20 (depends on 15)

The method of claim 15, wherein the API to cause the one or more of operations to be performed using the one or more tensors is further based, at least in part on one or more tensor operation descriptor.
