Skip to content

Conversation

@frasercrmck
Copy link
Contributor

This commit continues the work from #146840 and extends it to the maths, geomtrics, common, and relational directories.

All headers have include guards and, where appropriate, include the minimal code required for their specific definitions. Implementation files no longer include the large catch-all header of all OpenCL builtin declarations.

This commit continues the work from llvm#146840 and extends it to the
maths, geomtrics, common, and relational directories.

All headers have include guards and, where appropriate, include the
minimal code required for their specific definitions. Implementation
files no longer include the large catch-all header of all OpenCL builtin
declarations.
@frasercrmck frasercrmck requested a review from wenju-he July 7, 2025 10:55
@frasercrmck frasercrmck added the libclc libclc OpenCL library label Jul 7, 2025
Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

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

LGTM

@frasercrmck frasercrmck merged commit b67504c into llvm:main Jul 8, 2025
11 checks passed
@frasercrmck frasercrmck deleted the libclc-opencl-base-rest branch July 8, 2025 08:04
frasercrmck added a commit to frasercrmck/llvm-project that referenced this pull request Jul 8, 2025
This commit finishes the work started in llvm#146840 and llvm#147276. It makes
each OpenCL header self-contained and each implementation file include
only the header it needs. It removes the need for a catch-all include
file of all OpenCL builtin declarations.
frasercrmck added a commit that referenced this pull request Jul 8, 2025
This commit finishes the work started in #146840 and #147276. It makes
each OpenCL header self-contained and each implementation file include
only the headers it needs. It removes the need for a catch-all include
file of all OpenCL builtin declarations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libclc libclc OpenCL library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants