Loading...
cudaErrorStreamCaptureUnsupported (900)cudaErrorStreamCaptureUnsupported occurs when attempting graph capture with operations that don't support it.
CUDA error: stream capture unsupported cudaErrorStreamCaptureUnsupported
Graphs require async calls.
cudaStreamBeginCapture(stream, cudaStreamCaptureModeGlobal);
// Only async operations!
cudaMemcpyAsync(...);
kernel<<<...>>>;
// NOT cudaDeviceSynchronize();
cudaStreamEndCapture(stream, &graph);Not all APIs support capture.
// Supported: cudaMemcpyAsync, kernel launches, cudaEventRecord
// NOT supported: cudaDeviceSynchronize, cudaMemcpy (blocking)Sync calls break capture.
cudaStreamBeginCapture(stream);
cudaDeviceSynchronize(); // Not supported!Async only.
cudaStreamBeginCapture(stream);
cudaMemcpyAsync(...);
kernel<<<...>>>;
cudaStreamEndCapture(stream, &graph);Recording a sequence of GPU operations to replay efficiently, reducing launch overhead.
Need help debugging CUDA errors? Download RightNow AI for intelligent error analysis and optimization suggestions.