Legate.jl
Loading...
Searching...
No Matches
wrapper.inl File Reference
#include "legate.h"
#include "legate/mapping/machine.h"
#include "legate/runtime/runtime.h"
#include "legate/timing/timing.h"
#include "legion.h"
#include "legion/legion_config.h"

Go to the source code of this file.

Classes

struct  legate_wrapper::data::GetPtrFunctor

Namespaces

namespace  legate_wrapper
 These functions can be invoked from Julia.
namespace  legate_wrapper::runtime
namespace  legate_wrapper::tasking
namespace  legate_wrapper::data
namespace  legate_wrapper::time

Functions

void legate_wrapper::runtime::start_legate ()
 Start the Legate runtime.
int32_t legate_wrapper::runtime::legate_finish ()
 Finalize the Legate runtime.
Runtime * legate_wrapper::runtime::get_runtime ()
 Return the current Legate runtime instance.
bool legate_wrapper::runtime::has_started ()
 Check whether the Legate runtime has started.
bool legate_wrapper::runtime::has_finished ()
 Check whether the Legate runtime has finished.
Constraint legate_wrapper::tasking::align (const Variable &a, const Variable &b)
 Align two variables.
AutoTask legate_wrapper::tasking::create_auto_task (Runtime *rt, Library lib, LocalTaskID id)
 Create an auto task in the runtime.
ManualTask legate_wrapper::tasking::create_manual_task (Runtime *rt, Library lib, LocalTaskID id, const Domain &domain)
 Create an manual task in the runtime.
Domain legate_wrapper::tasking::domain_from_shape (const Shape &shape)
 Create a Domain from a Shape.
auto legate_wrapper::tasking::submit_auto_task (Runtime *rt, AutoTask &task)
 Submit an auto task to the runtime.
auto legate_wrapper::tasking::submit_manual_task (Runtime *rt, ManualTask &task)
 Submit a manual task to the runtime.
Scalar legate_wrapper::data::string_to_scalar (std::string str)
 Convert a string to a Scalar.
LogicalArray legate_wrapper::data::create_unbound_array (const Type &ty, std::uint32_t dim=1, bool nullable=false)
 Create an unbound array.
LogicalArray legate_wrapper::data::create_array (const Shape &shape, const Type &ty, bool nullable=false, bool optimize_scalar=false)
 Create an array with a specified shape.
LogicalStore legate_wrapper::data::create_unbound_store (const Type &ty, std::uint32_t dim=1)
 Create an unbound store.
LogicalStore legate_wrapper::data::create_store (const Shape &shape, const Type &ty, bool optimize_scalar=false)
 Create a store with a specified shape.
LogicalStore legate_wrapper::data::store_from_scalar (const Scalar &scalar, const Shape &shape=Shape{1})
 Create a store from a scalar value.
LogicalStore legate_wrapper::data::attach_external_store_sysmem (void *ptr, const Shape &shape, const Type &ty)
 Attach an external store in system memory.
LogicalStore legate_wrapper::data::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 * legate_wrapper::data::get_ptr (legate::PhysicalStore *store)
 Get a pointer to the data in a PhysicalStore.
uint64_t legate_wrapper::time::time_microseconds ()
 Measure time in microseconds.
uint64_t legate_wrapper::time::time_nanoseconds ()
 Measure time in nanoseconds.