Legion Runtime
|
#include <legion.h>
Public Member Functions | |
AttachLauncher (ExternalResource resource, LogicalRegion handle, LogicalRegion parent, const bool restricted=true, const bool mapped=true) | |
void | initialize_constraints (bool column_major, bool soa, const std::vector< FieldID > &fields, const std::map< FieldID, size_t > *alignments=NULL) |
void | attach_file (const char *file_name, const std::vector< FieldID > &fields, LegionFileMode mode) |
void | attach_hdf5 (const char *file_name, const std::map< FieldID, const char * > &field_map, LegionFileMode mode) |
void | attach_array_aos (void *base, bool column_major, const std::vector< FieldID > &fields, Memory memory=Memory::NO_MEMORY, const std::map< FieldID, size_t > *alignments=NULL) |
void | attach_array_soa (void *base, bool column_major, const std::vector< FieldID > &fields, Memory memory=Memory::NO_MEMORY, const std::map< FieldID, size_t > *alignments=NULL) |
Public Attributes | |
ExternalResource | resource |
LogicalRegion | parent |
LogicalRegion | handle |
std::set< FieldID > | privilege_fields |
const Realm::ExternalInstanceResource * | external_resource |
LayoutConstraintSet | constraints |
bool | restricted |
bool | mapped |
bool | collective |
bool | deduplicate_across_shards |
std::string | provenance |
const char * | file_name |
LegionFileMode | mode |
std::vector< FieldID > | file_fields |
std::map< FieldID, const char * > | field_files |
size_t | footprint |
const std::vector< StaticDependence > * | static_dependences |
Attach launchers are used for attaching existing physical resources outside of a Legion application to a specific logical region. This can include attaching files or arrays from inter-operating programs. We provide a generic attach launcher than can handle all kinds of attachments. Each attach launcher should be used for attaching only one kind of resource. Resources are described using Realm::ExternalInstanceResource descriptors (interface can be found in realm/instance.h). There are many different kinds of external instance resource descriptors including: