Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval > Struct Template Reference

Public Types

using AccKey = sycl::accessor< Tkey, 1, sycl::access::mode::read_write, sycl::target::device >
 
using AccVal = sycl::accessor< Tval, 1, sycl::access::mode::read_write, sycl::target::device >
 

Public Member Functions

template<>
void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<>
void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<>
void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<>
void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<>
void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<>
void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 
template<>
void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 
template<>
void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 
template<>
void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 
template<>
void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 

Static Public Member Functions

static void _order (Tkey &a, Tkey &b, Tval &va, Tval &vb, bool reverse)
 
static void _orderV (Tkey *x, Tval *vx, u32 a, u32 b, bool reverse)
 
template<u32 stencil_size>
static void order_stencil (Tkey *x, Tval *vx, u32 a, bool reverse)
 
template<u32 stencil_size>
static void order_kernel (AccKey m, AccVal id, u32 inc, u32 length, i32 t)
 

Detailed Description

template<class Tkey, class Tval>
struct shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >

Definition at line 26 of file bitonicSort_updated_xor_swap.cpp.

Member Typedef Documentation

◆ AccKey

template<class Tkey , class Tval >
using shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::AccKey = sycl::accessor<Tkey, 1, sycl::access::mode::read_write, sycl::target::device>

Definition at line 28 of file bitonicSort_updated_xor_swap.cpp.

◆ AccVal

template<class Tkey , class Tval >
using shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::AccVal = sycl::accessor<Tval, 1, sycl::access::mode::read_write, sycl::target::device>

Definition at line 30 of file bitonicSort_updated_xor_swap.cpp.

Member Function Documentation

◆ _order()

template<class Tkey , class Tval >
static void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::_order ( Tkey &  a,
Tkey &  b,
Tval &  va,
Tval &  vb,
bool  reverse 
)
inlinestatic

Definition at line 33 of file bitonicSort_updated_xor_swap.cpp.

◆ _orderV()

template<class Tkey , class Tval >
static void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::_orderV ( Tkey *  x,
Tval *  vx,
u32  a,
u32  b,
bool  reverse 
)
inlinestatic

Definition at line 45 of file bitonicSort_updated_xor_swap.cpp.

◆ order_kernel() [1/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_kernel ( AccKey  m,
AccVal  id,
u32  inc,
u32  length,
i32  t 
)
inline

Definition at line 110 of file bitonicSort_updated_xor_swap.cpp.

◆ order_kernel() [2/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_kernel ( AccKey  m,
AccVal  id,
u32  inc,
u32  length,
i32  t 
)
inline

Definition at line 139 of file bitonicSort_updated_xor_swap.cpp.

◆ order_kernel() [3/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_kernel ( AccKey  m,
AccVal  id,
u32  inc,
u32  length,
i32  t 
)
inline

Definition at line 169 of file bitonicSort_updated_xor_swap.cpp.

◆ order_kernel() [4/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_kernel ( AccKey  m,
AccVal  id,
u32  inc,
u32  length,
i32  t 
)
inline

Definition at line 198 of file bitonicSort_updated_xor_swap.cpp.

◆ order_kernel() [5/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_kernel ( AccKey  m,
AccVal  id,
u32  inc,
u32  length,
i32  t 
)
inline

Definition at line 237 of file bitonicSort_updated_xor_swap.cpp.

◆ order_stencil() [1/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_stencil ( Tkey *  x,
Tval *  vx,
u32  a,
bool  reverse 
)
inline

Definition at line 62 of file bitonicSort_updated_xor_swap.cpp.

◆ order_stencil() [2/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_stencil ( Tkey *  x,
Tval *  vx,
u32  a,
bool  reverse 
)
inline

Definition at line 67 of file bitonicSort_updated_xor_swap.cpp.

◆ order_stencil() [3/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_stencil ( Tkey *  x,
Tval *  vx,
u32  a,
bool  reverse 
)
inline

Definition at line 77 of file bitonicSort_updated_xor_swap.cpp.

◆ order_stencil() [4/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_stencil ( Tkey *  x,
Tval *  vx,
u32  a,
bool  reverse 
)
inline

Definition at line 87 of file bitonicSort_updated_xor_swap.cpp.

◆ order_stencil() [5/5]

template<class Tkey , class Tval >
template<>
void shamalgs::algorithm::details::OrderingPrimitiveXorSwap< Tkey, Tval >::order_stencil ( Tkey *  x,
Tval *  vx,
u32  a,
bool  reverse 
)
inline

Definition at line 97 of file bitonicSort_updated_xor_swap.cpp.


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