56 const sham::DeviceScheduler_ptr &sched,
57 const sham::DeviceBuffer<T> &buf1,
94 const sham::DeviceScheduler_ptr &sched,
95 const sham::DeviceBuffer<T> &buf1,
132 const sham::DeviceScheduler_ptr &sched,
133 const sham::DeviceBuffer<T> &buf1,
std::uint32_t u32
32 bit unsigned integer
namespace for primitive algorithm (e.g. sort, scan, reductions, ...)
T sum(const sham::DeviceScheduler_ptr &sched, const sham::DeviceBuffer< T > &buf1, u32 start_id, u32 end_id)
Compute the sum of elements in a device buffer within a specified range.
T min(const sham::DeviceScheduler_ptr &sched, const sham::DeviceBuffer< T > &buf1, u32 start_id, u32 end_id)
Find the minimum element in a device buffer within a specified range.
T max(const sham::DeviceScheduler_ptr &sched, const sham::DeviceBuffer< T > &buf1, u32 start_id, u32 end_id)
Find the maximum element in a device buffer within a specified range.