jianxind commented on a change in pull request #7607: URL: https://github.com/apache/arrow/pull/7607#discussion_r452564982
########## File path: cpp/src/arrow/compute/registry.cc ########## @@ -115,6 +116,19 @@ static std::unique_ptr<FunctionRegistry> CreateBuiltInRegistry() { RegisterVectorNested(registry.get()); RegisterVectorSort(registry.get()); + // SIMD functions + auto cpu_info = arrow::internal::CpuInfo::GetInstance(); +#if defined(ARROW_HAVE_RUNTIME_AVX2) + if (cpu_info->IsSupported(arrow::internal::CpuInfo::AVX2)) { + RegisterScalarAggregateSumAvx2(registry.get()); Review comment: https://issues.apache.org/jira/browse/ARROW-9398 created to track the SIMD dispatch under function instance ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org