This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Add Interpolation kernels Using Benchmark Library
ClosedPublic

Authored by proton on Aug 6 2018, 12:13 PM.

Details

Summary

This patch adds Interpolation kernels in MicroBenchmarks/ImageProcessing directory
It contains the implementation of bicubic and bilinear interpolation (sources mentioned in corresponding kernel files)
Since there was no license mentioned in either of reference, I have not added any license (but still mentioned them in corresponding kernel files).

Runtime: (Using O3 flag)

BenchmarkTimeCPUIterations
BENCHMARK_BICUBIC_INTERPOLATION/1675 us75 us9085
BENCHMARK_BICUBIC_INTERPOLATION/32379 us379 us1877
BENCHMARK_BICUBIC_INTERPOLATION/641654 us1654 us419
BENCHMARK_BICUBIC_INTERPOLATION/1286987 us6988 us97
BENCHMARK_BICUBIC_INTERPOLATION/25628686 us28688 us24
BENCHMARK_BILINEAR_INTERPOLATION/1618 us18 us39513
BENCHMARK_BILINEAR_INTERPOLATION/3274 us74 us9368
BENCHMARK_BILINEAR_INTERPOLATION/64294 us294 us2352
BENCHMARK_BILINEAR_INTERPOLATION/1281191 us1191 us571
BENCHMARK_BILINEAR_INTERPOLATION/2564969 us4969 us127

Runtime with and without Polly is same

Diff Detail

Repository
rL LLVM

Event Timeline

proton created this revision.Aug 6 2018, 12:13 PM
This revision is now accepted and ready to land.Aug 6 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.