|
Legate.jl
|
Classes | |
| struct | GetPtrFunctor |
Functions | |
| Scalar | string_to_scalar (std::string str) |
| Convert a string to a Scalar. | |
| LogicalArray | create_unbound_array (const Type &ty, std::uint32_t dim=1, bool nullable=false) |
| Create an unbound array. | |
| LogicalArray | create_array (const Shape &shape, const Type &ty, bool nullable=false, bool optimize_scalar=false) |
| Create an array with a specified shape. | |
| LogicalStore | create_unbound_store (const Type &ty, std::uint32_t dim=1) |
| Create an unbound store. | |
| LogicalStore | create_store (const Shape &shape, const Type &ty, bool optimize_scalar=false) |
| Create a store with a specified shape. | |
| LogicalStore | store_from_scalar (const Scalar &scalar, const Shape &shape=Shape{1}) |
| Create a store from a scalar value. | |
| LogicalStore | attach_external_store_sysmem (void *ptr, const Shape &shape, const Type &ty) |
| Attach an external store in system memory. | |
| LogicalStore | attach_external_store_fbmem (int device_id, void *ptr, const Shape &shape, const Type &ty, bool readonly) |
| Attach an external store in frame buffer memory. | |
| void * | get_ptr (legate::PhysicalStore *store) |
| Get a pointer to the data in a PhysicalStore. | |
|
inline |
Attach an external store in frame buffer memory.
| device_id | The device ID. |
| ptr | Pointer to the external memory. |
| shape | The shape of the store. |
| ty | The type of the store elements. |
| readonly | Whether the store is read-only. |
|
inline |
Attach an external store in system memory.
| ptr | Pointer to the external memory. |
| shape | The shape of the store. |
| ty | The type of the store elements. |
|
inline |
Create an array with a specified shape.
| shape | The shape of the array. |
| ty | The type of the array elements. |
| nullable | Whether the array can contain nulls (default false). |
| optimize_scalar | Whether to optimize scalar storage (default false). |
|
inline |
Create a store with a specified shape.
| shape | The shape of the store. |
| ty | The type of the store elements. |
| optimize_scalar | Whether to optimize scalar storage (default false). |
|
inline |
Create an unbound array.
| ty | The type of the array elements. |
| dim | The number of dimensions (default 1). |
| nullable | Whether the array can contain nulls (default false). |
|
inline |
Create an unbound store.
| ty | The type of the store elements. |
| dim | The dimensionality (default 1). |
|
inline |
Get a pointer to the data in a PhysicalStore.
| store | Pointer to the PhysicalStore. |
|
inline |
Create a store from a scalar value.
| scalar | The scalar to store. |
| shape | The shape of the store (default 1-element). |
|
inline |
Convert a string to a Scalar.
| str | The string to convert. |