arrayfire.timer module

Functions to time arrayfire.

arrayfire.timer.timeit(af_func, *args)[source]

Function to time arrayfire functions.

Parameters
af_funcarrayfire function
*argsarguments to af_func
Returns
tTime in seconds