|
| std::vector< std::string > | shamalgs::primitives::impl::get_default_impl_list_reduction () |
| | Get list of available reduction implementations, as config json strings.
|
| std::string | shamalgs::primitives::impl::get_current_impl_reduction () |
| | Get the current implementation for reduction, as a config json string.
|
| bool | shamalgs::primitives::impl::is_impl_set_reduction () |
| | Check if an implementation has been selected for reduction.
|
| void | shamalgs::primitives::impl::set_impl_reduction (const std::string &impl) |
| | Set the implementation for reduction, from a config json string.
|
| void | shamalgs::primitives::impl::autoselect_impl_reduction (const sham::DeviceScheduler_ptr &dev_sched) |
| | Select the default implementation for reduction.
|
| template<class T> |
| T | shamalgs::primitives::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.
|
| template<class T> |
| T | shamalgs::primitives::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.
|
| template<class T> |
| T | shamalgs::primitives::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.
|