Shamrock communication buffers.
More...
#include <shambackends/include/shambackends/comm/CommunicationBuffer.hpp>
Shamrock communication buffers.
- Todo
- try reducing compile time by type erasing impl
Definition at line 42 of file CommunicationBuffer.hpp.
◆ CommunicationBuffer() [1/3]
| shamcomm::CommunicationBuffer::CommunicationBuffer |
( |
u64 | bytelen, |
|
|
sham::DeviceScheduler_ptr | dev_sched ) |
|
inline |
◆ CommunicationBuffer() [2/3]
| shamcomm::CommunicationBuffer::CommunicationBuffer |
( |
sham::DeviceBuffer< u8 > && | bytebuf, |
|
|
sham::DeviceScheduler_ptr | dev_sched ) |
|
inline |
◆ CommunicationBuffer() [3/3]
| shamcomm::CommunicationBuffer::CommunicationBuffer |
( |
const sham::DeviceBuffer< u8 > & | bytebuf, |
|
|
sham::DeviceScheduler_ptr | dev_sched ) |
|
inline |
◆ convert_usm()
◆ duplicate()
| CommunicationBuffer shamcomm::CommunicationBuffer::duplicate |
( |
| ) |
|
|
inline |
duplicate the comm buffer and return a unique ptr to the copy
- Returns
- CommBuffer
Definition at line 125 of file CommunicationBuffer.hpp.
◆ duplicate_to_ptr()
| std::unique_ptr< CommunicationBuffer > shamcomm::CommunicationBuffer::duplicate_to_ptr |
( |
| ) |
|
|
inline |
duplicate the comm buffer and return a unique ptr to the copy
- Returns
- CommBuffer
Definition at line 141 of file CommunicationBuffer.hpp.
◆ get_ptr()
| u8 * shamcomm::CommunicationBuffer::get_ptr |
( |
| ) |
|
|
inline |
◆ get_size()
| u64 shamcomm::CommunicationBuffer::get_size |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: