legate.core.task.OutputStore#

class legate.core.task.OutputStore#

Convenience class for specifying output stores for Legate task variants.

This class can be used as a type annotation in order to mark parameters as outputs that should be taken from TaskContext.outputs when the task code is invoked:

def task_function(in: InputStore, out: OutputStore) -> None
__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

bind_data(self, TaskLocalBuffer buffer[, extent])

Binds a buffer to the store.

create_output_buffer(self, shape, bool bind=True)

Create a buffer for the store to potentially bind to later on.

get_inline_allocation(self)

Get the InlineAllocation for this store.

Attributes

__array_interface__

dict[str, Any]

__cuda_array_interface__

dict[str, Any]

__doc__

domain

Domain_t

ndim

int32_t

target

StoreTarget

type

Type