#include <legion.h>
Public Member Functions | |
AttachLauncher (ExternalResource resource, LogicalRegion handle, LogicalRegion parent, const bool restricted=true, const bool mapped=true) | |
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 | handle |
LogicalRegion | parent |
bool | restricted |
bool | mapped |
std::string | provenance |
const char * | file_name |
LegionFileMode | mode |
std::vector< FieldID > | file_fields |
std::map< FieldID, const char * > | field_files |
LayoutConstraintSet | constraints |
std::set< FieldID > | privilege_fields |
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.