alpaka
Abstraction Library for Parallel Kernel Acceleration
MeasureKernelRunTime.hpp File Reference
#include "alpaka/alpaka.hpp"
#include "alpaka/core/DemangleTypeNames.hpp"
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::test
 The test specifics.
 
 alpaka::test::integ
 

Functions

template<typename TCallable >
auto alpaka::test::integ::measureRunTimeMs (TCallable &&callable) -> std::chrono::milliseconds::rep
 Measures and returns the runtime in ms of the passed callable. More...
 
template<typename TQueue , typename TTask >
auto alpaka::test::integ::measureTaskRunTimeMs (TQueue &queue, TTask &&task) -> std::chrono::milliseconds::rep