Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::Hip::GPUIndirectRemoteChannel Class Reference
module nullptr

#include <hip_internal.h>

Inheritance diagram for Realm::Hip::GPUIndirectRemoteChannel:
[legend]
Collaboration diagram for Realm::Hip::GPUIndirectRemoteChannel:
[legend]

Public Member Functions

 GPUIndirectRemoteChannel (uintptr_t _remote_ptr, const std::vector< Memory > &_indirect_memories)
virtual Memory suggest_ib_memories () const
virtual bool needs_wrapping_iterator () const
virtual uint64_t supports_path (ChannelCopyInfo channel_copy_info, CustomSerdezID src_serdez_id, CustomSerdezID dst_serdez_id, ReductionOpID redop_id, size_t total_bytes, const std::vector< size_t > *src_frags, const std::vector< size_t > *dst_frags, XferDesKind *kind_ret, unsigned *bw_ret, unsigned *lat_ret)
Public Member Functions inherited from Realm::RemoteChannel
uintptr_t get_remote_ptr () const
void register_redop (ReductionOpID redop_id)
bool supports_redop (ReductionOpID redop_id) const override
long submit (Request **requests, long nr) override
void pull () override
long available () override
uint64_t supports_path (ChannelCopyInfo channel_copy_info, CustomSerdezID src_serdez_id, CustomSerdezID dst_serdez_id, ReductionOpID redop_id, size_t total_bytes, const std::vector< size_t > *src_frags, const std::vector< size_t > *dst_frags, XferDesKind *kind_ret=0, unsigned *bw_ret=0, unsigned *lat_ret=0) override
bool supports_indirection_memory (Memory mem) const override
 Queries if a given mem can be used as an indirection buffer.
void enqueue_ready_xd (XferDes *xd) override
void wakeup_xd (XferDes *xd) override
Public Member Functions inherited from Realm::Channel
 Channel (XferDesKind _kind)
virtual ~Channel ()
virtual bool support_idindexed_fields (Memory src_mem, Memory dst_mem) const
virtual long progress_xd (XferDes *xd, long max_nr)
const std::vector< SupportedPath > & get_paths (void) const
void update_channel_state (void)
virtual Memory suggest_ib_memories_for_node (NodeID node) const
virtual RemoteChannelInfo * construct_remote_info () const
void print (std::ostream &os) const

Friends

class GPUIndirectRemoteChannelInfo

Additional Inherited Members

Public Attributes inherited from Realm::Channel
NodeID node
XferDesKind kind
bool has_redop_path {false}
bool has_non_redop_path {false}
Protected Member Functions inherited from Realm::RemoteChannel
 RemoteChannel (uintptr_t _remote_ptr, const std::vector< Memory > &indirect_memories)
 RemoteChannel (uintptr_t _remote_ptr)
void shutdown () override
XferDesFactory * get_factory () override
Protected Member Functions inherited from Realm::Channel
SupportedPath & add_path (span< const Memory > src_mems, span< const Memory > dst_mems, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
SupportedPath & add_path (span< const Memory > src_mems, Memory::Kind dst_kind, bool dst_global, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
SupportedPath & add_path (Memory::Kind src_kind, bool src_global, span< const Memory > dst_mems, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
SupportedPath & add_path (Memory::Kind src_kind, bool src_global, Memory::Kind dst_kind, bool dst_global, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
SupportedPath & add_path (bool local_loopback, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
Protected Attributes inherited from Realm::RemoteChannel
RWLock mutex
uintptr_t remote_ptr
std::unordered_set< ReductionOpID > supported_redops
SimpleXferDesFactory factory_singleton
const std::set< Memory > indirect_memories
Protected Attributes inherited from Realm::Channel
std::vector< SupportedPath > paths

Constructor & Destructor Documentation

◆ GPUIndirectRemoteChannel()

Realm::Hip::GPUIndirectRemoteChannel::GPUIndirectRemoteChannel ( uintptr_t _remote_ptr,
const std::vector< Memory > & _indirect_memories )

Member Function Documentation

◆ needs_wrapping_iterator()

virtual bool Realm::Hip::GPUIndirectRemoteChannel::needs_wrapping_iterator ( ) const
virtual

Reimplemented from Realm::Channel.

◆ suggest_ib_memories()

virtual Memory Realm::Hip::GPUIndirectRemoteChannel::suggest_ib_memories ( ) const
virtual

Reimplemented from Realm::Channel.

◆ supports_path()

virtual uint64_t Realm::Hip::GPUIndirectRemoteChannel::supports_path ( ChannelCopyInfo channel_copy_info,
CustomSerdezID src_serdez_id,
CustomSerdezID dst_serdez_id,
ReductionOpID redop_id,
size_t total_bytes,
const std::vector< size_t > * src_frags,
const std::vector< size_t > * dst_frags,
XferDesKind * kind_ret,
unsigned * bw_ret,
unsigned * lat_ret )
virtual

Reimplemented from Realm::Channel.

◆ GPUIndirectRemoteChannelInfo

friend class GPUIndirectRemoteChannelInfo
friend

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/hip/hip_internal.h