MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / fn

Function fn

examples/benchmarks/fft.cpp:19–22  ·  view source on GitHub ↗

populated before each timing

Source from the content-addressed store, hash-verified

17// create a small wrapper to benchmark
18static array A; // populated before each timing
19static void fn() {
20 array B = fft2(A); // 2d fft
21 B.eval(); // ensure evaluated
22}
23
24int main(int argc, char** argv) {
25 try {

Callers 1

timeitFunction · 0.50

Calls 2

fft2Function · 0.85
evalMethod · 0.45

Tested by

no test coverage detected