Skip to content

[SYCL][CUDA] Expand search for generated_cuda_meta.h #18436

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

ProGTX
Copy link
Contributor

@ProGTX ProGTX commented May 13, 2025

On some systems CUDA_Toolkit_ROOT might be emtpy,
even though CUDA is properly found in the CMake.
This can cause a failed search for generated_cuda_meta.h.
In that case only a warning is emitted when building cuda_trace_collector,
but this can fail the -Werror build.
This patch ensures that if we can find CUPTI, we can find this file.

On some systems `CUDA_Toolkit_ROOT` might be emtpy,
even though CUDA is properly found in the CMake.
This can cause a failed search for `generated_cuda_meta.h`.
In that case only a warning is emitted
when building `cuda_trace_collector`,
but this can fail the `-Werror` build.
This patch ensures that if we can find `CUPTI`,
we can find this file.
@ProGTX ProGTX requested a review from a team as a code owner May 13, 2025 10:02
@ProGTX ProGTX requested review from slawekptak and rafbiels and removed request for slawekptak May 13, 2025 10:02
@ProGTX ProGTX temporarily deployed to WindowsCILock May 13, 2025 10:02 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 13, 2025 10:35 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 13, 2025 10:35 — with GitHub Actions Inactive
@ProGTX
Copy link
Contributor Author

ProGTX commented May 13, 2025

CI failures are known: #18416

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

Successfully merging this pull request may close these issues.

2 participants