41 shambase::VecComponent<T>
dot_sum(sham::DeviceBuffer<T> &buf1,
u32 start_id,
u32 end_id);
45 inline shambase::VecComponent<T>
dot_sum(sham::DeviceBuffer<T> &buf1) {
std::uint32_t u32
32 bit unsigned integer
size_t get_size() const
Gets the number of elements in the buffer.
namespace for primitive algorithm (e.g. sort, scan, reductions, ...)
shambase::VecComponent< T > dot_sum(sham::DeviceBuffer< T > &buf1, u32 start_id, u32 end_id)
Compute the sum of dot products of elements in a device buffer with themselves.