message: scripts: improved regression script
diff: @@ -55,7 +55,9 @@ def test(result, filter, features, dataset):
  for arch in cfg.arch:
  # Iterate over the images
  for image_name in image_names:
  - print('Test:', result, arch, image_name)
  + # Iterate over memory usages (tiling)
  + for memory_use in ['himem', 'lomem']:
  + print('Test:', result, arch, image_name, memory_use)
  denoise_cmd = os.path.join(cfg.build_dir, 'denoise')
  ref_filename = os.path.join(cfg.baseline_dir, dataset, '%s_%s.%s.exr' % (image_name, result, main_feature))
  @@ -68,6 +70,11 @@ def test(result, filter, features, dataset):
  feature_filename = os.path.join(dataset_dir, image_name) + '.%s.exr' % feature
  denoise_cmd += ' --%s %s' % (feature, feature_filename)
  + if memory_use == 'himem':
  + denoise_cmd += ' --maxmem 16384'
  + elif memory_use == 'lomem':
  + denoise_cmd += ' --maxmem 256'
  +
  if arch != 'native':
  denoise_cmd = ('sde -%s -- ' % arch) + denoise_cmd
  