BARRIERLESS AND FENCELESS SHARED MEMORY SYNCHRONIZATION WITH WRITE FLAG TOGGLING

Patent №

US 11,620,169

Granted

2023-04-04

Filed 2020

Owner

NVIDIA CORPORATION

AI components

2

planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

16818845

When communicating through shared memory, a producer thread generates a value that is written to a location in a shared memory. The value is read from the shared memory by a consumer thread. The challenge is to ensure that the consumer thread reads the location only after the value is written and is thereby synchronized. When a memory location is written by a producer thread, a flag that is simultaneously stored in the memory location along with the value is toggled. The consumer thread tracks information to determine whether the flag stored in the location indicates whether the producer has written the value to the location. The flag is read and written simultaneously with reading and writing the location in memory, thereby eliminating the need for a memory fence. After all of the consumer threads read the value, the location may be reused to write additional value(s) and simultaneously toggle the flag.

PlanningAI hardwareG06F 9/52G06F 9/30094G06F 9/3851G06F 9/3888G06F 9/544G06F 2209/521

AI classification

AI hardware0.98
Planning0.61
Knowledge representation0.06
Vision0.00
Machine learning0.00
Natural language0.00
Speech0.00
Evolutionary computation0.00

Ownership

NVIDIA CORPORATION

assignment · 521130313

Assignors

VOLKOV, VASILY

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC