Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
append_subset_to.cpp File Reference
#include "shambase/narrowing.hpp"
#include "shambackends/DeviceBuffer.hpp"
#include "shambackends/kernel_call.hpp"
+ 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

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r) –no git blame–
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file append_subset_to.cpp.

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

Definition at line 22 of file append_subset_to.cpp.