Wire-Cell Arrayswire-cell Proposes a new array data type for the Wire-Cell Toolkit modeled on Python array packages such as NumPy and PyTorch, with transparent CPU or GPU execution and no CPU/GPU round trips. It compares LibTorch and ArrayFire as candidates against Eigen with FFTW on an apples-to-apples benchmark of arithmetic, FFT convolution, median and sort. In the benchmark the GPU versions are much faster than the CPU ones, and LibTorch is faster than ArrayFire on the CPU for several tests.wire-cell arrays gpu libtorch arrayfire eigen benchmark fft convolution median