-
Notifications
You must be signed in to change notification settings - Fork 3.7k
GH-46165: [C++] Add cuda option to Meson configuration #46166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
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 link time I get errors like: /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 |
We can build
FYI: We can use
|
@github-actions crossbow submit *meson |
Revision: 5b4a4be Submitted crossbow builds: ursacomputing/crossbow @ actions-c4ce1f69f0
|
@github-actions crossbow submit *meson |
Revision: e21c24f Submitted crossbow builds: ursacomputing/crossbow @ actions-13cedcf855
|
Rationale for this change
This continues building out support for Meson as a build system gnerator
What changes are included in this PR?
Adds a cuda option that pulls in the gpu directory
Are these changes tested?
No
Are there any user-facing changes?
No