 //#define __B40C_ERROR_CHECKING__
 
 bool g_verbose;
+int g_max_ctas = 0;
 
 
 /******************************************************************************

    dbg_perror_exit("TimedSort:: cudaMalloc device_storage.d_keys[0] failed: ", __FILE__, __LINE__);

	// Create sorting enactor
	EarlyExitLsbSortEnactor<K> sorting_enactor;

	// Perform a single sorting iteration to allocate memory, prime code caches, etc.
	cudaMemcpy(


    args.GetCmdLineArgumenti("i", iterations);
    args.GetCmdLineArgumenti("n", num_elements);
    args.GetCmdLineArgumenti("max-ctas", g_max_ctas);
    keys_only = args.CheckCmdLineFlag("keys-only");
	g_verbose = args.CheckCmdLineFlag("v");

