need a better way to test CUDA