ComPPare 1.0.0
Loading...
Searching...
No Matches
nvbench.hpp File Reference

This file contains the NVBench plugin for the ComPPare framework. More...

Include dependency graph for nvbench.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  comppare::plugin::nvbenchplugin::NvbenchCallable< F >
 Wrapper for a callable object to be used within NVBench. More...
 
class  comppare::plugin::nvbenchplugin::state
 State class to manage the benchmark state. More...
 
class  comppare::plugin::nvbenchplugin::nvbench_manager
 Manager class for NVBench integration. More...
 
class  comppare::plugin::nvbenchplugin::nvbenchPlugin< InTup, OutTup >
 NVBench plugin for the ComPPare framework. More...
 

Namespaces

namespace  comppare
 ComPPare framework main namespace.
 
namespace  comppare::plugin
 
namespace  comppare::plugin::nvbenchplugin
 

Macros

#define PLUGIN_HOTLOOP_BENCH
 Macro to benchmark a function using NVBench.
 
#define GPU_PLUGIN_HOTLOOP_BENCH   PLUGIN_HOTLOOP_BENCH
 Macro to benchmark a GPU function using NVBench.
 

Detailed Description

This file contains the NVBench plugin for the ComPPare framework.

Author
Leong Fan FUNG (funglf) stanl.nosp@m.eyfu.nosp@m.nglf@.nosp@m.gmai.nosp@m.l.com
Date
2025
See also
LICENSE For full license text.

Macro Definition Documentation

◆ GPU_PLUGIN_HOTLOOP_BENCH

#define GPU_PLUGIN_HOTLOOP_BENCH   PLUGIN_HOTLOOP_BENCH

Macro to benchmark a GPU function using NVBench.

◆ PLUGIN_HOTLOOP_BENCH

#define PLUGIN_HOTLOOP_BENCH
Value:
state_->exec([&](nvbench::launch &launch) { hotloop_body(); });
static nvbench::state * get_state()
Definition nvbench.hpp:99

Macro to benchmark a function using NVBench.