demonstrates the use of google benchmark on extermely simple benchmarks.
git clone --recursive https://github.com/alichnewsky/benchmarks
includes Google Benchmark and Google Test third party dependencies as submodules.
cd /where/you/cloned; mkdir build ; cd build && cmake ../ && make -j $(nproc)
- OpenMP STREAM benchmark was obtained from NERSC
- Download original code here
- Copyright is to Joh McCalpin
- original code can be found here including the license.
cmake/benchmark.cmake
andcmake/gtest.cmake
are adaptations based on gRPC cmake files. As such, they are licensed under Apache v2 license.src/memcpy/test/test_basic.cc
is from Google Benchmark library, and is therefore also licensed under Apache v2 license. See said project AUTHORS and CONTRIBUTORS files for copyright holders.src/memcpy/memcpy_{avx,sse,sse41}.c
are NVIDIA code from the gdrcopy project. As such, they are licensed under MIT license
All other files are mine, including a particularly uninspiring CBLas SGEMM, various plots, etc. All of them are released under Apache 2 license. Copyright, Anthony Lichnewsky, all rights reserved. (probably since 2015).