Skip to content

Fix compilation when using without-gda#11615

Open
ofirfarjun7 wants to merge 8 commits into
openucx:masterfrom
ofirfarjun7:topic/without-gdaki-issue
Open

Fix compilation when using without-gda#11615
ofirfarjun7 wants to merge 8 commits into
openucx:masterfrom
ofirfarjun7:topic/without-gdaki-issue

Conversation

@ofirfarjun7

Copy link
Copy Markdown
Contributor

What?

Fix for #11591

tvegas1
tvegas1 previously approved these changes Jul 2, 2026
Comment thread src/uct/api/device/uct_device_impl.h Outdated
Comment on lines +15 to +16
#if defined(HAVE_CONFIG_H) && defined(HAVE_CUDA) && \
__has_include(<uct/cuda/cuda_ipc/cuda_ipc.cuh>)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if it will work with 3rd party code.
These defines are set inside UCX build infrastructure. However, the 3rd party code that includes UCX headers will miss the defines.
I think the issue might be fixed using the same directive (__has_include) in gdaki.cuh.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we basing on presence of cuda_ipc.cuh assume that build/package checked all dependencies?

@ofirfarjun7 ofirfarjun7 requested a review from rakhmets July 6, 2026 11:52
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

Successfully merging this pull request may close these issues.

4 participants