# FindCUDAToolkit doesn't support CUPTI API

**URL:** https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582
**Category:** Development
**Created:** [February 5, 2020, 4:37pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582 "2020-02-05T16:37:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bytesoftly](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/dfb087/32.png) [@bytesoftly](https://discourse.cmake.org/u/bytesoftly)
#### Post date: [February 5, 2020, 4:37pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582/1 "2020-02-05T16:37:49Z")

</div>

I am just switching over from the deprecated `FindCUDA` to `FindCUDAToolkit` as recommended, however I notice the CUPTI API library, `libcupti` has been omitted from the script, whilst others such as `cuFFT` are present. Would it be possible to support the CUPTI API, if not, what should I do instead, stick with FindCUDA or roll something myself?

Thanks very much!

James

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [February 5, 2020, 4:59pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582/2 "2020-02-05T16:59:38Z")

</div>

Cc: @robert.maynard

@bytesoftly this may be an oversight. Please report this as a [CMake Issue](https://gitlab.kitware.com/cmake/cmake/issues).

---

<div class="post-metadata">

### Author: ![bytesoftly](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/dfb087/32.png) [@bytesoftly](https://discourse.cmake.org/u/bytesoftly)
#### Post date: [February 5, 2020, 5:16pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582/3 "2020-02-05T17:16:32Z")

</div>

@brad.king thanks for your quick reply, I’ve created a CMake issue as requested: [https://gitlab.kitware.com/cmake/cmake/issues/20318](https://gitlab.kitware.com/cmake/cmake/issues/20318). @robert.maynard has worked on the script, his feedback would be appreciated.

---

<div class="post-metadata">

### Author: ![bytesoftly](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/dfb087/32.png) [@bytesoftly](https://discourse.cmake.org/u/bytesoftly)
#### Post date: [February 7, 2020, 2:05pm UTC](https://discourse.cmake.org/t/findcudatoolkit-doesnt-support-cupti-api/582/4 "2020-02-07T14:05:29Z")

</div>

Just to confirm @robert.maynard has fixed this and I’m using it successfully, thanks!
