Is the npp lib only for host ?

Can I use the npp lib in the device function ?

Thank you!

No, you cannot.