gmarkall commented on code in PR #48259:
URL: https://github.com/apache/arrow/pull/48259#discussion_r2565285518
##########
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,
Review Comment:
I'm not sure `cuCtxCreate_v4` is designated as a public API. For CUDA 13,
`cuCtxCreate` is `#define`d as `cuCtxCreate_v4`, so I think I'd be inclined to
write this as:
```suggestion
RETURN_NOT_OK(StatusFromCuda(cuCtxCreate(&ctx,
/*ctxCreateParams=*/nullptr,
```
--
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]