Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
CommunicationBuffer.hpp File Reference

Shamrock communication buffers. More...

#include "shambase/exception.hpp"
#include "shambackends/DeviceBuffer.hpp"
#include "shambackends/DeviceContext.hpp"
#include "shambackends/DeviceScheduler.hpp"
#include "shambackends/comm/details/CommunicationBufferImpl.hpp"
#include "shambackends/sycl.hpp"
#include "shambackends/typeAliasVec.hpp"
#include <utility>
+ Include dependency graph for CommunicationBuffer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shamcomm::CommunicationBuffer
 Shamrock communication buffers. More...
 

Namespaces

namespace  shamcomm
 namespace for communication related stuff
 

Functions

void shamcomm::validate_comm (std::shared_ptr< sham::DeviceScheduler > &sched)
 

Detailed Description

Shamrock communication buffers.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)
Todo:
make a better example
u32 nbytes = 1e5;
sycl::buffer<u8> buf_comp = shamalgs::random::mock_buffer<u8>(0x111, nbytes);
sycl::buffer<u8> ret = cbuf.copy_back();
std::uint32_t u32
32 bit unsigned integer
Shamrock communication buffers.
@ CopyToHost
copy data to the host and then perform the call

Definition in file CommunicationBuffer.hpp.