Application programming interface for storage modifiability registration
AssigneeNVIDIA Corporation
InventorCory Perry
Life of this patent
Estimating the term…
Abstract
Apparatuses, systems, and techniques to facilitate storage allocation. In at least one embodiment, an application programming interface is used to execute instructions to cause storage to be allocated based on an indication of whether the storage may be modified.
Claims34
One or more processors, comprising:
- circuitry configured to:
- in response to an application programming interface (“API”) call comprising one or more parameters comprising a location of storage on a first device to be registered to a second device and an indication of a storage modifiability status for the second device,
- cause the storage to be registered to the second device based, at least in part, on the one or more parameters;
- and
- cause the second device to access the storage according to the one or more parameters and a mapping of the storage into an address space of the second device such that the storage modifiability status is to restrict the second device from modifying the storage while the storage remains modifiable by the first device.
A method comprising:
- in response to an application programming interface (“API”) call comprising one or more parameters comprising a location of storage on a first device to be registered to a second device and an indication of a storage modifiability status for the second device,
- causing the storage to be registered to the second device based, at least in part, on the one or more parameters;
- and
- causing the second device to access the storage according to the one or more parameters and a mapping of the storage into an address space of the second device such that the storage modifiability status is to restrict the second device from modifying the storage while the storage remains modifiable by the first device.
A computer system comprising one or more processors and non-transitory memory storing executable instructions that, as a result of being executed by the one or more processors, cause the computer system to:
- in response to an application programming interface (“API”) call comprising one or more parameters comprising a location of storage on a first device to be registered to a second device and an indication of a storage modifiability status for the second device,
- cause the storage to be registered to the second device based, at least in part, on the one or more parameters;
- and
- cause the second device to access the storage according to the one or more parameters and a mapping of the storage into an address space of the second device such that the storage modifiability status is to restrict the second device from modifying the storage while the storage remains modifiable by the first device.
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:
- in response to an application programming interface (“API”) call comprising one or more parameters comprising a location of storage on a first device to be registered to a second device and an indication of a storage modifiability status for the second device,
- cause the storage to be registered to the second device based, at least in part, on the one or more parameters;
- and
- cause the second device to access the storage according to the one or more parameters and a mapping of the storage into an address space of the second device such that the storage modifiability status is to restrict the second device from modifying the storage while the storage remains modifiable by the first device.
Dependencies are inferred from the claim text.