 
 	// Shrink if this allocation would put us over the limit.
 	Compact(commitSize);
-	 
+
 	cudaError_t error = cudaSuccess;
 	*p = 0;
 	if(size) error = cudaMalloc(p, allocSize);


cudaError_t CudaAllocBuckets::Malloc(size_t size, void** p) {

	// Locate the bucket index and adjust the size of the allocation to the 
	// bucket size.
	size_t allocSize = size;
	size_t commitSize = 0;



int CudaDevice::DeviceCount() {
	if(!deviceGroup.get())
		deviceGroup.reset(new DeviceGroup);
	return deviceGroup->GetDeviceCount();
}
