-
Notifications
You must be signed in to change notification settings - Fork 62
Description
There are machine-learning frameworks that help people to tune/optimize OpenCL kernels, e.g. see https://github.com/CNugteren/CLTune
For some background info, see: http://www.cedricnugteren.nl/downloads/handouts2016a.pdf
And specifically: http://arxiv.org/pdf/1506.00842v1.pdf
The question is whether oclgrind could be used to gather additional kernel specific information by looking at runtime information for a kernel, e.g. the dataflow between invocations for different data sets and use that for machine-learning purposes.
Specifically, this would look at the type/size of a variable and monitor its lifetime/scope and the way it is mutated - to do that, one would need a way to "capture" oclgrind state and serialize that, so that it can be used for ML.
The ML algorithm could then have much more, and much better, information for tuning a kernel, because it would know more about the runtime behavior of the kernel.