Skip to content

Update OpenCL loader search in CMake - #2356

Open
ndgrigorian wants to merge 1 commit into
masterfrom
update-opencl-loader-search
Open

Update OpenCL loader search in CMake#2356
ndgrigorian wants to merge 1 commit into
masterfrom
update-opencl-loader-search

Conversation

@ndgrigorian

Copy link
Copy Markdown
Collaborator

This PR updates the OpenCL loader search used when building dpctl, as pi_opencl is no longer used, and the open-source compiler is currently not packaging libur_adapter_opencl.so.

By adding OpenCL to the search, a libOpenCL.so installed by ocl-icd can be linked to in place of the UR adapter if it is not found.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

@ndgrigorian
ndgrigorian force-pushed the update-opencl-loader-search branch from 768a6bb to 38b4795 Compare August 6, 2026 20:15
@ndgrigorian
ndgrigorian marked this pull request as ready for review August 6, 2026 20:15
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.

1 participant