CUDA wrapper now compiles