MCPcopy Create free account
hub / github.com/apache/arrow / AddBasicAggKernels

Function AddBasicAggKernels

cpp/src/arrow/compute/kernels/aggregate_basic.cc:845–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843} // namespace
844
845void AddBasicAggKernels(KernelInit init,
846 const std::vector<std::shared_ptr<DataType>>& types,
847 std::shared_ptr<DataType> out_ty, ScalarAggregateFunction* func,
848 SimdLevel::type simd_level) {
849 for (const auto& ty : types) {
850 // array[InT] -> scalar[OutT]
851 auto sig = KernelSignature::Make({ty->id()}, out_ty);
852 AddAggKernel(std::move(sig), init, func, simd_level);
853 }
854}
855
856namespace {
857

Callers 6

AddSumAvx2AggKernelsFunction · 0.85
AddMeanAvx2AggKernelsFunction · 0.85
AddSumAvx512AggKernelsFunction · 0.85
AddMeanAvx512AggKernelsFunction · 0.85
AddArrayScalarAggKernelsFunction · 0.85

Calls 3

AddAggKernelFunction · 0.85
MakeFunction · 0.50
idMethod · 0.45

Tested by

no test coverage detected