Skip to content

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

Merged
steffenlarsen merged 3 commits intointel:syclfrom
ProGTX:peter/gen-cuda-meta
May 26, 2025
Merged

[SYCL][CUDA] Expand search for generated_cuda_meta.h#18436
steffenlarsen merged 3 commits intointel:syclfrom
ProGTX:peter/gen-cuda-meta

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 rafbiels and slawekptak 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

@ProGTX ProGTX temporarily deployed to WindowsCILock May 16, 2025 06:48 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 16, 2025 07:09 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 16, 2025 07:09 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 19, 2025 09:53 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 19, 2025 10:18 — with GitHub Actions Inactive
@ProGTX ProGTX temporarily deployed to WindowsCILock May 19, 2025 10:18 — with GitHub Actions Inactive
@ProGTX
Copy link
Contributor Author

ProGTX commented May 19, 2025

Friendly ping @intel/llvm-reviewers-runtime

@ProGTX
Copy link
Contributor Author

ProGTX commented May 26, 2025

Another ping @intel/llvm-reviewers-runtime , this is blocking our internal CI

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

For future reference, it might be best to not remove the auto-assigned runtime reviewer. 😉

@steffenlarsen steffenlarsen merged commit c63a3bf into intel:sycl May 26, 2025
23 checks passed
@ProGTX ProGTX deleted the peter/gen-cuda-meta branch June 4, 2025 06:49
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.

3 participants