Skip to content
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

Trouble compiling the master branch with GPU support #11128

Open
kiran-vj opened this issue Dec 23, 2024 · 0 comments
Open

Trouble compiling the master branch with GPU support #11128

kiran-vj opened this issue Dec 23, 2024 · 0 comments

Comments

@kiran-vj
Copy link

I am trying to compile the master branch with GPU support. But facing some out of scope errors for basic cuda runtime/driver api functions such as :

1. xgboost/src/common/cuda_dr_utils.cc:25:5: error: 'cudaDriverEntryPointQueryResult' was not declared in this scope

2. error: 'cudaDriverEntryPointSuccess' was not declared in this scope; did you mean 'cudaGetDriverEntryPointFlags'

3. error: 'CU_DEVICE_ATTRIBUTE_HOST_NUMA_ID' was not declared in this scope; did you mean 'CU_DEVICE_ATTRIBUTE_PCI_BUS_ID'?

But I am able to compile older versions (release_1.7) properly in the same environment.

CUDA Compiler Information: CUDA compiler identification is NVIDIA 11.7.64
I am also explicitly setting a CMAKE_CUDA_COMPILER in the cmake command to ensure it picks up the right one.

Do I need to upgrade/modify my cuda installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant