 	SegSortSupport support;
 	MGPU_MEM(byte) mem = AllocSegSortBuffers(count, NV, support, false,
 		context);
-	
+
 	MGPU_MEM(T) destDevice = context.Malloc<T>(count);
 	T* source = data_global;
-	T* dest = destDevice->get(); 
-	
+	T* dest = destDevice->get();
+
 	KernelBlocksort<Tuning, false>
 		<<<numBlocks, launch.x, 0, context.Stream()>>>(source, (const int*)0,
 		count, (1 & numPasses) ? dest : source, (int*)0, comp);


	if(1 & numPasses) std::swap(source, dest);

	SegSortPasses<Tuning, false, false>(support, source, (int*)0, count, 
		numBlocks, numPasses, dest, (int*)0, comp, context, verbose);
} 
template<typename T>
MGPU_HOST void LocalitySortKeys(T* data_global, int count, CudaContext& context,
	bool verbose) {


	SegSortPasses<Tuning, false, true>(support, keysSource, valsSource, count,
		numBlocks, numPasses, keysDest, valsDest, comp, context, verbose);
}
template<typename KeyType, typename ValType>
MGPU_HOST void LocalitySortPairs(KeyType* keys_global, ValType* values_global,
	int count, CudaContext& context, bool verbose) {
