|
MLIR 24.0.0git
|
The arguments every mapping entry point of the OpenACC runtime takes, in the order they are passed. More...
#include "mlir/Conversion/OpenACCToLLVM/ACCDataRuntime.h"
Public Member Functions | |
| SmallVector< Value > | getCallArgs () const |
| Returns the fields above in the order the entry points take them, so that a caller only appends the arguments specific to the one it calls. | |
Public Attributes | |
| Value | ident |
| Source position and enclosing function name of the directive. | |
| Value | flags |
| Reserved for per-call runtime flags; no flag is defined yet. | |
| Value | deviceType |
| Device type the directive applies to, in the runtime encoding. | |
| Value | argNum |
| Number of mapped objects, that is, the length of each array below. | |
| Value | argBasePtrs |
| Array of pointer slots to attach a mapped object to, null when the object is not attached to anything. | |
| Value | argPtrs |
| Array of addresses of the mapped objects themselves. | |
| Value | argSizes |
| Array of object sizes in bytes; zero where the descriptor or the bounds state the extent instead. | |
| Value | argTypes |
| Array of map-type flags, in the runtime encoding of acc::MapFlags. | |
| Value | argNames |
| Array of variable names for runtime diagnostics, null where unknown. | |
| Value | argMappers |
| Array of user-defined mappers. OpenACC has none, so this is always null. | |
| Value | argDescs |
| Array of descriptors stating layout and bounds, null for whole objects of a known size. | |
The arguments every mapping entry point of the OpenACC runtime takes, in the order they are passed.
An entry point that maps argNum objects reads one element from each of the arrays below per object; an entry point may also take further arguments of its own, which are not part of this set.
Definition at line 40 of file ACCDataRuntime.h.
| SmallVector< Value > mlir::ACCDataRuntimeArgs::getCallArgs | ( | ) | const |
Returns the fields above in the order the entry points take them, so that a caller only appends the arguments specific to the one it calls.
Definition at line 357 of file ACCDataRuntime.cpp.
References argBasePtrs, argDescs, argMappers, argNames, argNum, argPtrs, argSizes, argTypes, deviceType, flags, and ident.
Referenced by emitDataRuntimeCall().
| Value mlir::ACCDataRuntimeArgs::argBasePtrs |
Array of pointer slots to attach a mapped object to, null when the object is not attached to anything.
Definition at line 51 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argDescs |
Array of descriptors stating layout and bounds, null for whole objects of a known size.
Definition at line 65 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argMappers |
Array of user-defined mappers. OpenACC has none, so this is always null.
Definition at line 62 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argNames |
Array of variable names for runtime diagnostics, null where unknown.
Definition at line 60 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argNum |
Number of mapped objects, that is, the length of each array below.
Definition at line 48 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argPtrs |
Array of addresses of the mapped objects themselves.
Definition at line 53 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argSizes |
Array of object sizes in bytes; zero where the descriptor or the bounds state the extent instead.
Definition at line 56 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::argTypes |
Array of map-type flags, in the runtime encoding of acc::MapFlags.
Definition at line 58 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::deviceType |
Device type the directive applies to, in the runtime encoding.
Definition at line 46 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::flags |
Reserved for per-call runtime flags; no flag is defined yet.
Definition at line 44 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().
| Value mlir::ACCDataRuntimeArgs::ident |
Source position and enclosing function name of the directive.
Definition at line 42 of file ACCDataRuntime.h.
Referenced by mlir::emitACCDataRuntimeArgs(), and getCallArgs().