Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
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 29 of file bitonicSort_updated_xor_swap.cpp.

Member Function Documentation

◆ _order()

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

Definition at line 31 of file bitonicSort_updated_xor_swap.cpp.

◆ _orderV()

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

Definition at line 43 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 235 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 196 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 167 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 137 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 108 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 95 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 85 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 75 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 65 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 60 of file bitonicSort_updated_xor_swap.cpp.


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