Implementing Open Source Cuda Runtime Api