CUDA

Optimizing memory operations for CUDA