legate::SumReduction< Half >#

template<>
class SumReduction<Half> : public Legion::SumReduction<Half>, public legate::detail::BaseReduction<Half, ReductionOpKind::ADD>#

Sum reduction specialization for Half.

Public Static Functions

static void fill_redop_desc(
cuda::detail::CUDAModuleManager *manager,
Realm::Cuda::CudaRedOpDesc *desc
)#

Fills a CUDA reduction operator descriptor for this reduction.

This is a private routine and is not generally useful for users.

Parameters:
  • manager – Pointer to the CUDA module manager.

  • desc – Pointer to the CudaRedOpDesc to populate.

Public Static Attributes

static auto identity = value_type{}#

Identity value for the sum reduction (zero-initialized).