|
| | TraceHostMemRegion (std::size_t size, TraceAccelerator::Impl &impl) |
| virtual | ~TraceHostMemRegion () |
| virtual void * | getPtr () const override |
| | Get a pointer to the host memory.
|
| virtual std::size_t | getSize () const override |
| virtual | ~HostMemRegion ()=default |
| virtual void * | getDevicePtr () const |
| | Sometimes the pointer the device sees is different from the pointer the host sees.
|
| | operator void * () const |
| std::optional< uint64_t > | getDeviceAddress (const void *ptr, std::size_t size) const |
| | Device address of the host range [ptr, ptr + size) if that range lies entirely inside this region; std::nullopt otherwise (including when size == 0 or the range would overflow the host or device address space).
|
| virtual void | flush () |
| | Flush the memory region to ensure that the device sees the latest contents.
|
Definition at line 328 of file Trace.cpp.
◆ TraceHostMemRegion()
◆ ~TraceHostMemRegion()
| virtual TraceHostMem::TraceHostMemRegion::~TraceHostMemRegion |
( |
| ) |
|
|
inlinevirtual |
◆ getPtr()
| virtual void * TraceHostMem::TraceHostMemRegion::getPtr |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSize()
| virtual std::size_t TraceHostMem::TraceHostMemRegion::getSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ impl
◆ ptr
| void* TraceHostMem::TraceHostMemRegion::ptr |
|
private |
◆ size
| std::size_t TraceHostMem::TraceHostMemRegion::size |
|
private |
The documentation for this struct was generated from the following file:
- /home/runner/work/circt-www/circt-www/circt_src/lib/Dialect/ESI/runtime/cpp/lib/backends/Trace.cpp