Brice Videau

Results 68 comments of Brice Videau

> Cool! This looks like a mix between the previous Static Lib with Dynamic Loader and ICD Loader Header File proposals. Having working code to play around with and demonstrate...

I think maintaining coherency through the project is important. We could change the way the loader names it's pointers types from pfn_* to *_fn, and change these in the header...

I was trying some clang-format configurations that could be used as an additional pass after generation, and found some settings that might work. I attached the configuration file. [clang-format.txt](https://github.com/KhronosGroup/OpenCL-Headers/files/6408454/clang-format.txt)

@bashbaug I see here that you generate function declarations for all extension functions (unless I am mistaken), and not only for those that are exported by the loader (I realize...

> I haven't quite finished this in a general sense, but the libusm library I use in my USM samples shows one of the ways that the extension headers can...

> @Kerilk, if you're curious, I have a POC extension loader library that makes use of the function declarations here: > > * https://github.com/bashbaug/opencl-extension-loader I took a good look, and...

To elaborate a bit, we use it to save blobs of memory that we can easily cast back to structured types.

Because I can't get a pointer back to the data, as far as I can tell, without iterating over all the elements of the array and making an additional copy....

Sorry for the lengthy response. ### General Remarks I think your proposed solution is the best one. I can still use the modified ctf plugin in the meantime. Adopting the...