Profiling a library that uses cuda

Hello,

I 've made changes in a library that is compiled and linked under nvcc and uses CUDA underneath. At this point I want to do a profiling of this library. Can I do this? If yes, how?

Thank you in advance