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

Function MinMaxInitAvx2

cpp/src/arrow/compute/kernels/aggregate_basic_avx2.cc:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81namespace {
82
83Result<std::unique_ptr<KernelState>> MinMaxInitAvx2(KernelContext* ctx,
84 const KernelInitArgs& args) {
85 ARROW_ASSIGN_OR_RAISE(TypeHolder out_type,
86 args.kernel->signature->out_type().Resolve(ctx, args.inputs));
87 MinMaxInitState<SimdLevel::AVX2> visitor(
88 ctx, *args.inputs[0], out_type.GetSharedPtr(),
89 static_cast<const ScalarAggregateOptions&>(*args.options));
90 return visitor.Create();
91}
92
93} // namespace
94

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.45

Tested by

no test coverage detected