FindCUDAToolkit doesn't support CUPTI API

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!


Cc: @robert.maynard

@bytesoftly this may be an oversight. Please report this as a CMake Issue.

@brad.king thanks for your quick reply, I’ve created a CMake issue as requested: @robert.maynard has worked on the script, his feedback would be appreciated.

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