# US 2026/0099359 A1 · System and Method for Central Processing Unit (CPU)-based Machine Learning Training Using Affinitized Threads

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

- Number: US 2026/0099359 A1
- Document ID: US20260099359A1
- Status: Published application
- Kind: A1
- Application number: 18/909,544
- Filed: 2024-10-08
- Published: 2026-04-09
- Earliest claimed: 2024-10-08
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Ervin Peretz; Robert Sommer Chappell
- Web page: https://patentgrep.com/patent/US20260099359A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 12/0806: Multiuser, multiprocessor or multiprocessing cache systems
- G06F 12/0842: for multiprocessing or multitasking
- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method, computer program product, and computing system for assigning a data shard associated with a machine learning application to each CPU core of a plurality of CPU cores. The data shard of a respective CPU core is loaded to a corresponding affinitized cache memory. A processing thread for the data shard is assigned to the respective CPU core. Multiple processing threads for the data shard are executed using the same respective CPU core and the corresponding cache memory.

## Claims

### Claim 1

A computer-implemented method, executed on a computing device, comprising:
assigning a data shard associated with a machine learning application to each CPU core of a plurality of CPU cores;
loading the data shard of a respective CPU core to a corresponding affinitized cache memory;
assigning a processing thread for the data shard to the respective CPU core; and
executing the processing thread for the data shard using the respective CPU core and the corresponding cache memory.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of CPU cores include multiple CPU cores per CPU socket.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
determining a number of available CPU cores of the plurality of CPU cores for executing the machine learning application.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining a size of affinitized cache memory available per CPU core.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein assigning the data shard associated with the machine learning application to each CPU core includes limiting the data shard to the size of the affinitized cache memory available to each CPU core.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the machine learning application is a machine learning training application.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the processing thread includes a warp of threads.

### Claim 8

A computing system comprising:
a memory; and
a processor configured to determine a number of available CPU cores of a plurality of CPU cores for executing a machine learning application, to determine a size of affinitized cache memory available per CPU core, to assigns a data shard associated with the machine learning application to each CPU core of a plurality of CPU cores, to load the data shard of a respective CPU core to a corresponding affinitized cache memory, to assign a processing thread for the data shard to the respective CPU core, and to execute the processing thread for the data shard using the respective CPU core and the corresponding cache memory.

### Claim 9 (depends on 8)

The computing system of claim 8, wherein assigning the data shard associated with the machine learning application to each CPU core includes limiting the data shard to the size of the affinitized cache memory available to each CPU core.

### Claim 10 (depends on 8)

The computing system of claim 8, wherein the plurality of CPU cores include multiple CPU cores per CPU socket.

### Claim 11 (depends on 8)

The computing system of claim 8, wherein the machine learning application is a machine learning training application.

### Claim 12 (depends on 8)

The computing system of claim 8, wherein the processing thread includes a warp of threads.

### Claim 13 (depends on 12)

The computing system of claim 12, wherein the warp of threads is associated with a single stage of machine learning training for the machine learning training application.

### Claim 14 (depends on 12)

The computing system of claim 12, wherein executing the processing thread includes executing multiple warps of threads for the data shard using the respective CPU core and the corresponding cache memory.

### Claim 15

A computer program product residing on a non-transitory computer readable medium having a plurality of instructions stored thereon which, when executed by a processor, cause the processor to perform operations comprising:
determining a size of affinitized Level 2 (L2) cache memory available per CPU core;
assigning a data shard associated with the machine learning training application to each CPU core of a plurality of CPU cores;
loading the data shard of a respective CPU core to a corresponding affinitized L2 cache memory;
assigning a processing thread for the data shard to the respective CPU core; and
executing the processing thread for the data shard using the respective CPU core and the corresponding L2 cache memory.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein assigning the data shard associated with the machine learning training application to each CPU core includes limiting the data shard to the size of the affinitized L2 cache memory available to each CPU core.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the plurality of CPU cores include multiple CPU cores per CPU socket.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the processing thread includes a warp of threads.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the warp of threads is associated with a single stage of machine learning training for the machine learning training application.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein executing the processing thread includes executing multiple warps of threads for the data shard using the respective CPU core and the corresponding L2 cache memory.
