legate::ProdReduction< Half >#

template<>
class ProdReduction<Half> : public Legion::ProdReduction<Half>, public legate::detail::BaseReduction<Half, ReductionOpKind::MUL>#

Multiply 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 const auto identity = value_type{1.F}#

Identity value for the reduction.