getting things running on cuda