Skip to content

update cmake files in preparation for header and ICD loader updates #10

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 13, 2021

Conversation

bashbaug
Copy link
Owner

Description of Changes

This updates the extension loader for in-flight changes to the headers and the ICD loader, see:

The main change was to switch to the OpenCL::OpenCL target vs. using OpenCL_INCLUDE_DIRS and OpenCL_LIBRARIES. This requires CMake 3.7, but CMake 3.7 is fairly pervasive by now and most projects have moved well beyond it (e.g. LLVM).

Testing Done

Tested both with and without the upcoming headers changes, via this project and via SimpleOpenCLSamples.

There are updates in flight for the headers and the ICD loader that
require corresponding updates to the extension loader.  This change
still works with older headers and ICD loaders, but will also work
with the updates in flight.
@bashbaug bashbaug force-pushed the prep-for-header-updates branch from 20a5105 to d572ed4 Compare December 11, 2021 22:21
@bashbaug bashbaug merged commit 75ff9df into main Dec 13, 2021
@bashbaug bashbaug deleted the prep-for-header-updates branch May 16, 2022 01: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