def METHOD_NAME(
    self,
    rand_data_gen,
    gpubenchmark,
    dim,
    num_samps,
    axis,
    order,
    mode,
):
    cpu_sig, gpu_sig = rand_data_gen(num_samps, dim)
    output = gpubenchmark(self.gpu_version, gpu_sig, axis, order, mode)
    key = self.cpu_version(cpu_sig, axis, order, mode)
    array_equal(output, key)