[PATCH] D49883: [test-suite] Added Image Processing Kernels Using Benchmark Library: Dilate Kernel

Pankaj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 15:39:34 PDT 2018


proton created this revision.
proton added reviewers: Meinersbur, homerdin, hfinkel, MatzeB.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: bollu.

Added Dilate Kernel to Image processing using benchmark library.

Runtime:

Without Polly
-------------

Benchmark                           Time           CPU Iterations
-----------------------------------------------------------------

BENCHMARK_DILATE/128/128          142 us        142 us       4942
BENCHMARK_DILATE/256/256          568 us        568 us       1064
BENCHMARK_DILATE/512/512         2334 us       2334 us        290
BENCHMARK_DILATE/1024/1024       9745 us       9745 us         72

With Polly
----------

Benchmark                           Time           CPU Iterations
-----------------------------------------------------------------

BENCHMARK_DILATE/128/128           40 us         40 us      13423
BENCHMARK_DILATE/256/256          184 us        184 us       3616
BENCHMARK_DILATE/512/512         1073 us       1073 us        600
BENCHMARK_DILATE/1024/1024       8595 us       8595 us         80

Note: This differential should be applied after https://reviews.llvm.org/D49339 (https://reviews.llvm.org/D49339 contains common function required like readImage, writeImage).


Repository:
  rT test-suite

https://reviews.llvm.org/D49883

Files:
  MicroBenchmarks/ImageProcessing/CMakeLists.txt
  MicroBenchmarks/ImageProcessing/Dilate/CMakeLists.txt
  MicroBenchmarks/ImageProcessing/Dilate/dilate.h
  MicroBenchmarks/ImageProcessing/Dilate/dilate.reference_output
  MicroBenchmarks/ImageProcessing/Dilate/dilateKernel.cpp
  MicroBenchmarks/ImageProcessing/Dilate/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49883.157595.patch
Type: text/x-patch
Size: 6238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180726/2c6915b0/attachment.bin>


More information about the llvm-commits mailing list