Skip to content

Commit

Permalink
apacheGH-15200: [C++] Created benchmarks for round kernels. (apache#1…
Browse files Browse the repository at this point in the history
…5201)

The four existing kernel functions Ceil, Floor, Round, and Trunc gain benchmarks with this change.
* Closes: apache#15200

Lead-authored-by: David Sisson <EpsilonPrime@users.noreply.github.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
  • Loading branch information
EpsilonPrime and wjones127 committed Jan 10, 2023
1 parent fac1f48 commit e8e977b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/kernels/scalar_round_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void Trunc(benchmark::State& state) {
DECLARE_ROUND_BENCHMARKS_WITH_ROUNDMODE(OP, UInt16Type); \
DECLARE_ROUND_BENCHMARKS_WITH_ROUNDMODE(OP, UInt8Type); \
DECLARE_ROUND_BENCHMARKS_WITH_ROUNDMODE(OP, FloatType); \
DECLARE_ROUND_BENCHMARKS_WITH_ROUNDMODE(OP, DoubleType)
DECLARE_ROUND_BENCHMARKS_WITH_ROUNDMODE(OP, DoubleType);

DECLARE_ROUND_BENCHMARKS(Ceil);
DECLARE_ROUND_BENCHMARKS(Floor);
Expand Down

0 comments on commit e8e977b

Please sign in to comment.