Closed bashbaug closed 1 year ago
I'd prefer not to reformat this code because it is automatically generated. Let me know how you'd like to handle this. One easy option would be to add /* clang-format off */
to the generated files.
This looks like an awesome addition. My first question would be: would consuming the source code in a snapshot be the best way of the SDK consuming the extension loader? Almost every other component is a Git submodule. I'm uncertain if taking semi-frequent snapshots of the upstream repo is the easiest to maintain.
I don't expect a lot of friction from the code quality perspective. It look top notch, the install definition looks almost as if it always targeted to be consumed by the SDK.
would consuming the source code in a snapshot be the best way of the SDK consuming the extension loader?
Good question. Couple of options:
What do you think?
The OpenCL Extension Loader provides definitions for OpenCL extension APIs which allows them to be called like any other OpenCL API functions. The OpenCL extension loader handles querying OpenCL API functions and managing different sets of OpenCL extension functions for different OpenCL platforms.
Please note that the outbound license for the OpenCL Extension Loader is dual-license Apache 2.0 (consistent with this repo) and MIT.
The files in this PR are taken unchanged from my opencl-extension-loader repo to allow for easy updates and sync'ing in the future.