add some cuda runtime wrappers