Polytonic / Chlorine

Dead Simple OpenCL

Home Page:http://polytonic.github.io/Chlorine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Print Build and Profiling Information

Polytonic opened this issue · comments

The current stream operator overload implementation just outputs a test string. It should print useful information. For instance, changing this to print the kernel build log. Another option is to output profiling data from various events.

// Overload Stream Operator << to Print Build Information
std::ostream& operator<<(std::ostream& os, const Worker & w)
{
    os << "Hello World" << std::endl;
    return os;
}

Added in 8540804