NVIDIA / NVIDIA/CUDALibrarySamples

receiving 700 from every cuda call after nvjpegDecodeJpegDevice

Open
#297 1 comment 0 reactions 1 assignee View on GitHub

@hoang-dt is already working on this.

Since Dec 5, 2025.

nvJPEG
Dominant language
Cuda
Stars
2.5k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

i receive 700 status from every cuda call after getting successful status from nvjpegDecodeJpegDevice method

// Device phase - THIS WRITES TO OUR PRE-ALLOCATED BUFFER
int deviceStatus = nvjpegDecodeJpegDevice(
nvjpegHandle,
decoder,
decoderState,
ref outputImage,
cudaStream);

            if (deviceStatus != 0) // THIS RETURNS 0 WHICH MEANS IT SUCCEEDED
                throw new Exception($"Device decode failed: {deviceStatus}");


            if (cudaStreamSynchronize(cudaStream) != 0) //FAILS WITH ERROR CODE = 700 
                throw new Exception("Failed to synchronize CUDA stream");

Please let me know why am i getting this 700 with every cuda call after successful nvjpegDecodeJpegDevice call and how to fix it
My GPU = NVIDIA GEFORCE 1660 SUPER

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.