alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Functions | |
template<typename TCallable > | |
auto | 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 | measureTaskRunTimeMs (TQueue &queue, TTask &&task) -> std::chrono::milliseconds::rep |
auto alpaka::test::integ::measureRunTimeMs | ( | TCallable && | callable | ) | -> std::chrono::milliseconds::rep |
Measures and returns the runtime in ms of the passed callable.
callable | An object with operator(). |
Definition at line 18 of file MeasureKernelRunTime.hpp.
auto alpaka::test::integ::measureTaskRunTimeMs | ( | TQueue & | queue, |
TTask && | task | ||
) | -> std::chrono::milliseconds::rep |
Definition at line 28 of file MeasureKernelRunTime.hpp.