Skip to content

Looking at Oclgrind internals [ML] ? #109

@UniqueFool

Description

@UniqueFool

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions