[PATCH] D47675: [test-suite][RFC] Using Google Benchmark Library on Harris Kernel

Pankaj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 2 05:06:49 PDT 2018


proton created this revision.
proton added reviewers: dberris, Meinersbur, homerdin.
Herald added subscribers: llvm-commits, mgorny.

Hi,
I have used google benchmark library on Harris corner detection kernel (from polymage benchmarks). I want to know if the way I have used the google benchmark library here is correct or there can be a better way to do this.

Also, I want to know your comments on using sha1sum (or some library or implementing it manually) with google benchmark library to check for correctness of output. In case sha1sum (or any other checksum method) should not be used then what can I do to check for output when the output do not follow any general pattern and reference output file is large. Google Test can be a good option but I cannot find any kernel in test suite which uses google test.


Repository:
  rT test-suite

https://reviews.llvm.org/D47675

Files:
  MicroBenchmarks/CMakeLists.txt
  MicroBenchmarks/harris/CMakeLists.txt
  MicroBenchmarks/harris/harris.cpp
  MicroBenchmarks/harris/sha1.cpp
  MicroBenchmarks/harris/sha1.hpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47675.149608.patch
Type: text/x-patch
Size: 23676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180602/d8f12e4e/attachment-0001.bin>


More information about the llvm-commits mailing list