Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
append_subset_to.cpp File Reference
Include dependency graph for append_subset_to.cpp:

Go to the source code of this file.

Namespaces

namespace  shamalgs
 namespace to contain everything implemented by shamalgs
namespace  shamalgs::primitives
 namespace for primitive algorithm (e.g. sort, scan, reductions, ...)

Macros

#define XMAC_LIST_ENABLED_FIELD

Functions

template<class T>
void shamalgs::primitives::append_subset_to (const sham::DeviceBuffer< T > &buf, const sham::DeviceBuffer< u32 > &idxs_buf, u32 nvar, sham::DeviceBuffer< T > &buf_other, u32 start_enque)
 Appends a subset of elements from one buffer to another.

Detailed Description

Macro Definition Documentation

◆ XMAC_LIST_ENABLED_FIELD

#define XMAC_LIST_ENABLED_FIELD
Value:
X(f32) \
X(f32_2) \
X(f32_3) \
X(f32_4) \
X(f32_8) \
X(f32_16) \
X(f64) \
X(f64_2) \
X(f64_3) \
X(f64_4) \
X(f64_8) \
X(f64_16) \
X(u32) \
X(u64) \
X(u32_3) \
X(u64_3) \
X(i64_3) \
X(i64)
double f64
Alias for double.
float f32
Alias for float.
std::uint32_t u32
32 bit unsigned integer
std::uint64_t u64
64 bit unsigned integer
std::int64_t i64
64 bit integer
#define X
Temp definition for the X macro call to define the log levels.
Definition logs.hpp:132

Definition at line 22 of file append_subset_to.cpp.