Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cpp/libcudf_streaming/tests/main/ucxx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <rapidsmpf/progress_thread.hpp>
#include <ucxx/listener.h>

#include <cstdlib>
#include <memory>

namespace {
Expand All @@ -29,6 +30,11 @@ class UCXXEnvironment : public Environment {

void SetUp() override
{
// UCX >= 1.22 exports a dmabuf for every newly seen device buffer to detect its memory flags.
// That export intermittently segfaults inside the CUDA driver while other threads allocate
// and free device memory. The tests do not use dmabuf, so disable it unless set by the user.
setenv("UCX_CUDA_COPY_DMABUF", "no", 0);

// Ensure CUDA context is created before UCX is initialized.
RAPIDSMPF_CUDA_TRY(cudaFree(nullptr));

Expand Down
Loading