Does npp library thread safe?

Hi,

When I use nppiResizeSqrPixel_8u_C3R to resize my image. It got different result, if it thread safe? and what is different between nppiResizeSqrPixel_8u_C3R_Ctx and nppiResizeSqrPixel_8u_C3R ?

Thanks.

Hi,

All NPP functions should be thread safe except for the following functions:

  • nppiDCTQuantFwd8x8LS_JPEG_8u16s_C1R
  • nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R

_Ctx is for Application Managed Stream Context.
You can check this document for more detail:
https://docs.nvidia.com/cuda/export/npp/index.html#application_managed_stream_context

Thanks.