We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8879ee0 commit 6c5785bCopy full SHA for 6c5785b
mlx/backend/cuda/device.cpp
@@ -87,7 +87,7 @@ CommandEncoder::CaptureContext::CaptureContext(CommandEncoder& enc) : enc(enc) {
87
return;
88
}
89
CHECK_CUDA_ERROR(
90
- cudaStreamBeginCapture(enc.stream(), cudaStreamCaptureModeGlobal));
+ cudaStreamBeginCapture(enc.stream(), cudaStreamCaptureModeThreadLocal));
91
92
93
CommandEncoder::CaptureContext::~CaptureContext() {
0 commit comments