Skip to content

Commit 60f974c

Browse files
committed
GH-47677: [C++][GPU] Allow building with CUDA 13
1 parent 39c865e commit 60f974c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/src/arrow/gpu/cuda_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ class TestCudaBase : public ::testing::Test {
9191

9292
Result<CUcontext> NonPrimaryRawContext() {
9393
CUcontext ctx;
94-
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate(&ctx, /*flags=*/0, device_->handle())));
94+
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate_v4(&ctx, /*ctxCreateParams=*/nullptr,
95+
/*flags=*/0, device_->handle())));
9596
non_primary_contexts_.push_back(ctx);
9697
return ctx;
9798
}

0 commit comments

Comments
 (0)