         for (unsigned int k = 0; k < 100; k++)
             tweak_data();
     
-        float time = bmark_host_rebinning(true, true);
+        //float time = bmark_host_rebinning(true, true);
+        float time = bmark_simple_sort_rebinning(64, true);
         std::cout << time << " ";
 
         free_data();

    if (!verify())
        {
        printf("Invalid results at end of GPU/simple/sort bmark!\n");
        return;
        }
        
    printf("GPU/simple/sort/%3d : ", block_size);
    printf("%f ms\n", avg_t);
    }



    }

// benchmark the device rebinning
float bmark_simple_sort_rebinning(unsigned int block_size, bool quiet=false)
    {
    // warm up
    rebin_particles_simple_sort(gd_idxlist, gd_bin_size, gd_pos, g_N, g_Lx, g_Ly, g_Lz, g_Mx, g_My, g_Mz, g_Nmax, block_size);
