yeah, just write a stub/wrapper around it and abstract. it's the classic coupling problem. nothing to do with CUDA