# Runtime API? Driver API?

**URL:** <https://forums.developer.nvidia.com/t/runtime-api-driver-api/3619>\
**Category:** CUDA Programming and Performance\
**Created:** [May 7, 2008, 5:09am UTC](https://forums.developer.nvidia.com/t/runtime-api-driver-api/3619 "2008-05-07T05:09:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sesias](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sesias](https://forums.developer.nvidia.com/u/sesias)\
**Post date:** [May 7, 2008, 5:09am UTC](https://forums.developer.nvidia.com/t/runtime-api-driver-api/3619/1 "2008-05-07T05:09:23Z")

</div>

Hi~  
I am studying CUDA with CUDA Programming Guide.

I understand that there are two kinds of APIs in CUDA (i.e. Runtime API and Driver API) and I noticed that, although different names in each API, many functions perform similar (if not same) tasks.

My question isâ€¦

1. â€œWhat are the MAIN difference between Runtime API and Driver API?â€
2. â€œWhich API should I (as a novice) take a careful look at for the programming?â€

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jlehtone](https://forums.developer.nvidia.com/u/jlehtone)\
**Post date:** [May 7, 2008, 6:08am UTC](https://forums.developer.nvidia.com/t/runtime-api-driver-api/3619/2 "2008-05-07T06:08:47Z")

</div>

I think this question was asked previously [here](http://forums.nvidia.com/index.php?showtopic=65097).

If you call Runtime, Runtime calls Driver. But Runtime works partially  
even without driver and hardware present. Thus, you can check during runtime  
whether you can use CUDA, rather than crashing on lack of driver library.  
So, you can emulate.

Runtime has more “syntactic sugar”. Higher level. Driver is closer to metal. :)

I would start with Runtime. (Oh wait, I am novice and I did.)

---

<div class="post-metadata">

**Author:** ![sesias](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sesias](https://forums.developer.nvidia.com/u/sesias)\
**Post date:** [May 7, 2008, 7:05am UTC](https://forums.developer.nvidia.com/t/runtime-api-driver-api/3619/3 "2008-05-07T07:05:48Z")

</div>

Thank you so much!
