7 BENCHMARK(
"LutKernel sequential",
"[kernel]", Benchmark::Context& context) {
9 while (context.running()) {
10 for (
Float r = 0.f; r < kernel.radius(); r += 1.e-4_f) {
18 BENCHMARK(
"LutKernel random",
"[kernel]", Benchmark::Context& context) {
21 while (context.running()) {
22 for (
Size i = 0; i < 1e4; ++i) {
uint32_t Size
Integral type used to index arrays (by default).
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
BENCHMARK("LutKernel sequential", "[kernel]", Benchmark::Context &context)
Random number generators.
INLINE T && doNotOptimize(T &&value)
INLINE void clobberMemory()
Cubic spline (M4) kernel.