how to select specific nvidia device to run npp library?

Hi,

I have two nvidia devices(quadro M2000) in PC.
How to select nvidia device in which I want to run NPP library in codes?
Now,Npp library is executed only first nvida device.

try using cudaSetDevice()