nvjpegEncoderParamsSetRestartInterval() doesn't exist

nvjpegEncoderParamsSetRestartInterval() is a function available in the nvJPEG documentation. However, it doesn’t seem to exist when actually using the library.

I see 3 options:

  • The function exists and is documented for a non-public version of nvJPEG (enterprise cusomers?)
  • The function exists and is documented, but is not exposed in the library
  • The function doesn’t exist (or maybe existed in the past and was removed) but the documentation still reports it

In any case this should warrant an explanation, or a fix.

Do you have installed, and are you using the latest version of the CUDA toolkit?

That particular function requires a newer CUDA toolkit. For example it did not exist in CUDA toolkit 12.8. It appears to require CUDA toolkit 12.9 or newer.