pitrou commented on code in PR #48259:
URL: https://github.com/apache/arrow/pull/48259#discussion_r2565111097
##########
cpp/src/arrow/gpu/cuda_test.cc:
##########
@@ -91,7 +91,12 @@ class TestCudaBase : public ::testing::Test {
Result<CUcontext> NonPrimaryRawContext() {
CUcontext ctx;
+#if CUDA_VERSION >= 13000
+ RETURN_NOT_OK(StatusFromCuda(cuCtxCreate_v4(&ctx,
/*ctxCreateParams=*/nullptr,
+ /*flags=*/0,
device_->handle())));
+#else
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate(&ctx, /*flags=*/0,
device_->handle())));
+#endif
Review Comment:
@gmarkall Does this fix look ok?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]