message: Fixed initialization of 3D C2R tests
diff: @@ -1389,6 +1389,8 @@ void normal_3D_complex_interleaved_to_real(std::vector<size_t> length,
  // Set up the data:
  std::fill(cpu_in, cpu_in + isize, 0.0);
  srandom(3);
  + for(size_t ibatch = 0; ibatch < batch; ++ibatch)
  + {
  for(size_t i = 0; i < dims[0].n; i++)
  {
  for(size_t j = 0; j < dims[1].n; j++)
  @@ -1398,7 +1400,10 @@ void normal_3D_complex_interleaved_to_real(std::vector<size_t> length,
  // TODO: make pattern variable
  std::complex<Tfloat> val((Tfloat)rand() / (Tfloat)RAND_MAX,
  (Tfloat)rand() / (Tfloat)RAND_MAX);
  - cpu_in[dims[0].is * i + dims[1].is * j + dims[2].is * k] = val;
  + cpu_in[howmany_dims[0].is * ibatch + dims[0].is * i + dims[1].is * j
  + + dims[2].is * k]
  + = val;
  + }
  }
  }
  }
  