Searched refs:num_elements (Results 1 – 1 of 1) sorted by relevance
24 size_t num_elements = state.range(0); in swap_bench() local32 src_elems = new T[num_elements + 1]; in swap_bench()33 dst_elems = new T[num_elements + 1]; in swap_bench()38 src_elems = new T[num_elements]; in swap_bench()39 dst_elems = new T[num_elements]; in swap_bench()45 memset(dst, 0, sizeof(T) * num_elements); in swap_bench()46 memset(src, 0x12, sizeof(T) * num_elements); in swap_bench()49 swap_func(src, dst, num_elements); in swap_bench()