I think this should really mostly live in a cuda specific file.