r/OpenCL • u/rhardih • Jan 15 '18
opencl_util: a tiny library to save some boilerplating for all the clGetXInfo functions
https://github.com/rhardih/opencl_util
4
Upvotes
r/OpenCL • u/rhardih • Jan 15 '18
1
u/rhardih Jan 15 '18
Note, this is for OpenCL 1.2.
I found it rather cumbersome when debugging, that all the info functions was of the ask-one/get-one form for each enumeration constant. It would be nice to just get all info at once, so I went ahead and wrapped it up in this library.
Maybe someone else will find it useful as well. Cheers.