Added *_cuda files which are used when USE_CUDA is enabled. They are not yet compiled with NVCC but CPU emulated.