 	int deviceCount;
 	cudaGetDeviceCount(&deviceCount);
 	return deviceCount;
-}+}

}


void gpuProcess(unsigned char* data, uint64_t dataLength, uint32_t pX, uint32_t pY, int GPU)
{
	// MEMCPY to GPU
	unsigned char* deviceData;
	cudaMalloc((void**)&deviceData, sizeof(unsigned char) * dataLength);

void gpuSelector(unsigned char* data, uint64_t len, uint32_t pX, uint32_t pY, int fGPU)
{
	// Get Device. ATM this check if to prevent Driver RST
	//int deviceCount;
	//cudaGetDeviceCount(&deviceCount);
	/*if (fGPU <= deviceCount)
	{
		cudaSetDevice(fGPU);
		std::cout << "Thread is utilizing GPU " << fGPU << std::endl;
