 	float sched_cpu, sched_gpu;
 };
 
-SpeedInfo SpeedCompareTest(int w, LocalizeModeEnum locMode=LT_QI)
+SpeedInfo SpeedCompareTest(int w, LocalizeModeEnum locMode, bool haveZLUT)
 {
 	int cudaBatchSize = 1024;
 	int count = 20000;

	count = 100;
	cudaBatchSize = 32;
#endif
	bool haveZLUT = false;
	LocMode_t locType = (LocMode_t)( locMode|LT_NormalizeProfile );

	QTrkComputedConfig cfg;


	SpeedInfo info;
	QueuedCPUTracker *cputrk = new QueuedCPUTracker(cfg);
	info.speed_cpu = SpeedTest(cfg, cputrk, count, haveZLUT, locType, &info.sched_cpu, false);
	delete cputrk;

	QueuedCUDATracker *cudatrk = new QueuedCUDATracker(cfg, cudaBatchSize);
	info.speed_gpu = SpeedTest(cfg, cudatrk, count, haveZLUT, locType, &info.sched_gpu, false);
	//info.speed_gpu = SpeedTest(cfg, cudatrk, count, haveZLUT, locType, &info.sched_gpu);
	std::string report = cudatrk->GetProfileReport();
	delete cudatrk;
