Skip to content

Commit 00fccbb

Browse files
committed
Use cuCtxCreate
1 parent a8b5668 commit 00fccbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/gpu/cuda_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ class TestCudaBase : public ::testing::Test {
9292
Result<CUcontext> NonPrimaryRawContext() {
9393
CUcontext ctx;
9494
#if CUDA_VERSION >= 13000
95-
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate_v4(&ctx, /*ctxCreateParams=*/nullptr,
96-
/*flags=*/0, device_->handle())));
95+
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate(&ctx, /*ctxCreateParams=*/nullptr,
96+
/*flags=*/0, device_->handle())));
9797
#else
9898
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate(&ctx, /*flags=*/0, device_->handle())));
9999
#endif

0 commit comments

Comments
 (0)