Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mpi_sycl_interop::BufferMpiRequest< T > Struct Template Reference
+ Collaboration diagram for mpi_sycl_interop::BufferMpiRequest< T >:

Public Member Functions

 BufferMpiRequest (std::unique_ptr< sycl::buffer< T > > &sycl_buf, comm_type comm_mode, op_type comm_op, u32 comm_sz)
 
T * get_mpi_ptr ()
 
void finalize ()
 

Public Attributes

MPI_Request mpi_rq
 
comm_type comm_mode
 
op_type comm_op
 
T * comm_ptr
 
u32 comm_sz
 
std::unique_ptr< sycl::buffer< T > > & sycl_buf
 

Static Public Attributes

static constexpr bool is_in_type_list
 

Detailed Description

template<class T>
struct mpi_sycl_interop::BufferMpiRequest< T >

Definition at line 59 of file sycl_mpi_interop.hpp.

Constructor & Destructor Documentation

◆ BufferMpiRequest()

template<class T >
mpi_sycl_interop::BufferMpiRequest< T >::BufferMpiRequest ( std::unique_ptr< sycl::buffer< T > > &  sycl_buf,
comm_type  comm_mode,
op_type  comm_op,
u32  comm_sz 
)

Definition at line 236 of file sycl_mpi_interop.cpp.

Member Function Documentation

◆ finalize()

template<class T >
void mpi_sycl_interop::BufferMpiRequest< T >::finalize ( )

Definition at line 276 of file sycl_mpi_interop.cpp.

◆ get_mpi_ptr()

template<class T >
T * mpi_sycl_interop::BufferMpiRequest< T >::get_mpi_ptr ( )
inline

Definition at line 89 of file sycl_mpi_interop.hpp.

Member Data Documentation

◆ comm_mode

template<class T >
comm_type mpi_sycl_interop::BufferMpiRequest< T >::comm_mode

Definition at line 77 of file sycl_mpi_interop.hpp.

◆ comm_op

template<class T >
op_type mpi_sycl_interop::BufferMpiRequest< T >::comm_op

Definition at line 78 of file sycl_mpi_interop.hpp.

◆ comm_ptr

template<class T >
T* mpi_sycl_interop::BufferMpiRequest< T >::comm_ptr

Definition at line 79 of file sycl_mpi_interop.hpp.

◆ comm_sz

template<class T >
u32 mpi_sycl_interop::BufferMpiRequest< T >::comm_sz

Definition at line 80 of file sycl_mpi_interop.hpp.

◆ is_in_type_list

template<class T >
constexpr bool mpi_sycl_interop::BufferMpiRequest< T >::is_in_type_list
staticconstexpr
Initial value:
=
#define X(args)
std::is_same<T, f32 >::value || std::is_same<T, f32_2 >::value || std::is_same<T, f32_3 >::value || std::is_same<T, f32_4 >::value || std::is_same<T, f32_8 >::value || std::is_same<T, f32_16 >::value || std::is_same<T, f64 >::value || std::is_same<T, f64_2 >::value || std::is_same<T, f64_3 >::value || std::is_same<T, f64_4 >::value || std::is_same<T, f64_8 >::value || std::is_same<T, f64_16 >::value || std::is_same<T, u8 >::value || std::is_same<T, u32 >::value || std::is_same<T, u32_3 >::value || std::is_same<T, u16_3 >::value || std::is_same<T, u64 >::value || std::is_same<T, u64_3 >::value || std::is_same<T, i64_3 >::value || std::is_same<T, i64 >::value || false

Definition at line 61 of file sycl_mpi_interop.hpp.

◆ mpi_rq

template<class T >
MPI_Request mpi_sycl_interop::BufferMpiRequest< T >::mpi_rq

Definition at line 76 of file sycl_mpi_interop.hpp.

◆ sycl_buf

template<class T >
std::unique_ptr<sycl::buffer<T> >& mpi_sycl_interop::BufferMpiRequest< T >::sycl_buf

Definition at line 81 of file sycl_mpi_interop.hpp.


The documentation for this struct was generated from the following files: