Some changes to cuda_config.hpp