ExtMemPointer#
Defined in src/include/cupva_types.h
-
struct ExtMemPointer#
Structure to hold information about buffers not stored in VMEM.
This object may be populated prior to VPU kernel launch from a device pointer by the host API using Parameter APIs (see cupva::Parameter::operator=). It may also be filled explicitly with cupvaGetL2ExtMemPointer().
Public Members
-
uint64_t base#
Base IOVA. PVA only uses the lower 40-bit of base for storing IOVA and the most significant byte is reserved for storing memory type.
-
uint64_t offset#
Offset in bytes. User-side pointer corresponds to location specified by base+offset sum
-
uint64_t size#
Total mapped region size in bytes. Any location between [base, base+size) is legal to access
-
uint64_t base#