legate.core.Library#

class legate.core.Library#
__init__(*args, **kwargs)#

Attributes

name

str

raw_handle

uintptr_t

Methods

get_new_task_id(self)

Generate a new local task ID.

get_reduction_op_id(self, ...)

Convert a local reduction ID into a global reduction ID.

get_task_id(self, _LocalTaskID local_task_id)

Convert a global task ID to a local task ID.

get_tunable(self, int64_t tunable_id, Type dtype)

Get a tunable value.

register_task(self, TaskInfo task_info)

Register a task with the library.