Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
WillAyd commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-3132830026 It looks like detecting CUDA installed via Python may need the upcoming Meson 1.9 release to build correctly. We could also try to install on the system instead for current Meson versions, although I think waiting for 1.9 is easiest (should be released soonish) -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
github-actions[bot] commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2824335174 Revision: e21c24fbe237c1e6bf123f1e69cf6ce817e57210 Submitted crossbow builds: [ursacomputing/crossbow @ actions-13cedcf855](https://github.com/ursacomputing/crossbow/branches/all?query=actions-13cedcf855) |Task|Status| ||--| |test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14619549159/job/41015712568)| -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
WillAyd commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2824327350 @github-actions crossbow submit *meson -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
github-actions[bot] commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2824198007 Revision: 5b4a4be4ff81439f3a017aae5583dd6303b76b10 Submitted crossbow builds: [ursacomputing/crossbow @ actions-c4ce1f69f0](https://github.com/ursacomputing/crossbow/branches/all?query=actions-c4ce1f69f0) |Task|Status| ||--| |test-conda-cpp-meson|[](https://github.com/ursacomputing/crossbow/actions/runs/14618577668/job/41012478811)| -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
WillAyd commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2824189985 @github-actions crossbow submit *meson -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
kou commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2823355989 We can build `cpp/src/arrow/gpu/` without CUDA-enabled device. For example, our deb packages do it: https://github.com/ursacomputing/crossbow/actions/runs/14590422628/job/40924210051#step:8:8349 ```text -- Installing: /build/apache-arrow-20.0.0.dev326/debian/tmp/usr/lib/x86_64-linux-gnu/libarrow_cuda.so.2000.0.0 ``` FYI: We can use `nvidia-cuda-toolkit` on Debian for it: https://github.com/apache/arrow/blob/a583e6ab100bc8b77190c7be5105d955b12450f1/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile#L85 -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
github-actions[bot] commented on PR #46166: URL: https://github.com/apache/arrow/pull/46166#issuecomment-2809647571 :warning: GitHub issue #46165 **has been automatically assigned in GitHub** to PR creator. -- 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]
Re: [PR] GH-46165: [C++] Add cuda option to Meson configuration [arrow]
WillAyd commented on PR #46166:
URL: https://github.com/apache/arrow/pull/46166#issuecomment-2809649089
I am unable to fully test this locally as I do not have a CUDA-enabled
device. I can configure the project and compile, but at runtime I get errors
like:
```sh
/usr/bin/ld: src/arrow/gpu/libarrow-cuda.so.p/cuda_context.cc.o: in function
`arrow::cuda::CudaDevice::AllocateHostBuffer(long)':
/home/willayd/clones/arrow/cpp/builddir/../src/arrow/gpu/cuda_context.cc:266:(.text+0xa88):
undefined reference to `cuMemHostAlloc'
/usr/bin/ld: src/arrow/gpu/libarrow-cuda.so.p/cuda_context.cc.o: in function
`arrow::cuda::CudaDevice::MakeStream(unsigned
int)::{lambda(void*)#1}::operator()(void*) const':
/home/willayd/clones/arrow/cpp/builddir/../src/arrow/gpu/cuda_context.cc:286:(.text+0xc29):
undefined reference to `cuStreamDestroy_v2'
/usr/bin/ld: src/arrow/gpu/libarrow-cuda.so.p/cuda_context.cc.o: in function
`arrow::cuda::CudaDevice::MakeStream(unsigned int)':
/home/willayd/clones/arrow/cpp/builddir/../src/arrow/gpu/cuda_context.cc:280:(.text+0xf1f):
undefined reference to `cuStreamCreate'
```
I believe those missing symbols are from drivers that I cannot install,
although my familiarity with building CUDA applications is admittedly low
--
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]
