Skip to content

Conversation

@blowekamp
Copy link
Member

Use imported OpenCL targets from CMake

Replace variables with imported target for OpenCL usage.

Use the modern OpenCL::OpenCL imported interface target from
CMake. This dependecy is expressed in the public interface of
ITKGPUCommon, and does not need to be repeated in modules which use
ITKGPUCommon.

PR Checklist

  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)
  • Updated API documentation (or API not changed)
  • Added license to new files (if any)
  • Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
  • Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Replace variables with imported target for OpenCL usage.
Use the modern OpenCL::OpenCL imported interface target from
CMake. This dependecy is expressed in the public interface of
ITKGPUCommon, and does not need to be repeated in modules which use
ITKGPUCommon.
@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Registration Issues affecting the Registration module labels Jan 27, 2026
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

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

Sounds great!

@blowekamp blowekamp marked this pull request as ready for review January 27, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Registration Issues affecting the Registration module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants