Removed incomplete CUDA function