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

#include <cuda_internal.h>

Inheritance diagram for Realm::Cuda::GPUIndirectRemoteChannel:
Collaboration diagram for Realm::Cuda::GPUIndirectRemoteChannel:

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 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 RemoteChannelInfoconstruct_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
 
XferDesFactoryget_factory () override
 
- Protected Member Functions inherited from Realm::Channel
SupportedPathadd_path (span< const Memory > src_mems, span< const Memory > dst_mems, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
 
SupportedPathadd_path (span< const Memory > src_mems, Memory::Kind dst_kind, bool dst_global, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
 
SupportedPathadd_path (Memory::Kind src_kind, bool src_global, span< const Memory > dst_mems, unsigned bandwidth, unsigned latency, unsigned frag_overhead, XferDesKind xd_kind)
 
SupportedPathadd_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)
 
SupportedPathadd_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< ReductionOpIDsupported_redops
 
SimpleXferDesFactory factory_singleton
 
const std::set< Memoryindirect_memories
 
- Protected Attributes inherited from Realm::Channel
std::vector< SupportedPathpaths
 

Constructor & Destructor Documentation

◆ GPUIndirectRemoteChannel()

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

Member Function Documentation

◆ needs_wrapping_iterator()

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

Reimplemented from Realm::Channel.

◆ suggest_ib_memories()

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

Reimplemented from Realm::Channel.

◆ supports_path()

virtual uint64_t Realm::Cuda::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.

Friends And Related Symbol Documentation

◆ GPUIndirectRemoteChannelInfo

friend class GPUIndirectRemoteChannelInfo
friend

The documentation for this class was generated from the following file: