Fixed CUDA warnings