Skip to content

AccessorROfloat #7

Open
Open
@Anjiang-Wei

Description

@Anjiang-Wei

https://github.com/StanfordLegion/legion-manual/blob/master/regions.tex#L185:
There are many accessor constructors pre-defined for different combinations of privileges and field types. For example, a `AccessorROfloat` is the type of an accessor with read-only privileges on a field of type `float`.

However, I don't think AccessorROfloat exists in Legion's header files.
The following code exists in circuit example's header file:
https://github.com/StanfordLegion/legion/blob/stable/examples/circuit/circuit.h#L85

typedef FieldAccessor<READ_ONLY,float,1,coord_t,Realm::AffineAccessor<float,1,coord_t> > AccessorROfloat;

I assume AccessorROfloat might not be something directly supported by Legion. If Legion internally supported AccessorROfloat, then there would be no need to use typedef in the circuit example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions