Changes to CUDA loading